ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: run a jar from ant
Date Sat, 20 Feb 2010 23:37:38 GMT
Hi,

in  the snippet that you emailed, the jarfile attribute "build/acme.jar"
is the jar for which you want to calculate the classpath to write in the
manifest.

<classpath refid="classpath"/> refers to a path defined else where in
the build file which can contain several jars or directories.

For instance

<path id="classpath">
   <fileset dir="lib">
       <include name="*.jar"/>
   </fileset>
  <pathelement location="properties"/>
</path>

Regards,

Antoine

andy susanto wrote:
> Can you show me ?, cause i see at an example
>
>  <manifestclasspath property="jar.classpath"
>                        jarfile="build/acme.jar">
>       <classpath refid="classpath" />
>     </manifestclasspath>
>
> it just use only one jar, how to added another jar that required
>
>   


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message