1
|
1 |
rem You need to set the ECLIPSE_DIR variable below. It should point to your eclipse directory.
|
|
2 |
set ECLIPSE_DIR=z
|
|
3 |
|
|
4 |
rem Model project
|
|
5 |
set MAIN_DIR=..
|
|
6 |
|
|
7 |
rem The directory indicated by the -modelProject argument should be neither a parent nor a child directory of the workspace.
|
|
8 |
set WORKSPACE=%MAIN_DIR%\..\codegenWorkspace
|
|
9 |
|
|
10 |
rem Rose2GenModel application
|
|
11 |
%ECLIPSE_DIR%\eclipsec -noSplash -clean -data %WORKSPACE% -application org.eclipse.emf.importer.rose.Rose2GenModel %MAIN_DIR%\model\library.mdl %MAIN_DIR%\emf\library.genmodel -modelProject %MAIN_DIR% src -modelPluginID library.model -copyright "This is my code." -jdkLevel "5.0" -noQualify -package library library library.xmi org.examples Library
|
|
12 |
|
|
13 |
rem Generator application
|
|
14 |
%ECLIPSE_DIR%\eclipsec -noSplash -clean -data %WORKSPACE% -application org.eclipse.emf.codegen.ecore.Generator -model %MAIN_DIR%\emf\library.genmodel |