ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gerhard" <AGerh...@E-SyncNet.Com>
Subject RE: javac task and classpath attribute
Date Tue, 24 Oct 2000 16:48:17 GMT
Dave -

I have been able to use it successful, as Diane. Here's how I've set it up on one build ...
(ANT version 1.1, Java 1.2.2, NT 4.0 sp5 )
	<target name="make" depends="init">
		<mkdir dir="${classes}" />
		<javac srcdir="${source}" 
				debug="${debugValue}" >

			 		<!--	The following JAR files need to be updated with new libraries as used	-->
					<pathelement location="${lib}/fast.jar"/>
					<pathelement location="${lib}/lotusxsl.jar"/>
					<pathelement location="${lib}/xml4j.jar"/>
					<pathelement location="${lib}/ldapjdk.jar"/>
					<pathelement location="${lib}/ldapfilt.jar"/>
					<pathelement location="${lib}/ldapsp.jar"/>
					<pathelement location="${lib}/mail.jar"/>
					<pathelement location="${lib}/activation.jar"/>

-----Original Message-----
From: Dave Inskeep []
Sent: Tuesday, October 24, 2000 11:54 AM
Subject: javac task and classpath attribute

Does anyone else have problems with using the classpath attribute, 
classpath nested element, or classpathref attribute with the javac task? No 
matter what I try, javac seems to ignore the classpath and use what ant ran 
with. In desperation I even just tried:

<javac srcdir="${src.dir}" destdir="${build.dir}" classpath="foo"/>

hoping to see my classpath as foo. However, this is what I get with "ant 

[javac] Compilation args: jikes -d C:\Projects\beast\classes -classpath 


It appears to be just the classpath that the ant batch file uses plus my 
srcdir and destdir. Am I missing something obvious? I'm using version ant 1.2.

View raw message