carbidecpp20devenv/plugins/org.eclipse.emf.source_2.4.1.v200808251517/src/org.eclipse.emf.importer.ecore_2.4.0.v200808251517/examples/library/build/codeGen.bat
equal
deleted
inserted
replaced
|
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 Ecore2GenModel application |
|
11 %ECLIPSE_DIR%\eclipsec -noSplash -clean -data %WORKSPACE% -application org.eclipse.emf.importer.ecore.Ecore2GenModel %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 http:///library.ecore 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 |