You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Alberto Ivo <al...@gmail.com> on 2008/04/29 15:53:49 UTC
Makeurl Task. How to use it?
hello people..
here I am again.. this time I would like to know how to use this tag:
Makeurl
I didn't understand what I read at the official site:
<makeurl file="${user.home}/.m2/repository" property="m2.repository.url"/>
Sets the property m2.repository.url to the file: URL of the local Maven2
repository.
<makeurl property="codebase"><fileset dir="lib includes="*.jar"/></makeurl>
Set the property codebase to the three URLs of the files provided as nested
elements.
I have a JNLP file like this:
<jnlp codebase="http://ssealas09.ep-seal.company.com.br:7002/itpo"
href="itpo.jnlp">
( . . . )
</jnlp>
But i have several codebase, depends the server... and every time I want to
generate a build, I have to change the codebase line acording to the
server.. how could I automatize this using the task MakeURL ?
thanks in advance.