How to get substring of a property

2009-03-30 Thread Document
Hi, How do I get a substring of a property? Lets say I have a property whose value is "some.value". I want only the characters before the dot i.e. "some". Any pointers? Please reply to me along with the u...@ant.apache.orgemail id Thanks P

Re: CVS with SSH

2009-03-30 Thread Michael Hüttermann
interesting !! .. this does work for SSH? How does the target "create.cvsroot" look like ? Henning Lötsch schrieb: i use this target: Francis Galiegue schrieb: Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit : hmmm ok .. but how would the cvs task i

Re: CVS with SSH

2009-03-30 Thread Henning Lötsch
i use this target: Francis Galiegue schrieb: > Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit : >> hmmm ok .. but how would the cvs task itself then look like ? >> Thanks!! >> > > You can't do that unless you the CVS command, as far as I've read so > far. > >

Re: CVS with SSH

2009-03-30 Thread David Weintraub
You can set the CVSROOT via the task, but what you cannot do is set CVS_RSH environment variable which is needed to point to your ssh command that you're using to access CVS. The only way around this is to execute CVS via the . The task allows you to set environment variables and then run the e

Re: CVS with SSH

2009-03-30 Thread Michael Hüttermann
hmm .. does it work with CVS? Actually I do want to start the cvs commands on my machine (not on the remote machine using sshexec) connecting the server with SSH .. or ? Thanks ! Martin Gainty schrieb: Did you try using SSHExec ANT Task? http://ant.apache.org/manual/OptionalTasks/sshexec

RE: CVS with SSH

2009-03-30 Thread Martin Gainty
Did you try using SSHExec ANT Task? http://ant.apache.org/manual/OptionalTasks/sshexec.html ? Martin __ Disclaimer and confidentiality note This message is confidential and may be privileged. If you are not the intended recipient, we kindly ask you

Re: CVS with SSH

2009-03-30 Thread Michael Hüttermann
the OS is Windows. you mean I can only use that by putting the command inside a ? How would the exec look like to do the connection via SSH ? Thanks !! Francis Galiegue schrieb: Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit : hmmm ok .. but how would the cvs task i

Re: CVS with SSH

2009-03-30 Thread Francis Galiegue
Le Monday 30 March 2009 19:29:09 Michael Hüttermann, vous avez écrit : > hmmm ok .. but how would the cvs task itself then look like ? > Thanks!! > You can't do that unless you the CVS command, as far as I've read so far. What OS do you run? If Unix-like (that includes Linux), what shell do you

Multi-Project IvyDE

2009-03-30 Thread Sam Berlin
Hi All, We have a large multi-project repository that currently uses Ivy+Ant and works very well. I'm looking into using IvyDE, but setting it up for a large multi-project repository seems to be a real pain. An ivy.xml file exists in each project, and a shared ivysettings exists under the 'commo

Re: CVS with SSH

2009-03-30 Thread Michael Hüttermann
hmmm ok .. but how would the cvs task itself then look like ? Thanks!! Francis Galiegue schrieb: Le Monday 30 March 2009 18:43:15 Michael Hüttermann, vous avez écrit : Hello, what is the recommended way to connect CVS via SSH using Ant ? Thank you ! You should set CVS_RSH the envi

Re: CVS with SSH

2009-03-30 Thread Francis Galiegue
Le Monday 30 March 2009 18:43:15 Michael Hüttermann, vous avez écrit : > Hello, > > what is the recommended way to connect CVS via SSH using Ant ? > > Thank you ! > You should set CVS_RSH the environment variable to "ssh" (without the quotes, of course). -- Francis Galiegue f...@one2team.com In

CVS with SSH

2009-03-30 Thread Michael Hüttermann
Hello, what is the recommended way to connect CVS via SSH using Ant ? Thank you ! Regards Michael - To unsubscribe, e-mail: user-unsubscr...@ant.apache.org For additional commands, e-mail: user-h...@ant.apache.org

Fwd: Killing a forked task when sending SIGINT?

2009-03-30 Thread Francis Galiegue
Hello again, I sent this a few days ago, but hadn't had an answer since... I welcome any ideas! I should point out an error, though: should really be read below, I've replaced occurrences already. Have fun, -- Fwd -- Hello, We want to optionally launch a debugger on junit

AW: ****SPAM**** Class-Path error in Ant Script

2009-03-30 Thread Knuplesch, Juergen
You need log4j.jar in the compile-classpath -- Jürgen Knuplesch -Ursprüngliche Nachricht- Von: NR031 [mailto:nataraja...@cognizant.com] Gesendet: Montag, 30. März 2009 12:02 An: user@ant.apache.org Betreff: SPAM Class-Path error in Ant Script Hi, I am

Class-Path error in Ant Script

2009-03-30 Thread NR031
Hi, I am writing my Ant build script according to the tutorial given http://ant.apache.org/manual/tutorial-HelloWorldWithAnt.html here . I have downloaded the Log4j from the site http://www.apache.org/dist/logging/log4j/1.2.14/logging-log4j-1.2.14.zip. I have copied the JAR file to my local