I haven’t touched this in a while and still need to add support for adding native DLLs and such, but here is the current version:
http://captiveimagination.com/wsc/wsc.jnlp
How many people would be interested in using this? If there’s any interest at all then I’ll update it to support everything necessary for jME game deployments. I was also thinking of creating an Ant task that could be added to builds to generate the WebStart from the config file after it is created.
darkfrog said:
I haven't touched this in a while and still need to add support for adding native DLLs and such, but here is the current version:
http://captiveimagination.com/wsc/wsc.jnlp
How many people would be interested in using this? If there's any interest at all then I'll update it to support everything necessary for jME game deployments. I was also thinking of creating an Ant task that could be added to builds to generate the WebStart from the config file after it is created.
I like the idea of the ant task. I've just been using the JNLP from the demos as templates for my own. Are there things that they don't do that people would need?
ehubbard said:
darkfrog said:
I haven't touched this in a while and still need to add support for adding native DLLs and such, but here is the current version:
http://captiveimagination.com/wsc/wsc.jnlp
How many people would be interested in using this? If there's any interest at all then I'll update it to support everything necessary for jME game deployments. I was also thinking of creating an Ant task that could be added to builds to generate the WebStart from the config file after it is created.
I like the idea of the ant task. I've just been using the JNLP from the demos as templates for my own. Are there things that they don't do that people would need?
I should run it before I ask to many questions..:) don't have WS on this linux box I'm on today so I'll run it from home.
Looks like very interesting!
This could be very usefull to show some stuff (like the projected grid water from MrCode ;))
Is there somewhere the source code is available? Or a binary version for offline purpose?
ps: yes, i'm new here
You should be able to run that WebStart in offline mode so you can just run it once and then you can run it offline as well.
I will hopefully get around to updating this soon and will post the source code if people are interested.
Omg… :oops:
Next time i'lltry the right-clic "Save as…" button before saying something…
I finally got around to updating this to support native jars as well. I haven't done much testing on it, but if anyone uses it and has any problems with it please let me know. I started work on the ANT task but it's going to have to wait a little while since it's going to require some modifications to my code structure. Please let me know if you are using this so I can determine the validity of my continued work on it.
keep up the good work. what about providing an ant task?
darkfrog said:
I started work on the ANT task but it's going to have to wait a little while since it's going to require some modifications to my code structure.
Were you wanting a more detailed explanation than this? :o
oops, quick read and just a reply to if your code will be usable. I just believe that an task is much more usable than anything graphical.
The graphical aspect is necessary to set it up in the first place…perhaps instead of an ant task perhaps it should generate a target for you that you can copy and paste into your build.xml? That would be easier for me and probably better for you so you don't have to include a jar into your build.xml.
Thoughts?
cool
Okay, went ahead and added the functionality really quickly. All it does is generate the XML for an Ant target in a popup that you have to copy and paste into your code. I tested it for the deployment of WSC, so it seems to be working.
Since the JARs should be generated at the time this target is called I don't mess with that, and the JNLP should only need to be generated once (and if you need to change it you should use the graphical system or do it manually), so the only thing this does is sign the jars for you. It's a nice little helper though since it references all the required jars and all the keystore info and everything for you so you don't have to manually type all that in.
Very nice. Can you allow multiple selection of additional jars in user interface?
You mean in the file chooser select more than one file? I had considered that, but then it complicates the process of choosing the operating system for the JAR. I guess it can get somewhat complicated when you have a ton of JARs to add. I'll try to get around to it sometime soon.
Nice, I have been wondering how to create jnlp archives for some time now, but I never seem to find the will to start learning… I know how to create a Jar, and sign it, and for now that has been enough, but this could really help a lot of people (me included) out there.
Thanks,
(Oh, and count me up for wishing further development)
What further development do you want?
I'm probably going to turn it into a web-based application written in jSeamless if I touch it again. :o
Well, if it is not a lot to ask
- File filters in the JFileChooser to know which type of file should be selected or created. (For example on the Key Store, Output path and Save).
- Using default 'mykey' from keytool (the one used normally to sign jar's).
- A help button or dialog would be excellent.
An also, I have some doubts: first, is the output supposed to be an xml file? (jnlp is an xml file, I assume), should it have the jeypass and storepass in the clear?; a probably really st00pid question, but what is the difference between keystore and a regular key? I typically sign my jars with jarsigner, and thus, I only use the key alias 'mykey' for virtually everything, and thus I only use/need one password. The program, on the other hand, asks for two. :?
Oh, and also I think multi-jar selection would be good, but I know that is not something necessary. :roll:
Nice program! 8)
When you run it, it should create a JNLP file and sign all the JARs for you in the output directory you specified. The program was hacked together rather quickly and I haven't touched it in quite a while so I take no offense that it needs work.
When you use the keytool to generate a keystore it asks for all the things referenced there but generally I think most people put them both the same.