I've been looking at the existing windows launcher using JSmooth and see
one problem with it. With JSmooth you have to explicitly state the full
list of jar files in the lib and the batik directory. Therefore if we
change library versions or add new libraries we would need to update the
.jsmooth file and recreate the exe file.
I had a look at http://launch4j.sourceforge.net/ and it supports wild
cards for the class path and have created the attached configuration to
create the exe file.
What do people think about using launch4j instead?
Paul
<launch4jConfig>
<dontWrapJar>true</dontWrapJar>
<headerType>gui</headerType>
<jar></jar>
<outfile>openjump.exe</outfile>
<errTitle></errTitle>
<cmdLine>-properties bin/workbench-properties.xml -plug-in-directory lib/ext</cmdLine>
<chdir>..</chdir>
<priority>normal</priority>
<downloadUrl>http://java.com/download</downloadUrl>
<supportUrl></supportUrl>
<customProcName>true</customProcName>
<stayAlive>false</stayAlive>
<icon>C:\Documents and Settings\paustin\My Documents\workspace\openjump\installer\OpenJump.ico</icon>
<classPath>
<mainClass>com.vividsolutions.jump.workbench.JUMPWorkbench</mainClass>
<cp>./lib/*.jar</cp>
<cp>./lib/batik/*.jar</cp>
<cp>./build/*.jar</cp>
</classPath>
<jre>
<path></path>
<minVersion>1.5.0</minVersion>
<maxVersion></maxVersion>
<dontUsePrivateJres>false</dontUsePrivateJres>
<initialHeapSize>256</initialHeapSize>
<maxHeapSize>256</maxHeapSize>
<opt>-Djava.library.path=lib/ext</opt>
<opt>-Dlog4j.configuration=file:bin/log4j.xml</opt>
</jre>
</launch4jConfig>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel