> /** > * Executes the desObfuscate task. > */ > @Override > public void execute() throws BuildException > { > myProject = new Project(); > > // Create ANT tasks > Task delete = (Delete) > myProject.createTask(DELETE_TASK); > > } > }
You shouldn't create a new Project object, You should call the getProject() method to get a reference to the project object under which the obfuscate task is defined. ____________________________________________________________________________________ Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org