maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anthony Vito <v...@mnis.com>
Subject Re: Deploy JNLP
Date Tue, 04 May 2004 12:57:12 GMT
To accomplish jnlp deployment I added a pregoal to site:deploy, which
copies the jnlp folder to the docs directory. Then I have a link in the
html to the .jnlp file to launch it, works great.

  <preGoal name="site:deploy">

    <j:set var="docsDest"
value="${pom.getPluginContext('maven-xdoc-plugin').getVariable('maven.docs.dest')}"/>

    <ant:mkdir dir="${docsDest}/jnlp"/>
    <ant:copy todir="${docsDest}/jnlp">
      <ant:fileset dir="${maven.build.dir}/jnlp"/>
    </ant:copy>
  </preGoal>

-vito

On Mon, 2004-04-26 at 07:56, Emmanuel Venisse wrote:
> 
> ----- Original Message ----- 
> From: "Daniel Frey" <daniel.frey@xmatrix.ch>
> To: "'Maven Users List'" <users@maven.apache.org>
> Sent: Sunday, April 25, 2004 10:31 AM
> Subject: Deploy JNLP
> 
> 
> > Hi there,
> >
> > Is there a way to deploy the JNLP artifacts generated by "maven jnlp" to a
> > server?
> 
> No, you can write a postGoal for the jnlp generation, or add a new goal in
> the jnlp plugin and send us the patch.
> 
> Emmanuel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message