RE: FTP "Depends" option for size as well as date?

2006-12-20 Thread JWM
I lost you. Are you saying that if I change the timestamp locally, it will re-upload? I don't understand where the hash comes into play. If I change the date, it's going to upload anyway. Does somehow compare MD5 hash of the file on the server to the MD5 hash of the file locally? If that is t

Re: please update the next release of Ant 1.7 to Xerces 2.9.0

2006-12-20 Thread Jacob Kjome
Quoting Steve Loughran <[EMAIL PROTECTED]>: > Jacob Kjome wrote: > > > > Since this missed the 1.7.0 release, here's a friendly reminder to put > > it on the agenda for the 1.7.1 release. I'm a little curious why this > > didn't make it? It fixed a lot of bugs and finally included a proper > > o

Re: selecting empty directories

2006-12-20 Thread Matt Benson
It might be easiest to write a custom File or Resource selector. Ant probably should ship with some way to accomplish this however. :| -Matt --- [EMAIL PROTECTED] wrote: > hi all, > > how do you select empty directories/folders? (a > directory which has no files or > folders in it?) > > i do

AW: FTP "Depends" option for size as well as date?

2006-12-20 Thread Jan.Materne
The catches all files which were already selected my storing their MD5-hash (other algorithms could be plugged in). So that could help if you change the timestamp locally. It does not help if your upload breaks. Jan >-Ursprüngliche Nachricht- >Von: JWM [mailto:[EMAIL PROTECTED] >G

FTP "Depends" option for size as well as date?

2006-12-20 Thread JWM
I use the FTP task extensively with the 'depends' option to keep all of the files on my server in sync with my local copy. The problem is that I tranfer many huge files (audio/video) and periodically, an FTP will die in the middle of a transfer. The problem is that even if only two bytes of 100

Re: selecting empty directories

2006-12-20 Thread Pascal Quesseveur
paul.arzul writes (2006-12-20, 14:05:24): >how do you select empty directories/folders? (a directory which has no files or >folders in it?) The following code uses and target from ant-contrib to list empty dirs under project.dir:

RE: [ANN] Ant 1.7.0 Released

2006-12-20 Thread RADEMAKERS Tanguy
Congratulations to the Apache Ant Team, and i'm sure i speak for all us users when i say thanks a lot for all the time and effort you put into this. Regs, /t >-Original Message- >From: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] >Sent: Wednesday, December 20, 2006 4:22 AM >To: Ant D

selecting empty directories

2006-12-20 Thread paul . arzul
hi all, how do you select empty directories/folders? (a directory which has no files or folders in it?) i don't want to exclude them, i want to list and warn about them (so is no help). i've tried dozens of options, faq, etc. and many convoluted attempts later, i'm left looking at what seems th

Re: 1.6.5 -> 1.7.0 Unit test failures

2006-12-20 Thread David Harrigan
Hi, Thanks again! Well, following your advice, I found a rogue ant in jrun.jar. By removing this jar it worked fine. Thanks for your help indeed :-) -=david=- Peter Reilly-2 wrote: > > Ok, > Then I do not know what is wrong. > The missing method > "org.apache.tools.ant.util.FileUtils.close(L

sparta xml parser

2006-12-20 Thread jim . fuller
has anyone had a chance to try out http://sourceforge.net/projects/sparta-xml/ as a drop in replacement for xerces, quite fast...I used it to optimise a very complex build process and got some impressive perf figures, though havent had a chance to write any Ant tests for it. wondering if anyo

Re: please update the next release of Ant 1.7 to Xerces 2.9.0

2006-12-20 Thread Steve Loughran
Jacob Kjome wrote: Since this missed the 1.7.0 release, here's a friendly reminder to put it on the agenda for the 1.7.1 release. I'm a little curious why this didn't make it? It fixed a lot of bugs and finally included a proper official release of xml-commons-external (xml-apis-1.3.04.jar)

Re: 1.6.5 -> 1.7.0 Unit test failures

2006-12-20 Thread Peter Reilly
Ok, Then I do not know what is wrong. The missing method "org.apache.tools.ant.util.FileUtils.close(Ljava/io/Writer;)" is in ant 1.6.5 and ant 1.7.0. It may be that one of the jars has a bundled (older) ant implementation and the FileUtils from that has got picked up. I would go tru the jar files

Re: 1.6.5 -> 1.7.0 Unit test failures

2006-12-20 Thread David Harrigan
Hi, Thanks for your reply, but unfortunately, that's not the case. lrwxrwxrwx 1 david david 17 2006-12-20 08:34 ant -> apache-ant-1.7.0/ drwxr-xr-x 6 david david 4.0K 2006-12-13 12:15 apache-ant-1.7.0 this is in the javastuff directory. I normally symlink in stuff so I can swap out versions

Re: R: Ant-sql task in rel 1.7.0

2006-12-20 Thread Peter Reilly
On 12/20/06, Caleandro <[EMAIL PROTECTED]> wrote: Hi Peter, Thank you for suggestion, it was right. As consequence I could verify that the -noproxy option is due in other situation as well, like posting an http request via Canoo-WebTest tasks and so on (related Ant 1.7.0RC1 and Java 1.5). But

R: Ant-sql task in rel 1.7.0

2006-12-20 Thread Caleandro
Hi Peter, Thank you for suggestion, it was right. As consequence I could verify that the -noproxy option is due in other situation as well, like posting an http request via Canoo-WebTest tasks and so on (related Ant 1.7.0RC1 and Java 1.5). But please, can you explain to me why this, as the Ant m

Re: xmlvalidate: check for well-formedness *only*

2006-12-20 Thread Peter Reilly
I do not know how to tell xerces to not follow a dtd. Note that a dtd does not only have validity stuff, but it can also define entities so turning of validation does not have to mean do not look at the dtd. I ran into a similar problem at work, and could be be bothered to figure out what magic I

Re: 1.6.5 -> 1.7.0 Unit test failures

2006-12-20 Thread Peter Reilly
On 12/20/06, David Harrigan <[EMAIL PROTECTED]> wrote: Hi, So, trying out Ant 1.7.0. When I run my unit tests I get these errors that do not appear when I run using Ant 1.6.5 (note: nothing has changed, just the version of Ant that I'm using...) [junit] Exception in thread "main" java.lang

1.6.5 -> 1.7.0 Unit test failures

2006-12-20 Thread David Harrigan
Hi, So, trying out Ant 1.7.0. When I run my unit tests I get these errors that do not appear when I run using Ant 1.6.5 (note: nothing has changed, just the version of Ant that I'm using...) [junit] Exception in thread "main" java.lang.NoSuchMethodError: org.apache.tools.ant.util.FileUtils.c

AW: Ant Property Task - Environment Variables

2006-12-20 Thread Jan.Materne
In the source ;-) [1] --> Property.java [2] execute() --> Property.loadEnvironment(String) --> Execute.getProcEnvironment() [3] --> Execute.getProcEnvCommand() ==> os/2 cmd /c set windows - win9xcommand.com /c set - othercmd /c set z/os /bin/env OR /usr/b