@set CONFIG_HOME=..
@set PROVA_HOME=..
@set PROVA_LIBS=%PROVA_HOME%/lib
@set JORAM_LIBS=%PROVA_LIBS%/joram
@set JADE_LIBS=%PROVA_LIBS%/jade

:: Building the Classpath
@set CLASSPATH=%CLASSPATH%;kawa.jar
@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/mandarax.jar
@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/mmmysql.jar
@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/commons-collections-2.1.jar
@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/commons-lang-2.0.jar
::@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/jdom.jar
::@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/mail.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/activation.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/jms.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/joram.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/mom.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/jta.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/jndi.jar
::@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/xerces.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/JCup.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/jakarta-regexp-1.2.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/log4j.jar
@set CLASSPATH=%CLASSPATH%;%JORAM_LIBS%/ow_monolog.jar
::@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/msbase.jar
::@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/mssqlserver.jar
::@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/msutil.jar
@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/biojava.jar
::@set CLASSPATH=%CLASSPATH%;%JADE_LIBS%/base64.jar
::@set CLASSPATH=%CLASSPATH%;%JADE_LIBS%/jade.jar
::@set CLASSPATH=%CLASSPATH%;%JADE_LIBS%/jadetools.jar
::@set CLASSPATH=%CLASSPATH%;%JADE_LIBS%/http.jar
::@set CLASSPATH=%CLASSPATH%;%JADE_LIBS%/iiop.jar
::@set CLASSPATH=%CLASSPATH%;%JADE_LIBS%/crimson.jar
@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/xercesImpl.jar
@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/xml-apis.jar
::@set CLASSPATH=%CLASSPATH%;%PROVA_LIBS%/jadeRT.jar

@java -Xms512m -Xmx512m -XX:NewSize=256m -XX:MaxNewSize=256m ws.prova.reagent prova password %1 %2 %3 %4 %5
