D
Duane Morin
I'm trying to write an Ant task that searches for Java files
containing the string X, and then copies the associated class files to
a new directory. I'm using the <contains> selector to locate the
*.java files, but then the question is how to I say "Give me the class
file associated wth this java file?" I tried using a <mapper
from="*.java" to="*.class"/> which appeared to work at first until I
realized that it was taking the java file and simply renaming it.
Duane
containing the string X, and then copies the associated class files to
a new directory. I'm using the <contains> selector to locate the
*.java files, but then the question is how to I say "Give me the class
file associated wth this java file?" I tried using a <mapper
from="*.java" to="*.class"/> which appeared to work at first until I
realized that it was taking the java file and simply renaming it.
Duane