Re: AW: AW: how to access/iterate id in

2007-01-05 Thread Peter Reilly
On 1/4/07, Steve Loughran <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: >> 2) >> The java api of some types in ant were not really designed for >> ease of use. > > It's much easier to use instead of , e.g. > > Compare the execute()-implementation between [1] and [2]. > > ahh, but as of a

Re: Resource Collections in 1.7

2007-01-05 Thread Peter Reilly
On 1/4/07, Rebo, Alex <[EMAIL PROTECTED]> wrote: Thank you, Matt, will try looping from ant-contrib. One thing I noticed running Ant: [antlib:org.apache.tools.ant] Could not load definitions from resource org/apach e/tools/ant/antlib.xml. It could not be found. You should only see that when us

Re: problem: null characters written to stdout from multiple sshexec calls

2007-01-05 Thread Peter Reilly
On 1/5/07, glenn opdycke-hansen <[EMAIL PROTECTED]> wrote: bug 41304 created for ant 1.7 I had used the patch from 1.6.5 with success. However when i tested ant 1.7 this problem surfaced. If the build process for 1.7 is similar, I should be able to come up with a proposed fix. The build proc

problem: null characters written to stdout from multiple sshexec calls

2007-01-05 Thread glenn opdycke-hansen
bug 41304 created for ant 1.7 I had used the patch from 1.6.5 with success. However when i tested ant 1.7 this problem surfaced. If the build process for 1.7 is similar, I should be able to come up with a proposed fix. --glenn --

Re: AW: extract file date in a given format

2007-01-05 Thread T E Schmitz
T E Schmitz wrote: [EMAIL PROTECTED] wrote: I tried : l = new java.lang.Long (millis); d = new java.util.Date(l); This also results in a IllegalArgumentException when creating the Date. What an idiot! It's got to be d = new java.util.Date(l.longValue()); -- Regards/Gruß, Tarlika Elisabe

Re: AW: extract file date in a given format

2007-01-05 Thread T E Schmitz
[EMAIL PROTECTED] wrote: I tried to write a second script but am getting an IllegalArgumentException on "new Date(millis)": Project: public String getProperty(String propertyName) You have to convert the String into a long. I tried : l = new java.lang.Long (millis);

Re: Odd Behavior

2007-01-05 Thread Steve Loughran
Alasdair Young wrote: I bought the book "Pragmatic Project Automation" and tried following the steps. (There is a free chapter online to do with CC) Unfortunately this book is outdated and many of the examples do not work, use deprecated methods etc. Getting CC working with subversion was also