carbidecpp20devenv/plugins/org.eclipse.emf.source_2.4.1.v200808251517/src/org.eclipse.emf.importer.java_2.4.1.v200808251517/examples/library/build/codeGen.bat
author Matt Salmo <matt.salmo@nokia.com>
Wed, 09 Sep 2009 10:28:21 -0500
changeset 12 ead02e4e4806
parent 0 20e4ed35fd3f
permissions -rw-r--r--
write .branch.txt to make the new head

rem You need to set the ECLIPSE_DIR variable below.  It should point to your eclipse directory.
set ECLIPSE_DIR=z

rem The GenModel IPath (it has to be a workspace absolute path, in which the project is a valid Java Project)
set GENMODEL_IPATH=/myjavaproject/model/library.genmodel

rem The location of the model project
set MODEL_PROJECT=c:\lib

set GENMODEL_LOCATION=%MODEL_PROJECT%\model\library.genmodel

rem The workspace directory
set WORKSPACE=%MAIN_DIR%\..\codegenWorkspace

rem Java2GenModel application
%ECLIPSE_DIR%\eclipsec -noSplash -clean -data %WORKSPACE% -application org.eclipse.emf.importer.ecore.Java2GenModel %GENMODEL_IPATH% -modelProject %MODEL_PROJECT% src -modelPluginID library.model -copyright "This is my code." -jdkLevel "5.0" 

rem Generator application
%ECLIPSE_DIR%\eclipsec -noSplash -clean -data %WORKSPACE% -application org.eclipse.emf.codegen.ecore.Generator -model %GENMODEL_LOCATION%