Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to copy over the JSPs?

 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34837
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Garrett Smith
Ranch Hand
Posts: 401
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know why I missed that before. It looks like there's an attribute and an element for includes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic