AW: simple buildnumber task usage question

2007-08-01 Thread Jan.Materne
That's ok. Sometime the manual is really missing something or is unclear ;) Jan >-Ursprüngliche Nachricht- >Von: Alex Egg [mailto:[EMAIL PROTECTED] >Gesendet: Mittwoch, 1. August 2007 18:57 >An: Ant Users List >Betreff: Re: simple buildnumber task usage question > >I'm so embarrassed! >

Target.getTasks returns UnknownElement

2007-08-01 Thread James Mao
Hi, I'm trying to parse the build.xml myself, and tried to get the tasks object with the following code File buildFile = new File("c:/myproject/build.xml"); Project project = new Project(); project.init(); project.setUserProperty( "ant.file" , buildFile.getAbsolute

Re: concat task on group of utf 8 files w/ BOM

2007-08-01 Thread Dominique Devienne
On 8/1/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > On 8/1/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: > > On 8/1/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > > > I do not think that filter chains will help here as they > > > operate on Readers and not on input streams. > > > > Actually, th

Re: concat task on group of utf 8 files w/ BOM

2007-08-01 Thread Peter Reilly
On 8/1/07, Dominique Devienne <[EMAIL PROTECTED]> wrote: > On 8/1/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > > I do not think that filter chains will help here as they > > operate on Readers and not on input streams. > > Actually, that may be why it "should" work. Java knows about optional > BOM

Re: concat task on group of utf 8 files w/ BOM

2007-08-01 Thread Dominique Devienne
On 8/1/07, Peter Reilly <[EMAIL PROTECTED]> wrote: > I do not think that filter chains will help here as they > operate on Readers and not on input streams. Actually, that may be why it "should" work. Java knows about optional BOMs and does the right thing, as long as you tell it that the encoding

Re: concat task on group of utf 8 files w/ BOM

2007-08-01 Thread Peter Reilly
I do not think that filter chains will help here as they operate on Readers and not on input streams. Peter On 8/1/07, Alex Egg <[EMAIL PROTECTED]> wrote: > I don't understand how to use the filterchains, so I just wrote ant ant task > to remove the BOMs. Can you show me an example? > > On 7/31/

Re: simple buildnumber task usage question

2007-08-01 Thread Alex Egg
I'm so embarrassed! On 7/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > No??? > > http://ant.apache.org/manual/CoreTasks/buildnumber.html > ... then set the property build.number to the value that was read in (or > to 0, if no such value). > > > > Jan > > > >-Ursprüngliche Nachricht--

Re: concat task on group of utf 8 files w/ BOM

2007-08-01 Thread Alex Egg
I don't understand how to use the filterchains, so I just wrote ant ant task to remove the BOMs. Can you show me an example? On 7/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > You could try a to get rid off the BOMs when enating > the files. > > Jan > > >-Ursprüngliche Nachricht

Re: TImestamping in ANT

2007-08-01 Thread dkhanna01
HI, I tried with net.sf.antcontrib.perf.AntPerformanceListener but every time I create a build it failed saying java.lang.OutOfMemoryError: Java heap space Java heap space This happens abruptly at any place during cmpile time. Now the same build is running fine with ANT 1.6.1 and without using