[ 
http://jira.codehaus.org/browse/MWEBSTART-25?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116398
 ] 

Jerome Lacoste commented on MWEBSTART-25:
-----------------------------------------

Some sort of mvn webstart:deploy could be useful.
If so, reusing wagon to support various ways of deploying and the notion of 
servers found in profiles/settings could be a good idea.

> A Mojo for deploying/dist'ing the application could be useful
> -------------------------------------------------------------
>
>                 Key: MWEBSTART-25
>                 URL: http://jira.codehaus.org/browse/MWEBSTART-25
>             Project: Maven 2.x Webstart Plugin
>          Issue Type: New Feature
>    Affects Versions: 1.0-alpha-2
>            Reporter: Havard Bjastad
>
> It would be useful to be able to easily deploy the application to a web 
> server, when it is not bundled as a web app. E.g.
>    mvn webstart:dist
> or if it could somehow be hooked up to the dist process, so it was done by a 
> simple
>    mvn dist
> In maven 1, we used the following goal to dist the application:
>       <goal name="dist" prereqs="jnlp">
>               <echo>Copying files from ${maven.jnlp.dir} to 
> ${tt.jnlp.location.host}</echo>
>               <ant:fileScanner var="files">
>                       <ant:fileset dir="${maven.jnlp.dir}">
>                               <ant:include name="**"/>
>                       </ant:fileset>
>               </ant:fileScanner>
>               <j:forEach var="file" items="${files.iterator()}">
>                       <echo>Copying ${file} to ${tt.jnlp.location.host}</echo>
>                       <ant:exec executable="scp" failonerror="true">
>                               <ant:arg value="${file}"/>
>                               <ant:arg value="[EMAIL 
> PROTECTED]:${tt.jnlp.location.dir}"/>
>                       </ant:exec>
>               </j:forEach>
>       </goal>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to