carbidecpp20devenv/plugins/org.eclipse.xsd.source_2.4.1.v200808251517/src/org.eclipse.xsd.ecore.importer_2.4.0.v200808251517/examples/library/build/codeGenFromXSD.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 Model project
set MAIN_DIR=..

rem The directory indicated by the -modelProject argument should be neither a parent nor a child directory of the workspace.
set WORKSPACE=%MAIN_DIR%\..\codegenWorkspace

rem XSD2GenModel application
%ECLIPSE_DIR%\eclipsec -noSplash -clean -data %WORKSPACE% -application org.eclipse.xsd.ecore.importer.XSD2GenModel %MAIN_DIR%\model\library.xsd %MAIN_DIR%\emf\library.genmodel -modelProject %MAIN_DIR% src -copyright "This is my code." -jdkLevel "5.0" -packages http://www.example.eclipse.org/Library -packageMap http://www.example.eclipse.org/Library org.examples.library

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