ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arti Singh <arti_sing...@yahoo.ca>
Subject HELP :javac classpath
Date Tue, 09 Aug 2005 15:11:15 GMT

 Hi ,

        I just want to clarify a few things.I am trying to compile a few java files in my
ant build script using a classpath variable to point to required libraries.I tried the approach
below.I tried to define my classpath in properties and then used them in javac, but that doesnt
seep to help.Can someone please point me in the right direction.?
Thankyou,

Arti

<property name="autoplugin.classpath" value="C:/Program Files/OMS/SDK/AutoPlugin/SDK/AutoPlugin_bin"/>

<property name="sdk.dir" value="C:/Program Files/OMS/SDK"/>

<property name="auto_plugin.classpath" value= "${autoplugin.classpath}/xmlparserv2.jar;${autoplugin.classpath}

/automation_plugins.jar;${sdk.dir}/deploytool.jar;${sdk.dir}/automationBuild.jar;${weblogic.dir}/server/lib/weblogic.jar;"/>

 

<javac srcdir="${taskcontext.emul.srcdir}" destdir="${taskcontext.emul.classes.destdir}"

classpath="${auto_plugin.classpath}">
  <include name="com/mslv/oms/sample/taskcontext/*.java"/>
</javac>



		
---------------------------------
Find your next car at Yahoo! Canada Autos
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message