ant-user mailing list archives

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

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" />



Thanks for any help


View raw message