>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
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
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:
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
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
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