Marcello,
you could try to use my gradle-svnkit plugin
(http://code.google.com/p/gradle-wdc-plugins/) which is a pure Java
plugin to interact with subversion
apply plugin: 'svnkit'
svnkit = project.convention.plugins.svnkit
svnkit.svn_root = <svn_url>
svnkit.svn_project = <svn_project_name>
svnkit.svn_trunk = "trunk"
svnkit.svn_username = "username"
then the task svnkit_checkout_trunk will checkout the trunk.
Unfortunatelly, the plugin is in its early stage of development. So,
many customization still need to be implemented/improved.
Ciao
Walter
On 2 July 2011 17:49, marcellodesales <[email protected]> wrote:
> Hi Rene,
>
> Yes, bash complains about the structure of the command... I tried so many
> variations until I found the explanation:
>
> "You are getting that error because you are telling bash to interpret
> /usr/bin/svn. Since /usr/bin/svn is a binary file and not a bash script,
> bash is giving you that error."
> (http://unix.derkeiler.com/Newsgroups/comp.unix.programmer/2008-12/msg00221.html)
>
> Thanks anyway!
>
> Marcello
>
>
>
> --
> View this message in context:
> http://gradle.1045684.n5.nabble.com/su-USERNAME-bash-c-from-Gradle-Groovy-execute-results-in-error-bash-c-line-0-unexpected-EOF-while-lo-tp4544910p4545070.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
>
>
>
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email