Re: missing resources in .jnlp
On 1/16/07, Dmitry Beransky [EMAIL PROTECTED] wrote: Hi, Can't figure out what I'm doing wrong. I've set up a project for building a WebStart app. Copied template.vm from the plugin's svn. When I run webstart:jnlp goal, I get a zip containing all dependencies properly signed, but the index.jnlp file only has the following: ?xml version=1.0 encoding=utf-8? jnlp codebase=$$codebase href=$outputFile.name resources /resources application-desc main-class=${config.jnlp.mainClass}/ /jnlp so, why is ther resources section empty (and why ${config.jnlp.mainClass} didn't get expanded)? any thoughts? Don't look at the src/main/resources/org/codehaus/mojo/webstart/template/jnlp.vm file. This file is obsolete and was removed from the trunk. For examples on template.vm files, look at the various template.vm files found under src/test/projects/ E.g. look at: http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/webstart-maven-plugin/plugin/src/test/projects/ Try to use something like this in your template.vm: [...] resources $dependencies /resources application-desc main-class=$mainClass [...] /application-desc [...] As for resources, if you use the latest snapshot, they should be under: src/main/jnlp/resources Cf the documentation: http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/webstart-maven-plugin/plugin/src/site/apt/howto.apt?r=3014 If you still have problems, please open an issue in Jira. J PS: please use the mojo user mailing list for questions regarding a mojo plugin. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
missing resources in .jnlp
Hi, Can't figure out what I'm doing wrong. I've set up a project for building a WebStart app. Copied template.vm from the plugin's svn. When I run webstart:jnlp goal, I get a zip containing all dependencies properly signed, but the index.jnlp file only has the following: ?xml version=1.0 encoding=utf-8? jnlp codebase=$$codebase href=$outputFile.name resources /resources application-desc main-class=${config.jnlp.mainClass}/ /jnlp so, why is ther resources section empty (and why ${config.jnlp.mainClass} didn't get expanded)? any thoughts? thanks d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: missing resources in .jnlp
For me also the resources inside the src/jnlp/resources directory does not get copied to target/jnlp. This seems to be a bug. For me the $mainClass gets expanded. My .vm file is: http://svn.berlios.de/wsvn/jenkryptor/trunk/src/jnlp/template.vm?op=filerev=0sc=0 My pom.xml: http://svn.berlios.de/wsvn/jenkryptor/trunk/pom.xml?op=filerev=0sc=0 Subhash. On 1/16/07, Dmitry Beransky [EMAIL PROTECTED] wrote: Hi, Can't figure out what I'm doing wrong. I've set up a project for building a WebStart app. Copied template.vm from the plugin's svn. When I run webstart:jnlp goal, I get a zip containing all dependencies properly signed, but the index.jnlp file only has the following: ?xml version=1.0 encoding=utf-8? jnlp codebase=$$codebase href=$outputFile.name resources /resources application-desc main-class=${config.jnlp.mainClass}/ /jnlp so, why is ther resources section empty (and why ${config.jnlp.mainClass} didn't get expanded)? any thoughts? thanks d. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Regards, Subhash Chandran S http://wiztools.org/project/XML2SpreadSheet/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]