jzcmd %0
exit /B

==JZcmd== 
REM The compilation script for the BillofMaterial example sources.
REM This is a simple example for compilation of Java sources with JZcmd.
REM To study the ZbnfJavaOutput and preparation of parsed data in Java use an Integrated Development Environment such as Eclipse.

include $ZBNFJAX_HOME/zmake/javac.jzcmd;

currdir = scriptdir;  REM base for relative paths of this script.
               
REM define all files which are necessary to compile:               
Fileset src = (org/vishia/zbnf/example/billOfMaterial/*.java);

Map cc;  ##compileCondition

REM A temporary path for class files before they are zipped to a jar archive.
String cc.TMP_JAVAC=<:><&$TMP>/tmp_javac<.>;

REM Manifest-file, relativ path from currdir:
String cc.MANIFEST_JAVAC="billOfMaterial.manifest";


REM Sets the CLASSPATH variable for compilation (used jar-libraries). 
String cc.CLASSPATH_JAVAC="../../../../zbnfjax/zbnf.jar";


main()
{
  zmake ../../billOfMaterial.jar := javacjar( ..:&src, cc=cc);
}
