Advertisement

02.03.2006 at 10:58AM PST, ID: 21723031
[x]
Attachment Details

Ant fileset exclude

Asked by blackfrancis75 in Java Programming Language, J2EE

Tags: ant, exclude, fileset

Hi, I'm trying to get ant to exclude source files in a subdirectory called /eaf_schemas/ which is several levels deep in my source tree.  I've tried:

<fileset dir="${src.dir}" includes="**/*.java" excludes="**eaf_schemas*/*.java"/>

and numerous other permutations, but cannot seem to get it right.  Can anyone help?

Start Free Trial
[+][-]02.03.2006 at 11:02AM PST, ID: 15866482

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2006 at 11:09AM PST, ID: 15866554

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2006 at 11:09AM PST, ID: 15866558

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Java Programming Language, J2EE
Tags: ant, exclude, fileset
Sign Up Now!
Solution Provided By: orangehead911
Participating Experts: 3
Solution Grade: A
 
 
[+][-]02.03.2006 at 11:16AM PST, ID: 15866648

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.03.2006 at 11:16AM PST, ID: 15866652

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.03.2006 at 11:16AM PST, ID: 15866657

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.03.2006 at 11:23AM PST, ID: 15866732

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]02.03.2006 at 11:44AM PST, ID: 15867035

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32