[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.modeling.m2m] Re: [ATL]Launching ATL programmatically problem
|
- From: xxcs214@xxxxxxx (Shan)
- Date: Mon, 5 Mar 2007 15:02:24 +0000 (UTC)
- Newsgroups: eclipse.modeling.m2m
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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);
}