Re: Self written ant task does not get the CLASSPATH passed to ant with -lib option

2009-08-25 Thread Stefan Bodewig
On 2009-08-25, Hans Deragon wrote: > Why the paths passed to ant with -lib are not found in the CLASSPATH? Because -lib doesn't work that way 8-) Ant's launcher constructs a new classloader containing the stuff from -lib and loads Ant's Main class using that classloader. > How can I fix this?

RE: Best way to use fileset in javac

2009-08-25 Thread Mikael Petterson
Hi, It is not filtering out the files that I don't want included in my compile. Any more ideas out there? Br, //mike -Original Message- From: Ognjen Blagojevic [mailto:ogn...@etf.bg.ac.rs] Sent: den 25 augusti 2009 15:57 To: Ant Users List Subject: Re: Best way to use fileset in javac

Self written ant task does not get the CLASSPATH passed to ant with -lib option

2009-08-25 Thread Hans Deragon
Greetings. Moving ant scripts from Eclipse to a standalone system, I found out that my own written Ant task does not get the full CLASSPATH passed to ant with the -lib option. ant \ -lib /somepath \ -lib /somepath/ant.personal.properties \ -lib /usr/java5/lib \ -lib /usr/java5/jre/l

Re: Best way to use fileset in javac

2009-08-25 Thread Ognjen Blagojevic
Mikael Petterson wrote: Where do I add this to my javac target to make sure that no other files in my src tree is compiled. Try to add it to "sourcepathref" parameter of the javac task. Regards, Ognjen - To unsubscribe, e-mai

AW: How to remove a property from a file

2009-08-25 Thread Jan.Materne
>> I added that as in revision >> 806154. >> > >I don't know the release schedule for Ant. What version will this >revision be available into, and when can I expect it? Good news: Stefan has volunteered to be the release manager and he is working on that. So I would expect a release (with a very

Re: How to remove a property from a file

2009-08-25 Thread Francis GALIEGUE
On Thu, Aug 20, 2009 at 15:04, wrote: [...] > > I added that as in revision > 806154. > I don't know the release schedule for Ant. What version will this revision be available into, and when can I expect it? Thanks in advance, -- Francis Galiegue ONE2TEAM Ingénieur système Mob : +33 (0) 683 8