[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.modeling.m2m] Re: [ATL]Launching ATL programmatically problem

Code is :

public class Test {
	public static void main(String args[]){
		String temp[]=new String[10];
		temp[0]="--trans";
		temp[1]="file:///D:/runtime-EclipseApplication/Sample2/Book2Product.asm";
		temp[2]="--in";
		temp[3]="IN=file:///D:/runtime-EclipseApplication/Sample2/models/book.xml";
		temp[4]="Book=file:///D:/runtime-EclipseApplication/Sample2/metamodels/book.ecore";
		temp[5]="EMF";
		temp[6]="--out";
		temp[7]="OUT=file:///D:/runtime-EclipseApplication/Sample2/models/ss.xml";
		temp[8]="Product=file:///D:/runtime-EclipseApplication/Sample2/metamodels/product.ecore";
		temp[9]="EMF";
		
		Main main=new Main();
		main.main(temp);
	}