ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 27625] New: - ftp userid and password will not expand properties
Date Fri, 12 Mar 2004 10:24:50 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=27625>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27625

ftp userid and password will not expand properties

           Summary: ftp userid and password will not expand properties
           Product: Ant
           Version: 1.6.1
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: demeester_roel@yahoo.com


I have the following ftp script where all attribute values are parameters 
defined in an external .properties file. (The script is used by different people 
in team).
both server and remotedir attributes are expanded,
but this is not the case for the userid and password, the are not recognizedas 
ant-properties!

        <ftp server="${printer.hostname}"
             remotedir="${printer.ftp.dir}"
             userid="${printer.username}"
             password="${printer.password}">
            <fileset dir="${dist.dir}">
                <include name="${package.jar}"/>
            </fileset>
        </ftp>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message