Browse Source

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.


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278317 13f79535-47bb-0310-9956-ffa450edef68
master
Steven M. Cohen 20 years ago
parent
commit
2e04fa9854
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      src/etc/testcases/taskdefs/optional/net/ftp.xml

+ 2
- 0
src/etc/testcases/taskdefs/optional/net/ftp.xml View File

@@ -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" />


Loading…
Cancel
Save