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 38527] New: - change of filters is not reflected
Date Mon, 06 Feb 2006 09:42:34 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=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: literakl@centrum.cz


I have build.xml with <filter filtersfile="conf_deploy.properties"/>
Then I have a file proxool.xml with filters: 
<driver-url>jdbc:mysql://localhost/@DB_SCHEMA@?useUnicode=true</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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message