jQuery in Action, 3rd edition
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 Building Microservices this week in the Design 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: 32507
    
214

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: How to copy over the JSPs?
 
It's not a secret anymore!