AW: AW: Call Ant task from java file

2005-08-14 Thread Rüegsegger Martin
>Yes, that's right. But I didn't get any output at all when running the >task from inside a java class. So how can I get the ant log messages as a >string? > > From my first message: > >BuildLogger log = new DefaultLogger(); >log.setMessageOutputLevel(Project.MSG_VERBOSE); >log.setOutputPrintS

AW: AW: Call Ant task from java file

2005-08-14 Thread Jan.Materne
TED] >Gesendet: Freitag, 12. August 2005 16:47 >An: Ant Users List >Betreff: Re: AW: Call Ant task from java file > >Am Fri, 12 Aug 2005 15:51:37 +0200 schrieb ><[EMAIL PROTECTED]>: > >> And you´re trying to catch files (include="**/CVS/") without >to

Re: AW: Call Ant task from java file

2005-08-12 Thread graste
Am Fri, 12 Aug 2005 15:51:37 +0200 schrieb <[EMAIL PROTECTED]>: And you´re trying to catch files (include="**/CVS/") without touching the default excludes... Thanks. Default excludes were an issue. I could successfully run my plugin and the ant task from it to delete files. But I wonder:

AW: Call Ant task from java file

2005-08-12 Thread Jan.Materne
And you´re trying to catch files (include="**/CVS/") without touching the default excludes... Jan >-Ursprüngliche Nachricht- >Von: Rüegsegger Martin [mailto:[EMAIL PROTECTED] >Gesendet: Freitag, 12. August 2005 15:50 >An: Ant Users List; [EMAIL PROTECTED] >B

AW: Call Ant task from java file

2005-08-12 Thread Rüegsegger Martin
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(); pro

Call Ant task from java file

2005-08-12 Thread graste
Hi, I'm new to ant tasks and their use outside of ant. I want to execute ent tasks outside of build.xml in a simple java class. My sample source code (inside a public static method of a plugin): -- // project Project project = new Project(); project.init(); // fileset FileSet fs = new