Return-Path: Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 367 invoked by uid 500); 20 Jun 2003 01:10:38 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 349 invoked from network); 20 Jun 2003 01:10:37 -0000 Received: from cortex-gw.magna.com.au (HELO smtp.cortexebusiness.com.au) (203.174.140.214) by daedalus.apache.org with SMTP; 20 Jun 2003 01:10:37 -0000 Received: (from daemon@localhost) by smtp.cortexebusiness.com.au (8.10.0/8.10.0) id h5K1Ae409417 for ; Fri, 20 Jun 2003 11:10:40 +1000 (EST) Received: from UNKNOWN(192.168.1.9), claiming to be "chunky.int.cortexebusiness.com.au" via SMTP by ctx00, id smtpdAAA5QaOxs; Fri Jun 20 11:10:32 2003 Received: (from daemon@localhost) by chunky.int.cortexebusiness.com.au (8.10.0/8.10.0) id h5K1AbV15113 for ; Fri, 20 Jun 2003 11:10:37 +1000 (EST) Received: from kooky.int.cortexebusiness.com.au(192.168.1.48) via SMTP by chunky.int.cortexebusiness.com.au, id smtpdAAAX5ayuD; Fri Jun 20 11:10:33 2003 From: Conor MacNeill To: "Ant Developers List" Subject: Re: FileSet reference in Javac .. Date: Fri, 20 Jun 2003 11:10:33 +1000 User-Agent: KMail/1.5 References: <5.1.1.6.2.20030619125355.01fe2680@hqsmh7> In-Reply-To: <5.1.1.6.2.20030619125355.01fe2680@hqsmh7> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200306201110.33456.conor@cortexebusiness.com.au> X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Fri, 20 Jun 2003 02:59 am, Harsha Kalidindi wrote: > Hi: > > I looked through the mail archives to see if anyone had the same > issue with not being able to reference FileSets in Javac. I saw a query but > no responses. > > > > ... > > > Why is that above not allowed? Do I have to extend javac if I want > the above behavior? > Currently really uses patternsets rather than filesets. The and patterns from the implicit fileset are used with all source base directories to get the set of Java files to compile. In effect the and are filtering based on Java package name (expressed in the file system equivalent way). I think it would be possible to support filesets directly - just nobody has done it to date. I think to work in with the right way, the fileset basedir would need to be the package root. There would be some work to do to make sure that the fileset basedirs were added to the list of source dirs, etc. Definitely possible. Conor --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org