[GRADLE-737] Redesign copy task to filter tokens in source directory Created: 11/Nov/09 Updated: 04/Jan/13 Resolved: 27/Jun/11 |
|
Status: | Resolved |
Project: | Gradle |
Affects Version/s: | 0.8 |
Fix Version/s: | None |
Type: | Improvement | ||
Reporter: | Uldis Karlovs-Karlovskis | Assignee: | Unassigned |
Resolution: | Not A Bug | Votes: | 1 |
Description |
It is absolutely normal case that I have some folder where I want to do tokens filtering more than once. For now it is possible only during real copy operation. If I specify "from" and "into" dir the same task does nothing. project.copy (){ from "folder" into "folder" filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: props) filter(org.apache.tools.ant.filters.ReplaceTokens, tokens: props2) } |
Comments |
Comment by Luke Daley [ 27/Jun/11 ] |
It doesn't make much sense to filter into the same location as this would override the source input files, breaking the task for the future. If you are unhappy with this resolution please reopen the ticket. |