Re: Using environment variable in SCP

2008-03-20 Thread Suhas Majale
HI Steve, Thanks for your reply, it was the same problem that you anticipated. It was not loading the env variables, so I had a workaround for that. Now my code works like this, I am setting the environment variable in the .bash_profile and here is working piece of my code. * * * * Reg

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
> > > -Ursprüngliche Nachricht- > > Von: Suhas Majale [mailto:[EMAIL PROTECTED] > > Gesendet: Dienstag, 18. März 2008 09:36 > > An: Ant Users List > > Betreff: Re: Using environment variable in SCP > > > > Hi Jan, > > > > Thank

AW: Using environment variable in SCP

2008-03-18 Thread Jan.Materne
Majale [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 18. März 2008 09:36 > An: Ant Users List > Betreff: Re: Using environment variable in SCP > > 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

Re: Using environment variable in SCP

2008-03-18 Thread Suhas Majale
Suhas Majale [mailto:[EMAIL PROTECTED] > > Gesendet: Dienstag, 18. März 2008 07:08 > > An: user@ant.apache.org > > Betreff: Using environment variable in SCP > > > > HI all, > > > > I am very new to ant and am using the SCP to transfer files > > from

AW: Using environment variable in SCP

2008-03-17 Thread Jan.Materne
7:08 > An: user@ant.apache.org > Betreff: Using environment variable in SCP > > 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, > > ** > * > ** > * > Th

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