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] - change of filters is not reflected
Date Tue, 07 Feb 2006 10:25:01 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





------- Additional Comments From stevel@apache.org  2006-02-07 11:25 -------
Leos,
There is one other workaround to this problem, one that is easier to code.

1. copy things to an intermediate dir. Do not use the global filter if you can;
its a lot safer to use a nested filterset.

<copy todir="build/intermediate" overwrite="true">
 <filterset refid="myFilterSet"/>
 <fileset ... />
</copy>

2. then copy from there to a dest, any files that are different
 <copy todir="${DEPLOY_ABCLINUXU}/WEB-INF" >
  <fileset dir="build/intermediate">
   <different targetdir="${DEPLOY_ABCLINUXU}/WEB-INF" />
  </fileset>
 <copy>

your copy+filter will run every time, but the second copy will strip out
anything that hasnt changed.
  <fileset>

 </copy>


-- 
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