Requirements:
Installation:
Download and install Java 1.6, and configure so it is in your Path variable. Don't know yet how it works with Unix/Mac. Basically, you need to be able to start java.
If you want to use Mail processor, extract the Java Mail library somewhere.
Download DirExe*.zip and extract somewhere.
Create an apropriate batch file:
java -jar direxe.jar - if you don't use Java Mail or any other library
java -cp direxe.jar;\<mail.jar> smolasoftware.direxe.Main - if you use Java Mail. Be carefull about the classpath separator character which is OS dependant.
You can use the JVM parameter direxe.config.path (-D switch) to specify a different location of the direxe.properties file.
If you want to use it as a service, with help of Java Service Wrapper from Tanuki software, these configuration properties you must use:
wrapper.working.dir=\<install-dir>/DirExe
wrapper.max_failed_invocations=1
wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperSimpleApp
wrapper.java.classpath.1=%WRAPPER_BIN_DIR%/../lib/wrapper.jar
wrapper.java.classpath.2=\<install-dir>/direxe.jar
wrapper.java.additional.1=-Ddirexe.config.path=\<install-dir>/direxe.properties
wrapper.app.parameter.1=smolasoftware.direxe.Main
wrapper.name=direxewrapper
wrapper.console.title=DirExe
wrapper.displayname=DirExe Service Wrapper
You can as well use the supplied configuration file from the DirExe.zip archive.
DirExe usees the simple "integration method 1". Please, consult Tanuki examples and the documentation for details on how to setup the wrapper.