Try this:

task copyWar(type: Copy) { 
        from configurations.publishWar 
        into "//infonicnas/hsdeploy/hslibs/" 
        outputs.upToDateWhen { false }
} 

Of course, using the Ant task is also fine.

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw




Steven Dick wrote:
> 
> I simplified the script to just copy a WAR-file dependency using:
> 
> task copyWar(type: Copy) {
>       from configurations.publishWar
>       into { "//infonicnas/hsdeploy/hslibs/" }
> }
> 
> This hangs at the same place. This is the first task executed. I'm out
> of ideas for the moment - I'm going to use the ant task for copying.
> 


--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Gradle-hanging-on-copy-task-in-Windows-XP-tp4737542p4743969.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