On Wed, Feb 16, 2011 at 09:46, Brett Cave <[email protected]> wrote:
> Hi, I am trying to tar a directory with the Tar task, and from all the
> examples and docs i've found, the format seems to be correct:
>
> task artemisStatic(type: Tar) {
> tarFileSet(dir: "$webAppDirName/resources") {
> include('dyamic/**')
> include('static/**')
> }
> compression = Compression.GZIP
> }
Use
task ... {
from "$webAppDirName/resources" (better would be to use source sets)
include ...
compression ...
}
>
> ERROR: Cause: Could not find method tarFileSet() for arguments
> [{dir=src/main/webapp/resources},
>
--
Jason Porter
http://lightguard-jp.blogspot.com
http://twitter.com/lightguardjp
Software Engineer
Open Source Advocate
PGP key id: 926CCFF5
PGP key available at: keyserver.net, pgp.mit.edu
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email