any interest in adding native application launchers - I created one for MacOS and Windows for the JSPWiki project.
Thanks, but I have a few questions:
1. What do you mean by "native application launchers"? How are they used?
2. This item is in the Feature Requests tracker - and you say that you created one for JSPWiki. What you created - can it be used by jEdit users? Maybe it should be placed in the Patches tracker rather than Feature Requests?
+) I put the message into the feature request tracker because it is a feature I miss
+) the native application launcher would be a MacOS X icon you can click or an jedit.exe instead of jedit.sh/jedit.bat
+) btw - I updated the jedit.bat to used a minimized window (if you are interested in) - this avoids the annoying flickering ...
+) a discussion of my approach can be found here : http://markmail.org/message/sceiaujartfqxogo
+) I'm a JEdit user (Mac, Windows) and this is one of the few things I could contribute ... :-)
Thanks, this makes it clearer: The meaning is not to have a generic application launcher to launch native applications from inside jEdit, but rather to launch jEdit using a native executable file instead of using the Java run-time launcher.
I think a native launcher for Windows has been created a while ago by Ollie Rutherfurd, but I do not know its status. Anyway, a native launcher can be helpful, because it makes it much easier to separate jEdit processes from other Java processes in the Task Manager. I am interested in it.
Where is the one you created for MacOS and Windows? Can you attach it here, or add a link? Or maybe post it as a patch.
We already have a native launcher that bundles jedit as it's supposed to on MacOS. If you press CMD+ALT+ESC you'll see that jEdit appears nicely like any other application.
But with windows... I don't know :-) Just remember that want Java to share the memory across applications and we don't really want to bundle an entire JRE with the app.
I have used jedit.exe created by launch4j for some months.
It works well as expected. I think it will be good to bundle it with
the windows installer.
thanks for your feedback ....
+) regarding MacOS X - 'scarlac' is absolutely right since this IS a native application (got confused with all the multi-platform development I'm doing)
+) regarding Windows - launch4j would be my choice since I'm not too happy with the batch file. 'launch4j' allows to use an existing JRE (including enfording the JDK version). So there is no need to ship with a JRE
As I recall there is already a native .exe file on windows which you can associate programs to. Last time I tried it you could also control the launcher settings. Is it still there?
Okay, I have a first cut generating an exe-wrapper for jedit.jar but have problems getting "xsltproc" to run. And without that the windows installer fails. Slashing through the build.xml I got the exe-wrapper integrated into "dist-java" which should fine for a rookie ... :-)
How to test it
+) install launch4j from sourceforge
+) update your build.properties to add "launch4j.dir" pointing to your local launch4j installation
+) apply the launch4j.patch
+) run "ant dist-java"
+) after the jedit installation there should be a snall jedit.exe
My windows box has a problem to generate a patch for build.properties.sample (insisting this is a binary file) ...
# Launch4j installation (see http://launch4j.sourceforge.net/\)
# is needed for creating a windows exe-wrapper
File Added: launch4j.patch
Thank you for the patch. The ant target works fine for me.
I'm now planning to bundle a jedit.exe in Windows installer. Please let
us know if you made any further progress on this.
Implemented in r17663 (patch #2984552): Windows installer now bundles
jedit.exe generated by Launch4j.