jardesc

2005-10-14 Thread mustaoglu serdar
hi all, can i use jardesc file (eclipse jar creation file) in jar ant task or another task to jar class? thanks... - Yahoo! Music Unlimited - Access over 1 million songs. Try it free.

Re: How can ant detect it is running on a 64 bit machine?

2005-10-14 Thread Robert Clark
On Thursday October 13, 2005 08:06 pm, "Marion, Patrick" <[EMAIL PROTECTED]> wrote: > Problem: > have ant tell me whether I am running on a 64 bit architecture. > > I thought the solution was: > > check for the value of the "os.arch" property. > > Unfortunately, if I can make something

Re: invoking the logger in the constructor

2005-10-14 Thread Peter Reilly
The two init calls issue has been fixed in the ant-core SVN head. If you want to use log in a constructor, you can use the (Project p) constructor: public MyCustomTask (Project project) { setProject(project); System.out.println("Instanciated"); log("Hello");

AW: invoking the logger in the constructor

2005-10-14 Thread Jan.Materne
>> >> public class MyCustomTask extends Task { >> public MyCustomTask () >> { >> System.out.println("Instanciated"); >> } >> } >> > >regarding the exception in the constructor; send a stack trace. > > >Ant tasks normally use the log() operations, with different >levels of ve

Re: invoking the logger in the constructor

2005-10-14 Thread Steve Loughran
Thomas SMETS wrote: dear, I create a simple task as indicated in the ANT book : "Ant: The Definitive Guide", Second Edition from O'Reilly. Something like import java.io.IOException; import org.apache.tools.ant.Task; import org.apache.tools.ant.taskdefs.Execute; import org.apache.tools.ant.typ

AW: taskdef problem

2005-10-14 Thread Jan.Materne
http://ant.apache.org/manual/tutorial-writing-tasks.html#use1 Jan >-Ursprüngliche Nachricht- >Von: Matt Benson [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 12. Oktober 2005 16:44 >An: Ant Users List >Betreff: Re: taskdef problem > >set the classpath on the taskdef itself after having

AW: question about excluding packages

2005-10-14 Thread Jan.Materne
>I want to exclude a package, common, in my java application >and then execute javancss from ant. > >How can I exclude the common package in my source tree and >then run my javancss. > - + Jan -

AW: Used tasks

2005-10-14 Thread Jan.Materne
Just a quick shot ... E.g. it doesnt recognizes TaskContainers (needs recursive search), so constructs like 1 2 3 are found (only "parallel" will be found). Jan >-Ursprüngliche