ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Call Ant task from java file
Date Fri, 12 Aug 2005 13:51:37 GMT
And you´re trying to catch files (include="**/CVS/") without touching the default excludes...


>-----Ursprüngliche Nachricht-----
>Von: Rüegsegger Martin [] 
>Gesendet: Freitag, 12. August 2005 15:50
>An: Ant Users List;
>Betreff: AW: Call Ant task from java file
>Hi Steffen 
>"First question: What am I doing wrong?"
>You didn't specify, what's going wrong, when you run your code. 
>I recommend writing an Ant task first and then use it outside 
>of a build.xml instead of using ant classes directly. Here's 
>an example:
>Project project = new Project();
>Target target = new Target(); 
>ReorganizeAntTask rat   = new ReorganizeAntTask(); 
>Maybe you code fails only because of the missing dummy target object.
>To unsubscribe, e-mail: For 
>additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message