ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhaval Chokshi" <dhavalchok...@elitecore.com>
Subject Re: Passing arguements for a java class
Date Wed, 23 Jul 2003 05:29:43 GMT
hi,

I think the code below will clear your problem.
It calles one clas CreatePackage with
    arguments.

<target name="create-packages">
  <java classname="com.elitecore.elitecmp.CreatePackage">
         <arg value="${gen-src.ejb.dir}"/>
      <classpath refid="middlegen.class.path"/>
     </java>
   </target>

----- Original Message -----
From: "Ravishankar.BN" <ravishankar.n@itreya.com>
To: "Ant Users List" <user@ant.apache.org>
Sent: Wednesday, July 23, 2003 10:05 AM
Subject: Passing arguements for a java class


>
>   Hi all
>
>   I am new to ant and have a target which calls a java class which accepts
> two parameters.
>   I just wanted to know how to pass the arguements from ant to the Java
> class?
>
>   Thank you
>
>                  with regards-Ravi
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


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


Mime
View raw message