@ECHO OFF ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : : FILE : sqlgenerator : DATE : 10.11.2004 : AUTHOR : Patrick Meier / patrick.meier@gmx.net : DESCRIPTION : starts the sql generator : ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : general settings ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: SET CLASSSEP=; SET ROOTPATH=..\.. :: PARSE PARAMETER LIST SET PARAMETER=%1 SHIFT :ReadParameter IF "%1"=="" GOTO EndReadParameter SET PARAMETER=%PARAMETER% %1 SHIFT GOTO ReadParameter :EndReadParameter SET LIB=%ROOTPATH%/lib SET JPTOOLS_CONF=%ROOTPATH%/conf SET JPTOOLS_CLASSES=%ROOTPATH%/classes;%ROOTPATH%/classes-optional SET JPTOOLS_LIBPATH=%ROOTPATH%/dist SET JPTOOLS_JAR=%JPTOOLS_LIBPATH%/jptools.jar;%JPTOOLS_LIBPATH%/jptools-optional.jar;%LIB%/jptools-media.jar;%LIBS%/looks-1.2.2.jar SET DBLIBS=%LIB%/db/oracle/oracle817-classes12.zip;%LIB%/db/mysql/mysql-connector-java-3.0.12-production-bin.jar;%LIB%/db/hsqldb/hsqldb.jar SET CLASSPATH=.;%JPTOOLS_CLASSES%;%JPTOOLS_CONF%;%JPTOOLS_JAR%;%DBLIBS% SET JAVA=java SET STARTER=jptools.util.application.GenericApplicationStarter ::SET VERBOSE=-verbose :: application settings SET TYPE=-type jptools.database.generator.ProcessorGenerator ::SET LOGGER=-Djptools.properties=../../bin/genericapplicaion-jptools.properties -DProcessorGenerator.checkIndexAccess=false SET LOGGER=-Djptools.properties=../../bin/genericapplicaion-jptools.properties SET CONFIG=-c ../conf/jptools-formatter.properties ::SET PCONFIG=-pc ../conf/jptools-formatter.properties SET DBCONFIG=-d %ROOTPATH%/conf/testdata/private/databasetest.properties SET INPUTFILE=-i SQLExample.sql SET OUTPUT=. ::SET MAIN_METHOD=-m SET OUTPUT_PATH=-o %OUTPUT% SET TESTCASES=-t %OUTPUT%/test.conf SET PARAMETER=%OUTPUT_PATH% %CONFIG% %PCONFIG% %TESTCASES% %VERBOSE% %INPUTFILE% %DBCONFIG% %MAIN_METHOD% %PARAMETER% :: starts the application %JAVA% %LOGGER% %RESOURCE% %STARTER% %TYPE% %PARAMETER% :end ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: : EOF :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::