The Mojo team is pleased to announce the release of Animal Sniffer version
1.5.
This is the third release of Animal Sniffer
(http://mojo.codehaus.org/animal-sniffer/) since it moved from
java.net to the mojo project at codehaus. We have fixed a number of
bugs (
http://jira.codehaus.org/secure/Rel
Main problem was having the nested classes as 'static.
Jan
import java.util.ArrayList;
import java.util.List;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Task;
import org.apache.tools.ant.types.DataType;
public class MyTask extends Task {
// Hold a list of real Things-
Instead of first selecting a file and then checking its content I would do the
other order:
1. Select all files which contains the searchstring
2. replace the the tokens
1. is done with a selector:
2. your task, but with nested from #1
Jan