scohen      2005/05/21 06:03:08

  Modified:    src/etc/testcases/taskdefs/optional/net ftp.xml
  Log:
  add option to read properties file from the user's home directory as well as 
from the top of the ant tree, where it is vulnerable to being wiped out from cvs
  replace operations.
  
  Revision  Changes    Path
  1.8       +2 -0      ant/src/etc/testcases/taskdefs/optional/net/ftp.xml
  
  Index: ftp.xml
  ===================================================================
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/optional/net/ftp.xml,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- ftp.xml   15 Oct 2003 18:49:53 -0000      1.7
  +++ ftp.xml   21 May 2005 13:03:08 -0000      1.8
  @@ -1,5 +1,7 @@
   <project name="ftp-test" basedir=".">
       <property file="../../../../../../ftp.properties"/>
  +    <property environment="env"/>
  +    <property file="${env.HOME}/ant-ftp.properties"/>
       <property name="ftp.user" value="${user.name}"/>
       <property name="ftp.host" value="localhost"/>
       <property name="ftp.port" value="21" />
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to