opensubscriber
   Find in this group all groups
 
Unknown more information…

u : user@ant.apache.org 4 September 2009 • 3:58AM -0400

Re: SCP task succeeds on client, but no file created on remote site
by littlebluehouse1@juno.com

REPLY TO AUTHOR
 
REPLY TO GROUP





>> <property name="file" location="z:/test.txt"/>
>> <property name="dest" location="/test"/>

>Read the doc for the <property> task, especially what >property/@location
>evaluates to. Add these to check the values:

>> <target name="test">

><echo message="${file}"/>
><echo message="${dest}"/>

Thanks.  That revealed the problem: ${dest} was based on my local base directory.  I simply needed to change from using the location attribute to using value.  Then it worked fine (on Windows XP).

Your help is very much appreciated.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant....
For additional commands, e-mail: user-help@ant....


____________________________________________________________
Medical Assistant Degrees
Join this growing field with an online Medical Assisting degree.
http://thirdpartyoffers.juno.com/TGL2131/c?cp=r3MG4PUgZvMs0IZY6BJrdAAAJz08I5ccYB05KlJt6KK9DCGjAAQAAAAFAAAAAD81Xj4AAAAAAAAAAAAAAAAABWUxAAAAAA==

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant....
For additional commands, e-mail: user-help@ant....


Bookmark with:

Delicious   Digg   reddit   Facebook   StumbleUpon

Related Messages

opensubscriber is not affiliated with the authors of this message nor responsible for its content.