Re: Tomcat Client Deployer

2010-03-03 Thread Kaushal Shriyan
On Wed, Mar 3, 2010 at 9:18 PM, Kaushal Shriyan wrote: > On Wed, Mar 3, 2010 at 7:44 PM, Antoine Levy Lambert wrote: >> Hello Kaushal, >> >> If you have a specific problem concerning tomcat deployments, even if you do >> these deployments with ant, you might get more answers on the tomcat users >

Re: 1.8 Performance Degradation

2010-03-03 Thread Stefan Bodewig
On 2010-03-03, Murray, Mike wrote: > Thanks for the quick response. I have no use of "exec" tasks in my test > scenario. Well, that was the only performance degradation we have known of so far. > VisualVM showed that AntClassLoader.getCertificates() was sucking up all > the time. If I revert

how to detect a file while looping thru a list of directories

2010-03-03 Thread Andy2008
I want to loop thru a list of directories and only call a target called "ABC" if a directory contains a "test.xml" file. below is my initial code Do you have any ideas? Thanks -- View this message in context: http://old.nabble.com/how-to-detect-a-file-whi

Re: Problems resolving paths in copy's "tofile" when combining multiple properties

2010-03-03 Thread Oliver Schrenk
Ouch. You are right of course. Good thing is that I learned about the difference about "value" and "location", even If I had to learn it the hard way through public humiliation. Thanks for taking the time. Am 03.03.2010 um 17:01 schrieb Antoine Levy Lambert: > Hello Oliver, > > on mac, becaus

RE: 1.8 Performance Degradation

2010-03-03 Thread Murray, Mike
Thanks for the quick response. I have no use of "exec" tasks in my test scenario. VisualVM showed that AntClassLoader.getCertificates() was sucking up all the time. If I revert AntClassLoader.defineClassFromData() to what it was in 1.7.1, it resolves the performance problem. Thanks, Mike http:

Re: Problems resolving paths in copy's "tofile" when combining multiple properties

2010-03-03 Thread Antoine Levy Lambert
Hello Oliver, on mac, because mac is a UNIX like system, gets expanded to /acme/servlet/messages.properties because of the leading slash, ant thinks that /acme/servlet/messages.properties is an absolute path and should not be resolved. In fact your error is to use the attribute location ins

Re: Problems resolving paths in copy's "tofile" when combining multiple properties

2010-03-03 Thread Oliver Schrenk
I solved my problem by using two properties, one for "file" and one for "tofile" I wonder though why the original approach works on Mac platform but not on windows. There are different two behaviours: 1.MAC: multiple properties in "tofile" are first resolved, concatenated and then converted to

Re: Tomcat Client Deployer

2010-03-03 Thread Kaushal Shriyan
On Wed, Mar 3, 2010 at 7:44 PM, Antoine Levy Lambert wrote: > Hello Kaushal, > > If you have a specific problem concerning tomcat deployments, even if you do > these deployments with ant, you might get more answers on the tomcat users > list. > > I guess that the URL in your deployer.properties sh

Re: Problems resolving paths in copy's "tofile" when combining multiple properties

2010-03-03 Thread Antoine Levy Lambert
Oliver Schrenk wrote: Here is an excerpt from the build file: ... Is this a known issue, expected behavior or just bland misuse of properties on my part? change just this line when you use the idiom, the property is converted to an absolute path. ${classes} is a

Re: Tomcat Client Deployer

2010-03-03 Thread Antoine Levy Lambert
Hello Kaushal, If you have a specific problem concerning tomcat deployments, even if you do these deployments with ant, you might get more answers on the tomcat users list. I guess that the URL in your deployer.properties should point to a server that exists really, not url=http://example:

Problems resolving paths in copy's "tofile" when combining multiple properties

2010-03-03 Thread Oliver Schrenk
Hi, I use an Ant script that shows different behavior on the Mac and Windows platform. Both Ant are used from within Eclipse Mac: Eclipse 3.5 (Build-id, 20090621-0832) with Ant 1.7.1.v20090120-1145 Windows: Eclipse 3.5 (Build id: 20100218-1602) with Ant 1.7.1.v20090120-1145 In particular it fail