ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Zhang <Tony.Zh...@Sun.COM>
Subject Can ant do this?
Date Tue, 04 Nov 2003 18:56:25 GMT
Hi there,


 Basically, I need a target similiar to the one
 below, but I need to use "get" instead of
 "set" arg-line below to get the old
 classpath first, then "set" the classpath
 to add a few classes/jars before the old
 classapth.

 Is it possible and how?

 I am not on the list, if you would be able to
 CC me (tony.zhang@sun.com), that'd be really
 apprecaited.

 Thanks,

 -Tony

     <target name="server-classpath"
             depends="init">
         <exec executable="${SE_HOME}/bin/asadmin"
 failonerror="false">
             <arg line="set"/>
             <arg line="--user ${SUT_USERNAME} "/>
             <arg line="--password ${SUT_PASSWD}"/>
             <arg line="--host ${SUT_HOST}"/>
             <arg line="--port ${SUT_ADMIN_PORT} "/>
             
 <argline="server.java-config.classpath=${jaxb.cl
 asspath}:${SE_LIB}/classes12.zip"/>
         </exec>
     </target>



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


Mime
View raw message