RE: intra-element attribute property resolution issue

2007-01-22 Thread Jacob Kjome
At 05:22 PM 1/22/2007, you wrote: >> -Original Message- >> From: Jacob Kjome [mailto:[EMAIL PROTECTED] >> Sent: Monday, January 22, 2007 3:13 PM >> To: Ant Users List >> Subject: Re: intra-element attribute property >> resolution issue >> >> >> I think Brian is correct. XML attributes ha

RE: intra-element attribute property resolution issue

2007-01-22 Thread Rick Genter
> -Original Message- > From: Jacob Kjome [mailto:[EMAIL PROTECTED] > Sent: Monday, January 22, 2007 3:13 PM > To: Ant Users List > Subject: Re: intra-element attribute property > resolution issue > > > I think Brian is correct. XML attributes have no defined > order other than the >

Re: intra-element attribute property resolution issue

2007-01-22 Thread Jacob Kjome
I think Brian is correct. XML attributes have no defined order other than the obvious alphabetical order, which might be an implementation detail. Even so, I wonder if logic could be written to maximize resolution. If a property is found to not be resolved, it could be deferred until other attr

AW: Delete files missing from another directory

2007-01-22 Thread Jan.Materne
>> Is there any way to delete files in one directory, say >directory A, that are >> NOT in another directory, say directory B? I'm looking for something >> similar to the depends attribute in the FTP tag. > >Look at File Selectors, especially the one. --DD Means something like

Re: Delete files missing from another directory

2007-01-22 Thread Dominique Devienne
On 1/22/07, Eric Bessette <[EMAIL PROTECTED]> wrote: Is there any way to delete files in one directory, say directory A, that are NOT in another directory, say directory B? I'm looking for something similar to the depends attribute in the FTP tag. Look at File Selectors, especially the one. -

Delete files missing from another directory

2007-01-22 Thread Eric Bessette
Is there any way to delete files in one directory, say directory A, that are NOT in another directory, say directory B? I'm looking for something similar to the depends attribute in the FTP tag. For example, if file 1 and file 2 were in directory A, but directory B only contained file 2, then

Re: java errors when running build file

2007-01-22 Thread Mike . Horn
Thanks all for your input, especially to Steve for your laymans explanation at the foot of your last post! As this build file will be run by a cron job in the wee small hours of the morning, and doesn't require any user input, I don't think I need to bother too much about my JVM's lack uf suppo

Re: intra-element attribute property resolution issue

2007-01-22 Thread Steve Loughran
Brian Agnew wrote: Hi - I don't believe there's any concept of attribute ordering in XML (and hence in any DOM implementation). See http://www.w3.org/TR/REC-xml/, section 3.1 Brian yeah, I'd turned to the w3c afterwards, and they dont specify any particular order in things appearing. I d

Re: intra-element attribute property resolution issue

2007-01-22 Thread Brian Agnew
Hi - I don't believe there's any concept of attribute ordering in XML (and hence in any DOM implementation). See http://www.w3.org/TR/REC-xml/, section 3.1 Brian Steve Loughran wrote: Jacob, I've been looking at teh xmlproperty source. The order the task works through attrs is driven by t

Re: java errors when running build file

2007-01-22 Thread Steve Loughran
Dalibor Topic wrote: Steve Loughran apache.org> writes: Mike.Horn wincanton.co.uk wrote: Hello HP-UX11i Java 1.3 ANT v.1.7.0 $ ant -f Unix_Build.xml Buildfile: Unix_Build.xml [property] java.lang.reflect.InvocationTargetException: java.lang.IllegalArgume ntException: Unknown signal: HU

Re: intra-element attribute property resolution issue

2007-01-22 Thread Steve Loughran
Jacob, I've been looking at teh xmlproperty source. The order the task works through attrs is driven by the order it comes from the DOM in node.getAttributes(): if (node.hasAttributes()) { NamedNodeMap nodeAttributes = node.getAttributes(); // Is there an id at