On Wed, Nov 4, 2009 at 14:51, Adam Murdoch <[email protected]> wrote:
>
> You can do this in trunk now, as the archive tasks now have the same API as
> the copy task (more on this in another email, soon). You can do something
> like:
>
> war {
> webInf {
> from 'path.to.file.or.dir'
> filter(ReplaceTokens, tokens: [some: map])
> }
> }
>
> --
> Adam Murdoch
> Gradle Developer
> http://www.gradle.org
>
Awesome! Thanks adam. I think I have a work around I'll use until
0.9 is finish then update the build then. I just need to look more at
the filter and see what options are available to me besides a hard
coded map, that one's a stickler for me.
--
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