aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes How to copy over the JSPs? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "How to copy over the JSPs?" Watch "How to copy over the JSPs?" New topic
Author

How to copy over the JSPs?

Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401
This should be an easy question.

ANT has an exclude but not an include. I want to exclude everything except **/*.jsp.

(the above example won't work, but it is what I am trying to do).
[ May 05, 2007: Message edited by: Garrett Smith ]

comp.lang.javascript FAQ: http://jibbering.com/faq/
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 30548
    
151

Originally posted by Garrett Smith:
ANT has an exclude but not an include.

Ant has both an exclude and an include for filesets. The fileset documentation page gives examples of both.


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Garrett Smith
Ranch Hand

Joined: Jun 27, 2002
Posts: 401
I don't know why I missed that before. It looks like there's an attribute and an element for includes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to copy over the JSPs?