Re: testing to see if a file contains a string

2006-07-26 Thread Dominique Devienne
Good catch. I had missed the introduction of this condition in 1.6.3. Thanks, --DD On 7/26/06, Andrew Goktepe <[EMAIL PROTECTED]> wrote: You can also do this: See http://ant.apache.org/manual/CoreTypes/selectors.html -Andrew On 7/26/06, Dominique Devienne <[EMAIL PROTECTED]> wrote:

Re: testing to see if a file contains a string

2006-07-26 Thread Andrew Goktepe
You can also do this: See http://ant.apache.org/manual/CoreTypes/selectors.html -Andrew On 7/26/06, Dominique Devienne <[EMAIL PROTECTED]> wrote: Use but with a nested filter, so the property will be empty when the string is not found, which avoid storing the whole file in the pr

Re: testing to see if a file contains a string

2006-07-26 Thread Dominique Devienne
Use but with a nested filter, so the property will be empty when the string is not found, which avoid storing the whole file in the property. Then test whether the property is empty or not with a condition. Wrap the whole thing in a macro for convenience and expressiveness. --DD On 7/26/06, EJ

RE: ccupdate not getting all files

2006-07-26 Thread Anderson, Rob (Global Trade)
Also, if a file is hijacked, cleartool will not update it unless you specifically tell it to. In the Ant task you would need to specify rename="true" to have hijacked files renamed with a .keep extension and the latest version fetched from clearcase during the update. -Rob A > -Original Mess

RE: ccupdate not getting all files

2006-07-26 Thread Anderson, Rob (Global Trade)
Since ccupdate is really a wrapper around cleartool, your question is really a clearcase question. However, since I use clearcase I may be able to help. First, I will assume that you are sharing a stream among several developers. Take a look at the version tree of the files that are not updated. Th

testing to see if a file contains a string

2006-07-26 Thread EJ Ciramella
Is there some easy way to do this, or must I use then test to see if the property contains the string I'm looking for? I could have sworn there was an easy way to do this, but I can't find it now...

ccupdate not getting all files

2006-07-26 Thread Bryan . S . Queen
For some reason ccupdate is not updating all the files in the specified view. My ant script does this: 1. deletes all files from the local snapshot view of the ClearCase project view 2. updates the local snapshot view from the stream here's my ccupdate task: ccupdate does just what one woul

RE: SCP Auth Faild

2006-07-26 Thread Anderson, Rob (Global Trade)
Nevermind about trying to test if SSH2 protocol is supported. You would get a different error if SSH2 was not supported. I just tried a bunch of scenarios and the only one that produced the "Auth Fail" error was a wrong username/password combo. I know you have checked and double checked, but one

RE: SCP Auth Faild

2006-07-26 Thread Anderson, Rob (Global Trade)
Also, what versions on Ant and Jsch are you using? -Rob A > -Original Message- > From: PHILIPPE Johan [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 26, 2006 1:45 AM > To: Ant Users List > Subject: RE: SCP Auth Faild > > This could be it, the version is > > OpenSSH_4.1p1, OpenSSL 0.

RE: SCP Auth Faild

2006-07-26 Thread Anderson, Rob (Global Trade)
The version you are using supports the diffie-hellman key exchange method. Also, make sure that the server is configured to support SSH2 protocol. You could do this by logging in with like Putty and running... ssh -2 localhost Or, in Putty there is an option to use SSH protocol version 2 only. By

Re: strange problem starting ant

2006-07-26 Thread jm
Ok, we found it, ant.home=C:\apache-ant-1.6.5\, the ending \ was the problem... thanks everybody On 7/26/06, Conor MacNeill <[EMAIL PROTECTED]> wrote: Do you have a CLASSPATH set? Does it have quotes in it? If so, remove them. If you want to debug this, turn echo on in the ant.bat file and see

Re: Mirror has bad md5checksum

2006-07-26 Thread Steve Loughran
Karl Zilles wrote: Downloading ant from http://ant.apache.org/bindownload.cgi, I was directed to a mirror: apache.adult-pilot.net. I downloaded the file http://apache.adult-pilot.net/ant/binaries/apache-ant-1.6.5-bin.zip And compared the md5 checksum. It does not match. $ md5sum.exe apache

War task documentation update about winzip

2006-07-26 Thread Master, Tariq \(Abbeywood\)
At the very bottom of the war task page is a remark about winzip not allowing all uppercase directory names. Winzip has an option allowing all uppercase names (which is off by default!). It can be enabled by: Menu "Options" -> "Configuration", "View" property/tab page, then "General" group box h

Re: strange problem starting ant

2006-07-26 Thread Conor MacNeill
Do you have a CLASSPATH set? Does it have quotes in it? If so, remove them. If you want to debug this, turn echo on in the ant.bat file and see what is going wrong. Conor jm wrote: > Hi, > > we are experiencing an strange problem, never seen that before. Our > env is ant1.6.5, jdk1.5.0.07, on a

Re: strange problem starting ant

2006-07-26 Thread jm
thanks guys, yes, we have ANT_OPTS, but not ANT_ARGS. Our scripts are working fine in a number of machines. Now that I think the only new thing is java 1.5.0.07, it's the first time we use that update. On 7/26/06, Burgess, Benjamin <[EMAIL PROTECTED]> wrote: There was a bug with the Launcher cl

RE: strange problem starting ant

2006-07-26 Thread Burgess, Benjamin
There was a bug with the Launcher class that was released with Ant 1.6.5 - do you by chance have any ANT_ARGS set, such as -lib or -noclasspath etc...? See http://issues.apache.org/bugzilla/show_bug.cgi?id=36171 Ben -Original Message- From: jm [mailto:[EMAIL PROTECTED] Sent: Wednesday,

Re: strange problem starting ant

2006-07-26 Thread Dominique Devienne
Any ANT_OPTS or ANT_ARGS vars? Do a set ANT at the prompt to see which vars are set. --DD On 7/26/06, jm <[EMAIL PROTECTED]> wrote: Hi, we are experiencing an strange problem, never seen that before. Our env is ant1.6.5, jdk1.5.0.07, on a xp. ANT_HOME and JAVA_HOME are set properly, ant\bin is

strange problem starting ant

2006-07-26 Thread jm
Hi, we are experiencing an strange problem, never seen that before. Our env is ant1.6.5, jdk1.5.0.07, on a xp. ANT_HOME and JAVA_HOME are set properly, ant\bin is on the path. When we run 'ant', we get the following: Usage: java [-options] class [args...] (to execute a class) or ja

RE: SCP Auth Faild

2006-07-26 Thread PHILIPPE Johan
This could be it, the version is OpenSSH_4.1p1, OpenSSL 0.9.7d 17 Mar 2004 Thanks for the hint, I'll see if I can confirm it and in the mean time get rid of the issue. MVrGr, Johan > -Original Message- > From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED] > Sent: dinsdag 25