Webstart Plugin
Hi, I'm working since one week with the webstart plugin. Thats realy great. I'm using the jnlp-download-servlet goal. But I have problems with the update feature of webstart. If I deploy a new status of version 1.0.0-SNAPSHOT of my app for example then the application isn't up to date after a restart. I assume the problem is the version tag in the generated jnlp file jar href=lib/commons-lang.jar version=2.4/. I assume I need something like this jar href=lib/commons-lang-2.4.jar/. So I look in the api and see a flag named outputJarVersion. But this works only for the given artifact and not for it's copied transitive dependencies. See below ... excludeTransitivefalse/excludeTransitive jarResources jarResource groupIdfoo/groupId artifactIdbar/artifactId version${version-project}/version mainClassfoo.bar.Main/mainClass outputJarVersionfalse/outputJarVersion /jarResource /jarResources /jnlpFile /jnlpFiles So my result is jar href=lib/bar-3.0.0-SNAPSHOT.jar main=true/ jar href=lib/something.jar version=3.0.0-SNAPSHOT/ Bu I want to have jar href=lib/bar-3.0.0-SNAPSHOT.jar main=true/ jar href=lib/something-3.0.0-SNAPSHOT.jar/ Thanks -- View this message in context: http://maven.40175.n5.nabble.com/Webstart-Plugin-tp5584918p5584918.html Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Webstart Plugin
On Thu, 22 Mar 2012 00:23:37 -0700 (PDT) suikast42 s_vur...@hotmail.com wrote: Hi, I'm working since one week with the webstart plugin. Thats realy great. Could you please remail it to the correct ml : d...@mojo.codehaus.org The w-m-p is from codehaus not maven :) I will try to help you (but on the other list). Thanks, tony. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Webstart Plugin
Tony Chemit wrote I will try to help you (but on the other list). Sorry I'm not so familar with this kind of ml. When you tel me a little bit mor how I should make this then I'll do that. -- View this message in context: http://maven.40175.n5.nabble.com/Webstart-Plugin-tp5584918p5586853.html Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: Webstart Plugin
On Thu, 22 Mar 2012 08:27:10 -0700 (PDT) suikast42 s_vur...@hotmail.com wrote: Tony Chemit wrote I will try to help you (but on the other list). Sorry I'm not so familar with this kind of ml. When you tel me a little bit mor how I should make this then I'll do that. No problem :) Just subscribe to the codehaus-dev ml, see at this page: http://xircles.codehaus.org/projects/mojo/lists and then post your original mail to this ml at d...@mojo.codehaus.org Is that ok for you ? See you soon at the haus. -- View this message in context: http://maven.40175.n5.nabble.com/Webstart-Plugin-tp5584918p5586853.html Sent from the Maven Developers mailing list archive at Nabble.com. - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org -- Tony Chemit tél: +33 (0) 2 40 50 29 28 email: che...@codelutin.com http://www.codelutin.com - To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org
Re: signing jar and webstart plugin
It was already there: http://jira.codehaus.org/browse/MJAR-31 Note that my solutions are hacks as I don't have an idea of the overall design or program flow. Brett Porter wrote: Can you please submit these to jira? There are already some there (MJAR), so please check for existing ones first. Geoffrey De Smet wrote: For networktools.sf.net I used the webstart plugin, which uses the jar plugin to sign jars. I 've had a bunch of problems, most of wrong configuration on my part, but some I believe lay in the jar plugin. In the end I changed these few lines in the jar plugin to get it working, even if it's a quick dirty hack: 1) Nullpointer on org.apache.maven.plugin.jar.JarSignMojo, line 217 addArgIfNotEmpty( arguments, -keypass, this.keypass ); +if (this.signedjar != null) { addArgIfNotEmpty( arguments, -signedjar, this.signedjar.getPath() ); +} addArgIfNotEmpty( arguments, -storetype, this.type ); 2) Nullpointer on org.apache.maven.plugin.jar.JarSignMojo, line 282 +if (project.getArtifact() != null) { project.getArtifact().setFile( signedjar ); +} Maybe this helps other people having the same issues. -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
signing jar and webstart plugin
For networktools.sf.net I used the webstart plugin, which uses the jar plugin to sign jars. I 've had a bunch of problems, most of wrong configuration on my part, but some I believe lay in the jar plugin. In the end I changed these few lines in the jar plugin to get it working, even if it's a quick dirty hack: 1) Nullpointer on org.apache.maven.plugin.jar.JarSignMojo, line 217 addArgIfNotEmpty( arguments, -keypass, this.keypass ); +if (this.signedjar != null) { addArgIfNotEmpty( arguments, -signedjar, this.signedjar.getPath() ); +} addArgIfNotEmpty( arguments, -storetype, this.type ); 2) Nullpointer on org.apache.maven.plugin.jar.JarSignMojo, line 282 +if (project.getArtifact() != null) { project.getArtifact().setFile( signedjar ); +} Maybe this helps other people having the same issues. -- With kind regards, Geoffrey De Smet - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: signing jar and webstart plugin
Can you please submit these to jira? There are already some there (MJAR), so please check for existing ones first. Geoffrey De Smet wrote: For networktools.sf.net I used the webstart plugin, which uses the jar plugin to sign jars. I 've had a bunch of problems, most of wrong configuration on my part, but some I believe lay in the jar plugin. In the end I changed these few lines in the jar plugin to get it working, even if it's a quick dirty hack: 1) Nullpointer on org.apache.maven.plugin.jar.JarSignMojo, line 217 addArgIfNotEmpty( arguments, -keypass, this.keypass ); +if (this.signedjar != null) { addArgIfNotEmpty( arguments, -signedjar, this.signedjar.getPath() ); +} addArgIfNotEmpty( arguments, -storetype, this.type ); 2) Nullpointer on org.apache.maven.plugin.jar.JarSignMojo, line 282 +if (project.getArtifact() != null) { project.getArtifact().setFile( signedjar ); +} Maybe this helps other people having the same issues. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[ANN] New webstart plugin in sandbox
Hi everyone, I have just committed the first cut of a webstart plugin in the sandbox. The goal is to have a plugin containing all webstart related goals. The current features are: - ability to launch a webstart application - ability for the user to define a custom webstart cache pointing to any directory he wishes - ability to start a local webserver (it's using jetty) serving all the jars defined in a provided JNLP file More goals could be added later. I had initially thought we could add this to the JNLP plugin and I sent an email some time back did not get any feedback. In any case, if people think it's better to have a single plugin (which would be better named webstart rather than jnlp), then I'm all for it too. Should this webstart plugin find any interest, I'd like to move it in Maven proper later on and I'd like to refactor the Abbot plugin to use it for its webstart operations (I already have the refactored code on my machine and I'm just waiting for reactions before doing anything). Thanks -Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [ANN] New webstart plugin in sandbox
So, the jnlp plugin can be used to to build webstart jars, and sign them, and this plugin handles the run time side of it? On Sun, 16 Jan 2005 16:37:25 +0100, Vincent Massol [EMAIL PROTECTED] wrote: Hi everyone, I have just committed the first cut of a webstart plugin in the sandbox. The goal is to have a plugin containing all webstart related goals. The current features are: - ability to launch a webstart application - ability for the user to define a custom webstart cache pointing to any directory he wishes - ability to start a local webserver (it's using jetty) serving all the jars defined in a provided JNLP file More goals could be added later. I had initially thought we could add this to the JNLP plugin and I sent an email some time back did not get any feedback. In any case, if people think it's better to have a single plugin (which would be better named webstart rather than jnlp), then I'm all for it too. Should this webstart plugin find any interest, I'd like to move it in Maven proper later on and I'd like to refactor the Abbot plugin to use it for its webstart operations (I already have the refactored code on my machine and I'm just waiting for reactions before doing anything). Thanks -Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: [ANN] New webstart plugin in sandbox
-Original Message- From: Dion Gillard [mailto:[EMAIL PROTECTED] Sent: dimanche 16 janvier 2005 13:45 To: Maven Developers List Subject: Re: [ANN] New webstart plugin in sandbox So, the jnlp plugin can be used to to build webstart jars, and sign them, and this plugin handles the run time side of it? Yes. The jnlp plugin currently generates a JNLP file. They could be 2 separate plugins or could be merged into a single one handling anything to do with webstart. -Vincent On Sun, 16 Jan 2005 16:37:25 +0100, Vincent Massol [EMAIL PROTECTED] wrote: Hi everyone, I have just committed the first cut of a webstart plugin in the sandbox. The goal is to have a plugin containing all webstart related goals. The current features are: - ability to launch a webstart application - ability for the user to define a custom webstart cache pointing to any directory he wishes - ability to start a local webserver (it's using jetty) serving all the jars defined in a provided JNLP file More goals could be added later. I had initially thought we could add this to the JNLP plugin and I sent an email some time back did not get any feedback. In any case, if people think it's better to have a single plugin (which would be better named webstart rather than jnlp), then I'm all for it too. Should this webstart plugin find any interest, I'd like to move it in Maven proper later on and I'd like to refactor the Abbot plugin to use it for its webstart operations (I already have the refactored code on my machine and I'm just waiting for reactions before doing anything). Thanks -Vincent - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- http://www.multitask.com.au/people/dion/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]