ant-user mailing list archives

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

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

<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"/>
  <pathelement location="properties"/>



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:
For additional commands, e-mail:

View raw message