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
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
>
> > -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
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
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
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
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