[ANNOUNCEMENT] Ant 1.7.1beta2 public availability

2008-03-18 Thread Kevin Jackson
Hi all, Ant 1.7.1beta2 is now available for wider public testing! - http://people.apache.org/dist/ant/v1.7.1beta2/ Please see release notes for major changes from ant 1.7.0. Ant 1.7.1 includes some support for Java6 features: - JavaFX scripting support for - secureinput inputhandler (non-echoi

Problem with Ant P4 Task

2008-03-18 Thread Draes, Daniel
Hi Ant users, I hope to find some help here. Currently I tried to update a Manifest file with the current revision out of our perforce versioning system. If the manifest file get's opened for edit and submitted, the file content will change as it should. Now I would like to use this in my ant-s

Re: Using environment variable in SCP

2008-03-18 Thread Steve Loughran
Suhas Majale wrote: I am using properties file, in which *solr.home.path=$SOLR_PATH* Even it fails when I try with command="cp -rvf /tmp/solr/${webapp.name} $SOLR_PATH" or command="cp -rvf /tmp/solr/${webapp.name} $$SOLR_PATH" or command="cp -rvf /tmp/solr/${webapp.name} $$SOLR_PATH" Regards

Re: Using environment variable in SCP

2008-03-18 Thread Suhas Majale
I am using properties file, in which *solr.home.path=$SOLR_PATH* Even it fails when I try with command="cp -rvf /tmp/solr/${webapp.name} $SOLR_PATH" or command="cp -rvf /tmp/solr/${webapp.name} $$SOLR_PATH" or command="cp -rvf /tmp/solr/${webapp.name} $$SOLR_PATH" Regards, Suhas M. On Tue, Ma

AW: Using environment variable in SCP

2008-03-18 Thread Jan.Materne
I thought you want to use the env variable in your "scp" (maybe you have to mask the $ by $$). You could also start Ant with -v(erbose) or -d(ebug) mode. Usually you'll see the command Ant tries to execute. Jan > -Ursprüngliche Nachricht- > Von: Suhas Majale [mailto:[EMAIL PROTEC

Re: Using environment variable in SCP

2008-03-18 Thread Suhas Majale
Hi Jan, Thanks for the reply and the work around you suggested. I am copying the files in the /tmp/solr folder and using the sshexec to copy the directory from /tmp/solr to $SOLR_HOME (/root/solr-deploy/solr/) Here is my piece of ant script. * * ** Now when I do this, I get the following error