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
changeset 1 82d1d1de1a01
equal deleted inserted replaced
-1:000000000000 1:82d1d1de1a01
       
     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 XSD2GenModel application
       
    11 %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
       
    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