Hmmm can see it, I did check with the user manual and everything looks correct.
Is there a way to get more info ?

On Tue, Mar 10, 2009 at 11:02 PM, Tom Eyckmans <[email protected]> wrote:
>
>
> 2009/3/10 tog <[email protected]>
>>
>> Thanks Tom for this quick answer
>>
>>
>> I have made the following modifications to my build.gradle (yes I know
>> I am am using twice the same dir ;-) )
>>
>>    deployerJars "org.apache.maven.wagon:wagon-webdav:1.0-beta-2"
>> and
>> uploadLibs {
>>    uploadResolvers.addMavenDeployer('repo-deployer') {
>>        addProtocolProviderJars(dependencies.resolve('deployerJars'))
>>
>>        repository(url:
>> 'https://dav.codehaus.org/dist/groovy/distributions/groovyws/') {
>>            authentication(userName: "${username}", password:
>> "${password}")
>>        }
>>        snapshotRepository(url:
>> 'https://dav.codehaus.org/dist/groovy/distributions/groovyws/') {
>>            authentication(userName: "${username}", password:
>> "${password}")
>>  I      }
>
> Looks like a typo
>>
>>    }
>> }
>>
>> I created the ~/.gradle/gradle.properties
>> username=galleon
>> password=4youreyesonly
>>
>> (how do you cope with multiple projectts with different repos (and
>> therefore different credentials) ?)
>>
>> I get the following exception:
>> Macintosh-3:~/Documents/groovy/groovyws alleon$ gradle -f
>> java 5
>>
>> Build failed with an exception.
>>
>> Build file '/Users/alleon/Documents/groovy/groovyws/build.gradle' line:
>> 209
>>
>> A problem occurred evaluating project :.
>> Cause: No such property: I for class:
>>
>> org.gradle.api.internal.dependencies.maven.deploy.groovy.DefaultGroovyMavenDeployer
>>
>> Exception is:
>> org.gradle.api.GradleScriptException: Build file
>> '/Users/alleon/Documents/groovy/groovyws/build.gradle' line: 209
>> A problem occurred evaluating project :.
>>        at
>> org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:511)
>>        at
>> org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:42)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethod0(ScriptBytecodeAdapter.java:198)
>>        at
>> org.gradle.configuration.BuildConfigurer$_closure1.doCall(BuildConfigurer.groovy:44)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at groovy.lang.Closure.call(Closure.java:292)
>>        at
>> org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:48)
>>        at
>> org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:72)
>>        at $Proxy0.execute(Unknown Source)
>>        at
>> org.gradle.api.internal.project.AbstractProject.applyActions(AbstractProject.java:476)
>>        at
>> org.gradle.api.internal.project.AbstractProject.allprojects(AbstractProject.java:471)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at
>> org.gradle.configuration.BuildConfigurer.process(BuildConfigurer.groovy:51)
>>        at org.gradle.Gradle.runInternal(Gradle.java:115)
>>        at org.gradle.Gradle.run(Gradle.java:93)
>>        at org.gradle.Main.execute(Main.java:232)
>>        at org.gradle.Main.main(Main.java:77)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at org.gradle.BootstrapMain.main(BootstrapMain.java:53)
>> Caused by: groovy.lang.MissingPropertyException: No such property: I
>> for class:
>> org.gradle.api.internal.dependencies.maven.deploy.groovy.DefaultGroovyMavenDeployer
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:60)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:172)
>>        at
>> org.gradle.api.internal.dependencies.maven.deploy.groovy.DefaultGroovyMavenDeployer.getProperty(DefaultGroovyMavenDeployer.groovy)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:173)
>>        at groovy.lang.Closure.getPropertyTryThese(Closure.java:200)
>>        at groovy.lang.Closure.getPropertyDelegateFirst(Closure.java:193)
>>        at groovy.lang.Closure.getProperty(Closure.java:178)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.getProperty(InvokerHelper.java:173)
>>        at groovy.lang.Closure.getPropertyTryThese(Closure.java:200)
>>        at groovy.lang.Closure.getPropertyOwnerFirst(Closure.java:216)
>>        at groovy.lang.Closure.getProperty(Closure.java:186)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.getGroovyObjectProperty(ScriptBytecodeAdapter.java:535)
>>        at
>> build_gradle$_run_closure5_closure12_closure14.doCall(build_gradle:209)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>        at
>> build_gradle$_run_closure5_closure12_closure14.doCall(build_gradle)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at groovy.lang.Closure.call(Closure.java:292)
>>        at groovy.lang.Closure.call(Closure.java:287)
>>        at
>> groovy.util.FactoryBuilderSupport.doInvokeMethod(FactoryBuilderSupport.java:475)
>>        at
>> groovy.util.FactoryBuilderSupport.invokeMethod(FactoryBuilderSupport.java:207)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:784)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1105)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:749)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at
>> org.gradle.api.internal.dependencies.maven.deploy.groovy.DefaultGroovyMavenDeployer.methodMissing(DefaultGroovyMavenDeployer.groovy:41)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at
>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:707)
>>        at
>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:679)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:930)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at sun.reflect.GeneratedMethodAccessor55.invoke(Unknown Source)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at
>> org.gradle.api.internal.dependencies.maven.deploy.groovy.DefaultGroovyMavenDeployer.invokeMethod(DefaultGroovyMavenDeployer.groovy)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeOnDelegationObjects(ClosureMetaClass.java:371)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:324)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>        at build_gradle$_run_closure5_closure12.doCall(build_gradle:208)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>        at build_gradle$_run_closure5_closure12.doCall(build_gradle)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at groovy.lang.Closure.call(Closure.java:292)
>>        at groovy.lang.Closure.call(Closure.java:287)
>>        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:42)
>>        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:33)
>>        at
>> org.gradle.api.dependencies.ResolverContainer.addInternal(ResolverContainer.java:133)
>>        at
>> org.gradle.api.dependencies.ResolverContainer.add(ResolverContainer.java:57)
>>        at
>> org.gradle.api.dependencies.ResolverContainer.addMavenDeployer(ResolverContainer.java:213)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at build_gradle$_run_closure5.doCall(build_gradle:202)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>        at build_gradle$_run_closure5.doCall(build_gradle)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at groovy.lang.Closure.call(Closure.java:292)
>>        at groovy.lang.Closure.call(Closure.java:287)
>>        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:42)
>>        at org.gradle.util.ConfigureUtil.configure(ConfigureUtil.java:33)
>>        at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> groovy.lang.MetaClassImpl.invokeStaticMethod(MetaClassImpl.java:1105)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:749)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at
>> org.gradle.api.internal.DefaultTask.configure(DefaultTask.groovy:55)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at
>> org.gradle.api.internal.project.DefaultProject.task(DefaultProject.groovy:156)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>        at
>> org.gradle.api.internal.project.DefaultProject.methodMissing(DefaultProject.groovy:102)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at
>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:707)
>>        at
>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:679)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:930)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePojoMethod(InvokerHelper.java:766)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:754)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at
>> org.gradle.api.internal.project.DefaultProject.invokeMethod(DefaultProject.groovy)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:912)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:778)
>>        at
>> org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:758)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodN(ScriptBytecodeAdapter.java:170)
>>        at
>> org.gradle.groovy.scripts.DefaultProjectScriptMetaData$_applyMetaData_closure1.doCall(DefaultProjectScriptMetaData.groovy:34)
>>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>        at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>        at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>        at java.lang.reflect.Method.invoke(Method.java:585)
>>        at
>> org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:86)
>>        at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:230)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:248)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:756)
>>        at groovy.lang.Closure.call(Closure.java:292)
>>        at
>> org.codehaus.groovy.runtime.metaclass.ClosureMetaMethod.invoke(ClosureMetaMethod.java:72)
>>        at
>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:707)
>>        at
>> groovy.lang.MetaClassImpl.invokeMissingMethod(MetaClassImpl.java:679)
>>        at
>> groovy.lang.ExpandoMetaClass.invokeMissingMethod(ExpandoMetaClass.java:176)
>>        at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:930)
>>        at
>> groovy.lang.ExpandoMetaClass.invokeMethod(ExpandoMetaClass.java:946)
>>        at
>> org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeMethodOnCurrentN(ScriptBytecodeAdapter.java:78)
>>        at build_gradle.run(build_gradle:201)
>>        at
>> org.gradle.api.internal.project.AbstractProject.evaluate(AbstractProject.java:507)
>>        ... 49 common frames omitted
>>
>> BUILD FAILED
>>
>> Total time: 4.084 secs
>>
>>
>>
>> On Tue, Mar 10, 2009 at 10:02 PM, Tom Eyckmans <[email protected]>
>> wrote:
>> > Hi,
>> >
>> > 2009/3/10 tog <[email protected]>
>> >>
>> >> Hello (correct) mailing list :)
>> >>
>> >> I am quite new to gradle. So far I use it (probably the wrong way) to
>> >> build the groovyws module.
>> >> I say wrong way because I explicitely express all my dependencies !
>> >> May be the right way would be to express only my first level of
>> >> dependencies and then let gradle retrieve the dependencies of my
>> >> dependencies. But being quite ignorant to Maven as well, I don't know
>> >> what to do anyway ...
>> >
>> > Normally it should be sufficient to declare your first level
>> > depdendencies,
>> > transitive ones are being pulled in by default.
>> >>
>> >> My question (as stated in the subject) is related to version ...
>> >> gradle seems to understand version like 0.5.0 but raise an error for
>> >> something like 0.5.0-RC1. What is the proper way to set such a version
>> >> number ? (or for generating a snapshot)
>> >
>> > If you are publishing to a maven repo you can do the following:
>> > set your version to :
>> > version = '0.1-SNAPSHOT'
>> >
>> > in your dependencies section specify additional transport dependencies
>> > if
>> > needed:
>> > dependencies {
>> >       addMavenRepo()
>> >       addConfiguration('deployerJars')
>> >       deployerJars "org.apache.maven.wagon:wagon-ssh:1.0-beta-2"
>> > }
>> > in your uploadLibs:
>> > uploadLibs {
>> >       uploadResolvers.addMavenDeployer('repo-deployer') {
>> >           addProtocolProviderJars(dependencies.resolve('deployerJars'))
>> >
>> >           repository(url:
>> > 'http://repo-server/nexus/content/repositories/releases/') {
>> >             authentication(userName: "${username}", password:
>> > "${password}")
>> >           }
>> >  snapshotRepository(url:
>> > 'http://repo-server/nexus/content/repositories/snapshots/') {
>> > authentication(userName: "${username}", password: "${password}")
>> >  }
>> >       }
>> >   }
>> > with the ${username} and ${password} defined in a
>> > USER_HOME/.gradle/gradle.properties:
>> > username = myUsername
>> > password = myPassword
>> >
>> > By setting the version to '0.1-SNAPSHOT' the maven deployer
>> > will automatically select the snaptshot repository and publish
>> > timestamped
>> > artifacts.
>> >
>> > if you add the following, and run gradle release than version doesn't
>> > have
>> > the SNAPSHOT indicator and the maven publisher will publish to the
>> > release
>> > repo:
>> > build.taskGraph.whenReady {graph ->
>> >     if (graph.hasTask(':release')) {
>> >         version = '0.1'
>> >     }
>> > }
>> > createTask('release', dependsOn: ['uploadLibs']) {
>> >
>> > }
>> > For more information about interacting with maven repositories please
>> > have a
>> > look at the
>> >
>> > userguide: http://www.gradle.org/userguide/0.5.2/userguidech15.html#x44-10700015.2
>> >>
>> >>
>> >> My last question would be to know if there has been any attempt to
>> >> integrate gradle with tools like hudson ?
>> >
>> > There is a Gradle plugin available for Hudson you can find it
>> > here: http://wiki.hudson-ci.org/display/HUDSON/Gradle+Plugin
>> >
>> >>
>> >> Cheers
>> >> Guillaume
>> >>
>> >> --
>> >>
>> >> PGP KeyID: 1024D/47172155
>> >> FingerPrint: C739 8B3C 5ABF 127F CCFA  5835 F673 370B 4717 2155
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe from this list, please visit:
>> >>
>> >>    http://xircles.codehaus.org/manage_email
>> >>
>> >
>> > Thx,
>> > Tom
>> >
>>
>>
>>
>> --
>>
>> PGP KeyID: 1024D/47172155
>> FingerPrint: C739 8B3C 5ABF 127F CCFA  5835 F673 370B 4717 2155
>>
>> http://cheztog.blogspot.com
>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>    http://xircles.codehaus.org/manage_email
>>
>>
>
>



-- 

PGP KeyID: 1024D/47172155
FingerPrint: C739 8B3C 5ABF 127F CCFA  5835 F673 370B 4717 2155

http://cheztog.blogspot.com

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to