If you want separate files to supply property values from, try using the Maven plugin maven-replacer-plugin within your gradle build. http://code.google.com/p/maven-replacer-plugin/ http://code.google.com/p/maven-replacer-plugin/
LightGuard wrote: > > In a war I've got I'd like to filter a file that ultimately ends up in > the WEB-INF directory (chances are I'll just put it here under > webapp/WEB-INF anyway), but I want to replace some tokens in it > (preferably with items that exist in a properties file). I know how > I'd do this in ant, but what's the gradle way of doing it? > > -- > Jason Porter > Real Programmers think better when playing Adventure or Rogue. > > PGP key id: 926CCFF5 > PGP fingerprint: 64C2 C078 13A9 5B23 7738 F7E5 1046 C39B 926C CFF5 > PGP key available at: keyserver.net, pgp.mit.edu > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > > -- View this message in context: http://old.nabble.com/How-to-do-a-copy-filter-the-gradle-way--tp26191753p26789737.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
