Return-Path: Delivered-To: apmail-jakarta-ant-user-archive@apache.org Received: (qmail 88351 invoked from network); 4 Feb 2002 19:15:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 4 Feb 2002 19:15:46 -0000 Received: (qmail 27728 invoked by uid 97); 4 Feb 2002 19:15:38 -0000 Delivered-To: qmlist-jakarta-archive-ant-user@jakarta.apache.org Received: (qmail 27712 invoked by uid 97); 4 Feb 2002 19:15:38 -0000 Mailing-List: contact ant-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list ant-user@jakarta.apache.org Received: (qmail 27701 invoked from network); 4 Feb 2002 19:15:37 -0000 Message-ID: <3C5EDDE3.B28140C3@oracle.com> Date: Mon, 04 Feb 2002 11:15:48 -0800 From: Zhendi Su Organization: Oracle Corporation X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Ant Users List Subject: Re: exclude attribute in javac task References: <3C5ED871.23A4660C@oracle.com> <002501c1adad$bef577b0$6401a8c0@darden.virginia.edu> Content-Type: multipart/mixed; boundary="------------28DE46EF0D73D52DE6463679" X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N --------------28DE46EF0D73D52DE6463679 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Thanks a lot, Erik! Zhendi Erik Hatcher wrote: > Yup.... because implicitly is using a fileset, which, by definition, > is rooted at a single directory and all files for includes/excludes are > specified relative to that directory (srcdir). > > Erik > > ----- Original Message ----- > From: "Zhendi Su" > To: > Sent: Monday, February 04, 2002 1:52 PM > Subject: exclude attribute in javac task > > > Hi, > > > > I noticed one weird thing about the exclude attribute in javac task: > > > > I have file called TestBase.java at /home/rsu/prototype/test_exclude. > > In my javac task if I specify the absolute path, the exclude attribute > > doesn't work. That is, if my javac looks like this: > > > > > target="1.1" bootclasspath="/local/java/jdk1.1.8/lib/classes.zip" > > extdirs=" " excludes="/home/rsu/prototype/test_exclude/**" > > > > > After ant was finished I looked under /home/rsu/test and TestBase.class > > was updated every time. > > > > But if I specify the relative path to the srcdir, the exclude attribute > > works. That is, if my javac task looks like this: > > > > > target="1.1" bootclasspath="/local/java/jdk1.1.8/lib/classes.zip" > > extdirs=" " excludes="test_exclude/**" > > > > > Then I looked under /home/rsu/test and TestBase.class was not updated. > > > > Does anyone know why? Thanks a lot! > > > > Zhendi Su > > > > ---------------------------------------------------------------------------- > ---- > > > -- > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > -- > To unsubscribe, e-mail: > For additional commands, e-mail: --------------28DE46EF0D73D52DE6463679 Content-Type: text/plain; charset=us-ascii -- To unsubscribe, e-mail: For additional commands, e-mail: --------------28DE46EF0D73D52DE6463679--