On Nov 1, 6:21 am, Carl <carljmo...@gmail.com> wrote: > Brian, > > Since you have the standard one working (except for the issue about > jar signing you mentioned), would you mind posting a complete working > example?
Here's my working pom.xml: [...] <packaging>war</packaging> <build> <plugins> <plugin> <groupId>org.codehaus.mojo.webstart</groupId> <artifactId>webstart-maven-plugin</artifactId> <executions> <execution> <phase>process-resources</phase> <goals> <goal>jnlp-download-servlet</goal> </goals> </execution> </executions> <configuration> <outputDirectoryName>/webstart</ outputDirectoryName> <jnlpFiles> <jnlpFile> <templateFilename>template.vm</ templateFilename> <jarResources> <jarResource> <groupId>ca.triumf.mis.science</ groupId> <artifactId>ScienceClient</ artifactId> <version>${project.version}</ version> <mainClass>ca.triumf.mis.science.ScienceApp</mainClass> </jarResource> </jarResources> </jnlpFile> </jnlpFiles> <!-- <sign> <keystore>/var/build/keys/key.jks</ keystore> <storepass>***</ storepass> <alias>jarsigner</ alias> <verify>true</ verify> </ sign> --> <verbose>true</verbose> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>com.sun.java.jnlp</groupId> <artifactId>jnlp-servlet</artifactId> <scope>runtime</scope> </dependency> </dependencies> [...] This one uses the sun servlet. I did a "standalone a while back that I could probably dig up if it's useful. The templat.vm file looks like: <?xml version="1.0" encoding="utf-8"?> <jnlp spec="$jnlpspec" codebase="$$codebase" context="$$context" href="$$name"> <information> <title>Science App</title> <vendor>$project.Organization.Name</vendor> <shortcut online="true"> <desktop/> <menu submenu="TRIUMF"/> </shortcut> <icon href="images/mis_icon.gif"/> <icon kind="splash" href="images/splash.gif"/> </information> <security> <all-permissions/> </security> <resources> <property name="java.security.auth.login.config" value="jar:$ $codebaseScienceClient-${project.Version}.jar!/META-INF/ appclientlogin.conf" /> <property name="apple.laf.useScreenMenuBar" value="true"/> <property name="ca.triumf.mis.codebase" value="$$codebase" /> <j2se version="1.6+"/> $dependencies </resources> <application-desc main-class="$mainClass"/> </jnlp> This is in maven 2. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to javaposse@googlegroups.com To unsubscribe from this group, send email to javaposse+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---