Discussion:
Simple copy functions
pg17
2013-10-23 23:34:00 UTC
Permalink
Hi,

I am new to gradle and I am trying to a very simple task.
I need to copy files from one absolute location to another.

task copyTask(type:Copy){

File configFile = file('c://employee.xml')
from configFile
into file('d://learn')

}

And i get the error - org.gradle.api.UncheckedIOException:
java.io.IOException: The process cannot access the file because another
process has locked a portion of the file.

Can someone help me out here?



--
View this message in context: http://gradle.1045684.n5.nabble.com/Simple-copy-functions-tp5711955.html
Sent from the gradle-user mailing list archive at Nabble.com.
Luke Daley
2013-10-24 07:21:29 UTC
Permalink
This mailing list is no longer in use.

Please raise your question via http://forums.gradle.org.

Many thanks.
Post by pg17
Hi,
I am new to gradle and I am trying to a very simple task.
I need to copy files from one absolute location to another.
task copyTask(type:Copy){
File configFile = file('c://employee.xml')
from configFile
into file('d://learn')
}
java.io.IOException: The process cannot access the file because another
process has locked a portion of the file.
Can someone help me out here?
--
View this message in context: http://gradle.1045684.n5.nabble.com/Simple-copy-functions-tp5711955.html
Sent from the gradle-user mailing list archive at Nabble.com.
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Luke Daley
Principal Engineer, Gradleware
http://gradleware.com

Join us at the Gradle eXchange 2013, Oct 28th in London, UK: http://skillsmatter.com/event/java-jee/gradle-exchange-2013
Russel Winder
2013-11-05 11:32:50 UTC
Permalink
Post by Luke Daley
This mailing list is no longer in use.
Well it exists and people write to it and read it. If it really isn't in
use then why not delete it?
Post by Luke Daley
Please raise your question via http://forums.gradle.org.
A place where people who use email and not forums never go ;-)
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder-***@public.gmane.org
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel-***@public.gmane.org
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Guillaume Laforge
2013-11-05 12:23:39 UTC
Permalink
I must confess I'm also happy this mailing-list exists :-)
Otherwise, I'd bother the Gradle developers directly instead, and wouldn't
even bother with the forum!

Guillaume
Post by Russel Winder
Post by Luke Daley
This mailing list is no longer in use.
Well it exists and people write to it and read it. If it really isn't in
use then why not delete it?
Post by Luke Daley
Please raise your question via http://forums.gradle.org.
A place where people who use email and not forums never go ;-)
--
Russel.
=============================================================================
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
--
Guillaume Laforge
Groovy Project Manager
Pivotal, Inc.

Blog: http://glaforge.appspot.com/
Social: @glaforge <http://twitter.com/glaforge> /
Google+<https://plus.google.com/u/0/114130972232398734985/posts>
Luke Daley
2013-11-05 15:48:44 UTC
Permalink
Post by Russel Winder
Post by Luke Daley
This mailing list is no longer in use.
Well it exists and people write to it and read it. If it really isn't in
use then why not delete it?
Because some people made a lot of noise when we proposed this ;)
Post by Russel Winder
Post by Luke Daley
Please raise your question via http://forums.gradle.org.
A place where people who use email and not forums never go ;-)
According to registration/subscription numbers, such people are in the clear minority.
Post by Russel Winder
--
Russel.
=============================================================================
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
Russel Winder
2013-11-06 15:08:31 UTC
Permalink
On Tue, 2013-11-05 at 16:48 +0100, Luke Daley wrote:
[…]
Post by Luke Daley
According to registration/subscription numbers, such people are in the clear minority.
Now that is pure sophistry!

In a situation where everyone is told "use the forum or get no
response", it is hardly surprising the forum has the majority of users.
Those who like or can just about tolerate forums use them, the rest of
us fade away from the activity and are no longer counted. But I am still
an active advocate for Gradle despite that.

It remains a major faux pas of the forum provider that they are
technically unable to support a proper email interface. If they are the
bleeding edge then the NNTP interfaces of 20 years ago (still in use
today cf. the D community) remain the superior mechanism: forum and
email all in the same system. But then it is not shiny and new and
cloudy, so I guess it is beneath the horizon for the cool hipsters.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder-***@public.gmane.org
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel-***@public.gmane.org
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Marcin Zajączkowski
2013-11-06 21:44:30 UTC
Permalink
Post by Russel Winder
[…]
Post by Luke Daley
According to registration/subscription numbers, such people are in the clear minority.
Now that is pure sophistry!
In a situation where everyone is told "use the forum or get no
response", it is hardly surprising the forum has the majority of users.
Those who like or can just about tolerate forums use them, the rest of
us fade away from the activity and are no longer counted. But I am still
an active advocate for Gradle despite that.
It remains a major faux pas of the forum provider that they are
technically unable to support a proper email interface. If they are the
bleeding edge then the NNTP interfaces of 20 years ago (still in use
today cf. the D community) remain the superior mechanism: forum and
email all in the same system. But then it is not shiny and new and
cloudy, so I guess it is beneath the horizon for the cool hipsters.
This feature request is only 4 years old...
https://getsatisfaction.com/getsatisfaction/topics/allow_to_post_via_email

Marcin
Russel Winder
2013-11-08 14:23:44 UTC
Permalink
On Wed, 2013-11-06 at 22:44 +0100, Marcin Zajączkowski wrote:
[…]
Post by Marcin Zajączkowski
This feature request is only 4 years old...
https://getsatisfaction.com/getsatisfaction/topics/allow_to_post_via_email
Clearly they cannot be a#sed to do anything about it. Of course it now
means we know that getting satisfaction takes considerably longer than
four years.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder-***@public.gmane.org
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel-***@public.gmane.org
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Hans Dockter
2013-11-06 21:47:41 UTC
Permalink
Post by Luke Daley
[…]
Post by Luke Daley
According to registration/subscription numbers, such people are in the
clear minority.
Now that is pure sophistry!
In a situation where everyone is told "use the forum or get no
response", it is hardly surprising the forum has the majority of users.
Those who like or can just about tolerate forums use them, the rest of
us fade away from the activity and are no longer counted. But I am still
an active advocate for Gradle despite that.
It remains a major faux pas of the forum provider that they are
technically unable to support a proper email interface. If they are the
bleeding edge then the NNTP interfaces of 20 years ago (still in use
today cf. the D community) remain the superior mechanism: forum and
email all in the same system. But then it is not shiny and new and
cloudy, so I guess it is beneath the horizon for the cool hipsters.
I would also love to have a proper email interface as part of the forum and
I think all of us would like to have this. Let's see what we can up with in
the future.

Hans
Post by Luke Daley
--
Russel.
=============================================================================
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
---------------------------------------------------------------------
http://xircles.codehaus.org/manage_email
Russel Winder
2013-11-08 14:25:42 UTC
Permalink
On Wed, 2013-11-06 at 22:47 +0100, Hans Dockter wrote:
[…]
Post by Hans Dockter
I would also love to have a proper email interface as part of the forum and
I think all of us would like to have this. Let's see what we can up with in
the future.
I suspect this will involve a move to a new supplier, given how much the
current supplier cares about this issue. Sad really, they were promising
in the beginning.
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.winder-***@public.gmane.org
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel-***@public.gmane.org
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
Loading...