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=38527>. 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=38527 Summary: change of filters is not reflected Product: Ant Version: 1.5.1 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Core tasks AssignedTo: dev@ant.apache.org ReportedBy: [EMAIL PROTECTED] I have build.xml with <filter filtersfile="conf_deploy.properties"/> Then I have a file proxool.xml with filters: <driver-url>jdbc:mysql://localhost/@[EMAIL PROTECTED]</driver-url> I call ant to deploy this configuration file. Later I realize that there was some typo in the filter, so I update the file conf_deploy.properties. Then I call ant again, but nothing happens, no file is copied. The reason is that source file proxool.xml was not changed. But it references filters defined in modified file, so it must be changed. The workaround is to remove the target file and then call ant. I understand, that it would slow ant a hell, if you would scan all files to detect, if it contains some property defined in modified properties file. But current behaviour is not consistent and it is very confusing. So I propose to redeploy all files having filtering attribute set on: <copy todir="${DEPLOY_ABCLINUXU}/WEB-INF" filtering="true"> -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]