https://bz.apache.org/bugzilla/show_bug.cgi?id=69485
Bug ID: 69485
Summary: FTP cannot obtain the file using fileset include file
full name.
Product: Ant
Version: 1.10.15
Hardware: PC
Status: NEW
Severity: major
Priority: P2
Component: Core tasks
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
```xml
<?xml version="1.0" encoding="UTF-8" ?>
<project name="getPropertyFile" default="getPropertyFile" basedir=".">
<target name="getPropertyFile" depends="getugoMakeDir">
<ftp server="domain" remotedir="/" action="get"
userid="anonymous" password="pass" binary="yes" passive="yes" depends="yes">
<fileset dir="${basedir}">
<include name="latest_checked.properties"/>
</fileset>
</ftp>
<property file="latest_checked.properties"/>
</target>
</project>
```
The same configuration can be used normally in 1.9.6. I recently tried to
upgrade to 1.10.15 and found that the latest_checked.properties could not be
downloaded.
Switching back to 1.9.6 still works.
I tried <include name="*latest_checked.properties"/> and it downloaded
successfully.
I hope to maintain the same effect as 1.9.6 without modifying the xml. After
all, the continuous integration system uses more than one ant script.
--
You are receiving this mail because:
You are the assignee for the bug.