The moose likes Ant, Maven and Other Build Tools and the fly likes excludes problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "excludes problem" Watch "excludes problem" New topic
Author

excludes problem

T. Anthony Chen
Ranch Hand

Joined: Jul 28, 2004
Posts: 38
I am trying to exclude some files from my fixcflf task. Here what my script looks like. But the index.html file in the ./test/j/ directory doesn't get excluded. Can someone tell me why? Thanks.

Sometimes things that look so simple can drive you nuts.

<fixcrlf
srcdir="test"
casesensitive="false"
fixlast="false"
includes="**/*.h,**/*.xml,**/*.htm,**/*.html,**/*.txt,**/*.c,**/*.cpp,**/*.java,**/*.xmi,**/*.tld,**/*.css,**/doxyfile,**/*.dfsequence,**/*.mak,**/*.sh,**/*.xpm,**/makefile*,**/*.psl,**/*UCS2*,**/adobe*"
excludes="test/j/index*"
/>
[ September 09, 2004: Message edited by: Bear Bibeault ]

T. Anthony Chen<br />---------------<br />SCJP, SCJD, SCBCD, SCWCD, SCEA
T. Anthony Chen
Ranch Hand

Joined: Jul 28, 2004
Posts: 38
OK. I changed the excludes line to excludes="**/j/index.html", then it worked. Don't know why, though.
 
 
subject: excludes problem
 
Threads others viewed
Query Regarding String ???
Integer.equals(Long)???
I hate spending 3 weeks on the tools, not coding
JUnit testing with int[] result
equals versus ==
developer file tools