Wrapping of Windows executable.
Status: Beta
Brought to you by:
yohannmartineau
Attached, an Ant build file that wraps Peers in a Windows executable using Launch4j.
Instead of issueing the java command/script, one can now just double-click the executable (after configuration).
Additionally, the executable will search for an appropriate installed jre prio to running the application.
Steps to build:
- Download/Install Launch4j
- copy 'buildL4jWindows.xml' to top-level peers trunk.
- copy 'logo2.ico' into the 'resources' directory.
- run (with Ant) the 'distL4j' target of the new build file.
When all goes well, one should now have a 'peers.zip' in the 'build' directory that includes a 'peers.exe' i.s.o. a 'peers.jar'.
Double-clicking this will start peers.
Please add to sources when useful.
Hope this helps,
Tom.
wrapper buildfile
The windows icon file.