ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KC Baltz <KBa...@responsenetworks.com>
Subject RE: Patterns
Date Thu, 20 Jul 2000 20:34:45 GMT
Just remove the excludes clause from the second example.  

> -----Original Message-----
> From: Shaw, Kendall [mailto:KShaw@abtcorp.com]
> Sent: Thursday, July 20, 2000 4:28 PM
> To: ant-dev@jakarta.apache.org
> Subject: RE: Patterns
> 
> 
> > From: Russell Gold [mailto:russgold@acm.org]
> > Sent: Thursday, July 20, 2000 1:17 PM
> >
> > The select decides which files are fed to the compiler. Javac 
> > will compile 
> > any files you give it AND any files which those classes 
> > depend on.  In the 
> > first target, although you did not specify the User.java 
> > file, one of the 
> > files you did specify must depend on it.
> 
> Your right. Okay this makes sense.
> 
> >  From the ant documentation:
> > 
> > "When both inclusion and exclusion are used, only 
> > files/directories that 
> > match the include patterns, and don't match the exclude 
> > patterns are used."
> > 
> > You have excluded every file, so nothing gets compiled.
> 
> So, is there a way to compile just one file, other than with exec?
> 
> Kendall
> 

Mime
View raw message