@ECHO OFF
::
:: A batch file to run the static examples.
::
set OLDCLASSPATH=%CLASSPATH%
set CLASSPATH=.;..\bforeport.jar;%CLASSPATH%

javac SampleApplication.java

@ECHO Running SampleApplication
java SampleApplication samples\HelloWorld.xml samples\HelloWorld-chinese.xml samples\HelloWorld-japanese.xml samples\HelloWorld-hindi.xml samples\Colors.xml samples\FormFill.xml samples\Giro.xml samples\Graphs.xml samples\Lists.xml samples\MetaData.xml samples\NestedTables.xml samples\PDFUserGuide.xml samples\userguide.xml samples\VectorGraphics.xml samples\HelloWorld-arabic.xml samples\pdfa-rgb.xml samples\pdfa-cmyk.xml

:: To build the servlet we need the javax.servlet classes.
::
:: set CLASSPATH=%CLASSPATH%;C:\progra~1\apache\tomcat\lib\servlet.jar
::
:: javac SampleServlet.java

set CLASSPATH=%OLDCLASSPATH%
set OLDCLASSPATH=
