Brett Cave wrote:
> 
> This is not working either:
> 
> task extractTar << {
>   copy {
>    from tarTree('hardcoded/path/to/archive.tar')
>    into buildDir
>   }
> }
> 

I've tried the exact same code, and it works fine for me. Note that your
"from" path is relative to the project directory. Gradle doesn't issue an
error if the path doesn't exist.

--
Peter Niederwieser 
Developer, Gradle
http://www.gradle.org
Trainer & Consultant, Gradleware
http://www.gradleware.com
Creator, Spock Framework
http://spockframework.org


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/extracting-tar-contents-via-dependencies-tp3412210p3412412.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


Reply via email to