This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 32635
    
215

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.


[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, 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?
 
It's not a secret anymore!