ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matt Benson <gudnabr...@yahoo.com>
Subject Re: patternset - including/excluding toggle...
Date Wed, 14 Aug 2002 18:44:35 GMT
The Selector looks like the right way.  Now that I
have looked at it I can't wait to find some excuse to
try it out.  :)

-Matt

--- Erik Hatcher <jakarta-ant@ehatchersolutions.com>
wrote:
> Thats one way. Another option is if your patternset
> is a simple string 
> to assign it to a property and use it in both cases
> that way.
> 
> Or perhaps the new Selector stuff could be leveraged
> with a <not> in one 
> case?
> 
> Stevens, Brigham wrote:
> > OK... I think I have the answer: using
> includesfile and excludes file
> > instead of a pure patternset... This would allow
> me to use the same list
> > in multiple places, but toggle... 
> > 
> > Is this the best/only way to do it? I would rather
> keep it all inline in
> > the build file.
> > 
> > -----Original Message-----
> > From: Stevens, Brigham 
> > Sent: Wednesday, August 14, 2002 11:11 AM
> > To: ant-user@jakarta.apache.org
> > Subject: patternset - including/excluding
> toggle...
> > 
> > I have a pattern set that I want to be included in
> one step (both in jar
> > and copy tasks), but then the same patternset to
> be excluded in a
> > different task (again both in jar and copy). The
> goal is to have a task
> > that builds and deploys only a subset of the
> project, where the rest of
> > the project always exludes these same files. I
> didn't see on a fileset
> > how a patternset could be used, toggling the
> include/exclude.
> > 
> > Thanks in advance,
> > --brigham
> > 
> > --
> > To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> > For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> > 
> > 
> > 
> 
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:ant-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message