You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by walterw <wa...@hotmail.com> on 2008/04/03 12:42:45 UTC
Re: webstart question
Hi,
Here is my pom.xml that corresponds to the webstart:
[code]
<!-- WebStart Application for administration -->
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>dependency-maven-plugin</artifactId>
<executions>
<execution>
<phase>process-resources</phase>
<goals>
<goal>unpack</goal>
</goals>
</execution>
</executions>
<configuration>
<artifactItems>
<artifactItem>
<groupId>com.walterjwhite</groupId>
<artifactId>administration-jnlp</artifactId>
<version>1.0</version>
<type>zip</type>
</artifactItem>
</artifactItems>
<outputDirectory>${project.build.directory}/${project.build.finalName}/webstart</outputDirectory>
</configuration>
</plugin>
-->
<!--
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>webstart-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jnlp</goal>
</goals>
</execution>
</executions>
<configuration>
<inputTemplateResourcePath>${project.basedir}/src/main/webapp/jnlp</inputTemplateResourcePath>
<libPath>lib</libPath>
<jnlp>
<outputFile>administration.jnlp</outputFile>
<mainClass>com.walterjwhite.gui.AdministrationForm</mainClass>
</jnlp>
<sign>
<keystore></keystore>
<keypass></keypass>
<storepass></storepass>
<storetype></storetype>
<alias></alias>
<validity></validity>
<dnameCn></dnameCn>
<dnameOu></dnameOu>
<dnameO></dnameO>
<dnameL></dnameL>
<dnameSt></dnameSt>
<dnameC></dnameC>
<verify>true</verify>
</sign>
<pack200>true</pack200>
<gzip>true</gzip>
<outputJarVersions>true</outputJarVersions>
<verbose>true</verbose>
</configuration>
</plugin>
-->
[/code]
Thanks,
Walter
--
View this message in context: http://www.nabble.com/webstart-question-tp16302197s177p16467388.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: webstart question
Posted by walterw <wa...@hotmail.com>.
Hi Jerome,
Thanks again for your reply.
I split my project up into smaller projects (core, webstart, and web
application). The core project contains all of the domain, manager, and
service objects. The webstart project contains only those classes for the
webstart application, and the same for the web application. It looks like
it is working now thanks to your help. I still have some ways to go before
my project works though, but at least now it looks like the webstart stuff
is being setup properly.
Thanks,
Walter
walterw wrote:
>
> Hi Jerome,
>
> That looks like it has good information for configuring my project. I
> hope to get a chance this weekend to try it out and get back to you.
> Thanks much for the information, I just need an example of how it works
> and should be able to figure out the rest.
>
>
> Thanks,
> Walter
>
> Jerome Lacoste-2 wrote:
>>
>> On Thu, Apr 3, 2008 at 12:42 PM, walterw <wa...@hotmail.com>
>> wrote:
>>>
>>> Hi,
>>>
>>> Here is my pom.xml that corresponds to the webstart:
>>
>> Walter
>>
>> I also highly recommend you to look at the various integration tests
>>
>> http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/webstart/webstart-maven-plugin/src/it
>>
>> it002, it003 and it006 deal with webstart + WARs (some with the jnlp,
>> others with jnlp for download servlet).
>>
>> As for your code, have you tried with the jnlp-inline mojo instead ?
>>
>> There a bit of confusion in the naming of the mojos and when to use
>> them. I need to clean this up, but I wonder if the least confusing is
>> not to rename them completely.
>>
>> J
>>
>>> [code]
>>> <!-- WebStart Application for administration -->
>>>
>>> <!--
>>>
>>> <plugin>
>>>
>>> <groupId>org.codehaus.mojo</groupId>
>>>
>>> <artifactId>dependency-maven-plugin</artifactId>
>>>
>>> <executions>
>>>
>>> <execution>
>>>
>>> <phase>process-resources</phase>
>>>
>>> <goals>
>>>
>>> <goal>unpack</goal>
>>>
>>> </goals>
>>>
>>> </execution>
>>>
>>> </executions>
>>>
>>> <configuration>
>>>
>>> <artifactItems>
>>>
>>> <artifactItem>
>>>
>>> <groupId>com.walterjwhite</groupId>
>>>
>>> <artifactId>administration-jnlp</artifactId>
>>>
>>> <version>1.0</version>
>>>
>>> <type>zip</type>
>>>
>>> </artifactItem>
>>>
>>> </artifactItems>
>>>
>>>
>>>
>>> <outputDirectory>${project.build.directory}/${project.build.finalName}/webstart</outputDirectory>
>>>
>>> </configuration>
>>>
>>> </plugin>
>>>
>>> -->
>>>
>>> <!--
>>>
>>> <plugin>
>>>
>>> <groupId>org.codehaus.mojo</groupId>
>>>
>>> <artifactId>webstart-maven-plugin</artifactId>
>>>
>>> <executions>
>>>
>>> <execution>
>>>
>>> <goals>
>>>
>>> <goal>jnlp</goal>
>>>
>>> </goals>
>>>
>>> </execution>
>>>
>>> </executions>
>>>
>>> <configuration>
>>>
>>>
>>>
>>> <inputTemplateResourcePath>${project.basedir}/src/main/webapp/jnlp</inputTemplateResourcePath>
>>>
>>> <libPath>lib</libPath>
>>>
>>> <jnlp>
>>>
>>> <outputFile>administration.jnlp</outputFile>
>>>
>>>
>>> <mainClass>com.walterjwhite.gui.AdministrationForm</mainClass>
>>>
>>> </jnlp>
>>>
>>> <sign>
>>>
>>> <keystore></keystore>
>>>
>>> <keypass></keypass>
>>>
>>> <storepass></storepass>
>>>
>>> <storetype></storetype>
>>>
>>> <alias></alias>
>>>
>>> <validity></validity>
>>>
>>>
>>>
>>> <dnameCn></dnameCn>
>>>
>>> <dnameOu></dnameOu>
>>>
>>> <dnameO></dnameO>
>>>
>>> <dnameL></dnameL>
>>>
>>> <dnameSt></dnameSt>
>>>
>>> <dnameC></dnameC>
>>>
>>>
>>>
>>> <verify>true</verify>
>>>
>>> </sign>
>>>
>>>
>>>
>>> <pack200>true</pack200>
>>>
>>> <gzip>true</gzip>
>>>
>>> <outputJarVersions>true</outputJarVersions>
>>>
>>> <verbose>true</verbose>
>>>
>>>
>>>
>>> </configuration>
>>>
>>> </plugin>
>>>
>>> -->
>>> [/code]
>>>
>>>
>>> Thanks,
>>> Walter
>>> --
>>> View this message in context:
>>> http://www.nabble.com/webstart-question-tp16302197s177p16467388.html
>>>
>>>
>>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>> For additional commands, e-mail: users-help@maven.apache.org
>>>
>>>
>>
>>
>>
>> --
>> Jerome Lacoste
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/webstart-question-tp16302197s177p16629871.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: webstart question
Posted by walterw <wa...@hotmail.com>.
Hi Jerome,
That looks like it has good information for configuring my project. I hope
to get a chance this weekend to try it out and get back to you. Thanks much
for the information, I just need an example of how it works and should be
able to figure out the rest.
Thanks,
Walter
Jerome Lacoste-2 wrote:
>
> On Thu, Apr 3, 2008 at 12:42 PM, walterw <wa...@hotmail.com> wrote:
>>
>> Hi,
>>
>> Here is my pom.xml that corresponds to the webstart:
>
> Walter
>
> I also highly recommend you to look at the various integration tests
>
> http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/webstart/webstart-maven-plugin/src/it
>
> it002, it003 and it006 deal with webstart + WARs (some with the jnlp,
> others with jnlp for download servlet).
>
> As for your code, have you tried with the jnlp-inline mojo instead ?
>
> There a bit of confusion in the naming of the mojos and when to use
> them. I need to clean this up, but I wonder if the least confusing is
> not to rename them completely.
>
> J
>
>> [code]
>> <!-- WebStart Application for administration -->
>>
>> <!--
>>
>> <plugin>
>>
>> <groupId>org.codehaus.mojo</groupId>
>>
>> <artifactId>dependency-maven-plugin</artifactId>
>>
>> <executions>
>>
>> <execution>
>>
>> <phase>process-resources</phase>
>>
>> <goals>
>>
>> <goal>unpack</goal>
>>
>> </goals>
>>
>> </execution>
>>
>> </executions>
>>
>> <configuration>
>>
>> <artifactItems>
>>
>> <artifactItem>
>>
>> <groupId>com.walterjwhite</groupId>
>>
>> <artifactId>administration-jnlp</artifactId>
>>
>> <version>1.0</version>
>>
>> <type>zip</type>
>>
>> </artifactItem>
>>
>> </artifactItems>
>>
>>
>>
>> <outputDirectory>${project.build.directory}/${project.build.finalName}/webstart</outputDirectory>
>>
>> </configuration>
>>
>> </plugin>
>>
>> -->
>>
>> <!--
>>
>> <plugin>
>>
>> <groupId>org.codehaus.mojo</groupId>
>>
>> <artifactId>webstart-maven-plugin</artifactId>
>>
>> <executions>
>>
>> <execution>
>>
>> <goals>
>>
>> <goal>jnlp</goal>
>>
>> </goals>
>>
>> </execution>
>>
>> </executions>
>>
>> <configuration>
>>
>>
>>
>> <inputTemplateResourcePath>${project.basedir}/src/main/webapp/jnlp</inputTemplateResourcePath>
>>
>> <libPath>lib</libPath>
>>
>> <jnlp>
>>
>> <outputFile>administration.jnlp</outputFile>
>>
>>
>> <mainClass>com.walterjwhite.gui.AdministrationForm</mainClass>
>>
>> </jnlp>
>>
>> <sign>
>>
>> <keystore></keystore>
>>
>> <keypass></keypass>
>>
>> <storepass></storepass>
>>
>> <storetype></storetype>
>>
>> <alias></alias>
>>
>> <validity></validity>
>>
>>
>>
>> <dnameCn></dnameCn>
>>
>> <dnameOu></dnameOu>
>>
>> <dnameO></dnameO>
>>
>> <dnameL></dnameL>
>>
>> <dnameSt></dnameSt>
>>
>> <dnameC></dnameC>
>>
>>
>>
>> <verify>true</verify>
>>
>> </sign>
>>
>>
>>
>> <pack200>true</pack200>
>>
>> <gzip>true</gzip>
>>
>> <outputJarVersions>true</outputJarVersions>
>>
>> <verbose>true</verbose>
>>
>>
>>
>> </configuration>
>>
>> </plugin>
>>
>> -->
>> [/code]
>>
>>
>> Thanks,
>> Walter
>> --
>> View this message in context:
>> http://www.nabble.com/webstart-question-tp16302197s177p16467388.html
>>
>>
>> Sent from the Maven - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
>>
>
>
>
> --
> Jerome Lacoste
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
>
--
View this message in context: http://www.nabble.com/webstart-question-tp16302197s177p16495721.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: webstart question
Posted by Jerome Lacoste <je...@gmail.com>.
On Thu, Apr 3, 2008 at 12:42 PM, walterw <wa...@hotmail.com> wrote:
>
> Hi,
>
> Here is my pom.xml that corresponds to the webstart:
Walter
I also highly recommend you to look at the various integration tests
http://svn.mojo.codehaus.org/browse/mojo/trunk/mojo/webstart/webstart-maven-plugin/src/it
it002, it003 and it006 deal with webstart + WARs (some with the jnlp,
others with jnlp for download servlet).
As for your code, have you tried with the jnlp-inline mojo instead ?
There a bit of confusion in the naming of the mojos and when to use
them. I need to clean this up, but I wonder if the least confusing is
not to rename them completely.
J
> [code]
> <!-- WebStart Application for administration -->
>
> <!--
>
> <plugin>
>
> <groupId>org.codehaus.mojo</groupId>
>
> <artifactId>dependency-maven-plugin</artifactId>
>
> <executions>
>
> <execution>
>
> <phase>process-resources</phase>
>
> <goals>
>
> <goal>unpack</goal>
>
> </goals>
>
> </execution>
>
> </executions>
>
> <configuration>
>
> <artifactItems>
>
> <artifactItem>
>
> <groupId>com.walterjwhite</groupId>
>
> <artifactId>administration-jnlp</artifactId>
>
> <version>1.0</version>
>
> <type>zip</type>
>
> </artifactItem>
>
> </artifactItems>
>
>
> <outputDirectory>${project.build.directory}/${project.build.finalName}/webstart</outputDirectory>
>
> </configuration>
>
> </plugin>
>
> -->
>
> <!--
>
> <plugin>
>
> <groupId>org.codehaus.mojo</groupId>
>
> <artifactId>webstart-maven-plugin</artifactId>
>
> <executions>
>
> <execution>
>
> <goals>
>
> <goal>jnlp</goal>
>
> </goals>
>
> </execution>
>
> </executions>
>
> <configuration>
>
>
> <inputTemplateResourcePath>${project.basedir}/src/main/webapp/jnlp</inputTemplateResourcePath>
>
> <libPath>lib</libPath>
>
> <jnlp>
>
> <outputFile>administration.jnlp</outputFile>
>
> <mainClass>com.walterjwhite.gui.AdministrationForm</mainClass>
>
> </jnlp>
>
> <sign>
>
> <keystore></keystore>
>
> <keypass></keypass>
>
> <storepass></storepass>
>
> <storetype></storetype>
>
> <alias></alias>
>
> <validity></validity>
>
>
>
> <dnameCn></dnameCn>
>
> <dnameOu></dnameOu>
>
> <dnameO></dnameO>
>
> <dnameL></dnameL>
>
> <dnameSt></dnameSt>
>
> <dnameC></dnameC>
>
>
>
> <verify>true</verify>
>
> </sign>
>
>
>
> <pack200>true</pack200>
>
> <gzip>true</gzip>
>
> <outputJarVersions>true</outputJarVersions>
>
> <verbose>true</verbose>
>
>
>
> </configuration>
>
> </plugin>
>
> -->
> [/code]
>
>
> Thanks,
> Walter
> --
> View this message in context: http://www.nabble.com/webstart-question-tp16302197s177p16467388.html
>
>
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>
--
Jerome Lacoste
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org