Menu

#5 Wrapping of Windows executable.

open
nobody
None
5
2012-12-06
2010-09-24
uiltje
No

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.

Discussion

  • uiltje

    uiltje - 2010-09-24

    wrapper buildfile

     
  • uiltje

    uiltje - 2010-09-24

    The windows icon file.

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.