Re: Using environment variable in SCP

2008-03-20 Thread Suhas Majale
. * * * * Regards, Suhas M On Tue, Mar 18, 2008 at 3:54 PM, Steve Loughran <[EMAIL PROTECTED]> wrote: > 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

Re: Using environment variable in SCP

2008-03-18 Thread Suhas Majale
="cp -rvf /tmp/solr/${webapp.name} $SOLR_PATH" > failonerror="true"/> > > (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 >

Re: Using environment variable in SCP

2008-03-18 Thread Suhas Majale
What you could do as workaround is >1. to a tmp directory >2. to move the files > Because the works on the remote machine you should have access > the the > remote environment variables. > > > Jan > > > > -Ursprüngliche Nachricht- > > Von:

Using environment variable in SCP

2008-03-17 Thread Suhas Majale
HI all, I am very new to ant and am using the SCP to transfer files from windows to linux (FC 6) machine. Following is the code, ** * ** * The *solr.home.path* is getting read from the associated properties file. When I assign absolute path for solr.home.path the transfer works successfully. i.e