| Author |
Multiple excludes for ant copy task
|
Dale DeMott
Ranch Hand
Joined: Nov 02, 2000
Posts: 512
|
|
Looking to do multiple excludes when copying files. One will be a directory and the other will be a file name. Specifically the directory is pdf and the file is testhome.jsp I can exclude the specific file but not sure how to do the directory and the file. TIA
|
By failing to prepare, you are preparing to fail.<br />Benjamin Franklin (1706 - 1790)
|
 |
Paul Sturrock
Bartender
Joined: Apr 14, 2004
Posts: 10336
|
|
Don't know if you can use directory names with excludes in filesets. You might want to look at if the other way round and explicitly include the directories you want. [ June 23, 2004: Message edited by: Paul Sturrock ]
|
JavaRanch FAQ HowToAskQuestionsOnJavaRanch
|
 |
Nathaniel Stoddard
Ranch Hand
Joined: May 29, 2003
Posts: 1258
|
|
|
As far as I remember, you can have multiple nested filesets in your copy task.
|
Nathaniel Stodard<br />SCJP, SCJD, SCWCD, SCBCD, SCDJWS, ICAD, ICSD, ICED
|
 |
 |
|
|
subject: Multiple excludes for ant copy task
|
|
|