No Problem!

On Nov 3, 8:19 am, Carl <[email protected]> wrote:
> Thank you Brian.
>
> On Nov 1, 11:29 pm, Brian <[email protected]> wrote:
>
> > On Nov 1, 6:21 am, Carl <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to