ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Davies <Robert.Dav...@astro.cf.ac.uk>
Subject new ant user : exclude files
Date Wed, 22 Nov 2000 12:01:14 GMT
Hi

I am a new user to ant and would appreciate any help anybody could give. I am 
trying to exclude the files in the directory ./toolkit/tmp/*.java from 
compilation. I have tried the exclude tag but I cannot get it to work. I have 
also tried to use absolute path name but that does not seem to work. I am using 
ant 1.2 

Below is the build file code

********************************************************************************

<project name="Triana_src" default="build" basedir=".">

<target name="build">
	<javac srcdir="./util:./gui:./toolkit:" destdir="../../classes" 
deprecation="on" optimize="on">
		<exclude name="./toolkit/tmp/*.java" />
	</javac>
</target>


</project>

********************************************************************************

Thanks for any help

Rob


Mime
View raw message