Helmut Denk wrote:
hi gradle,
*item 1*
just a note on the 'Unable to delete file'-problem:
after manual deletion of the .gradle dirs
gradle-0.5.1 works fine for me under windows-xp.
*item 2*
as there are some investigation of gradle on
windows going on ...
another thing i noticed when building todays trunk
under windows-xp is, that 'gradlew integTests' does not
run successfully for me. see the execution-log below.
Looking at this test, it looks like the return code from the 'gradle'
script is 0, and the test is expecting it to be non-zero.
Could you try this manually? Run the built gradle script with an unknown
task name, so that it fails with an error, and check that the return
code is not 0.
but 'gradlew -Dskip.integTest clean install' works
gruesse
F:\workspaces\gradle\gradle-head\gradle>gradle --version
------------------------------------------------------------
Gradle 0.6-20090107152318+0100
------------------------------------------------------------
Gradle buildtime: Mittwoch, 7. Januar 2009 15.23 Uhr CET
Groovy: 1.5.6
Ant: Apache Ant version 1.7.0 compiled on December 13 2006
Ivy: 2.0.0-rc2
Java: 1.5.0_14
JVM: 1.5.0_14-b03
JVM Vendor: Sun Microsystems Inc.
OS Name: Windows XP
...
:integTest
Execute in
F:\workspaces\gradle\gradle-head\gradle\build\distributions\exploded\samples\javaproject
with: cmd /c gradle -q unknown
Build failed with an exception.
Build file 'F:\workspaces\gradle\gradle-head\gradle\build.gradle' line: 420
Execution failed for task :integTest.
Cause: Integrationtests failed with:
Build failed with an exception.
Run with -s or -d option to get more details. Run with -f option to get the
full (very verbose) stacktrace.
Task 'unknown' not found in this project.
BUILD FAILED
Exception is:
org.gradle.api.GradleScriptException: Build file
'F:\workspaces\gradle\gradle-head\gradle\build.gradle' line: 420
Execution failed for task :integTest.
at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:185)
at
org.gradle.execution.DefaultTaskExecuter.executeTask(DefaultTaskExecuter.java:161)
at
org.gradle.execution.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:148)
at
org.gradle.execution.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:77)
at
org.gradle.execution.DefaultTaskExecuter.execute(DefaultTaskExecuter.java:88)
at
org.gradle.execution.TaskNameResolvingBuildExecuter.execute(TaskNameResolvingBuildExecuter.java:104)
at org.gradle.Gradle.runInternal(Gradle.java:123)
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)
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.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:38)
at org.gradle.wrapper.Wrapper.execute(Wrapper.java:58)
at org.gradle.wrapper.WrapperMain.main(WrapperMain.java:41)
Caused by: java.lang.RuntimeException: Integrationtests failed with:
Build failed with an exception.
Run with -s or -d option to get more details. Run with -f option to get the
full (very verbose) stacktrace.
Task 'unknown' not found in this project.
BUILD FAILED
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
at
org.codehaus.groovy.runtime.MetaClassHelper.doConstructorInvoke(MetaClassHelper.java:535)
at
groovy.lang.MetaClassImpl.doConstructorInvoke(MetaClassImpl.java:2356)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1255)
at groovy.lang.MetaClassImpl.invokeConstructor(MetaClassImpl.java:1185)
at
org.codehaus.groovy.runtime.InvokerHelper.invokeConstructorOf(InvokerHelper.java:809)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeNewN(ScriptBytecodeAdapter.java:230)
at
org.gradle.build.integtests.Executer.executeInternal(Executer.groovy:83)
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.invokeStaticMethod(InvokerHelper.java:804)
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.invokeStaticMethodN(ScriptBytecodeAdapter.java:215)
at org.gradle.build.integtests.Executer.execute(Executer.groovy:31)
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.build.integtests.CommandLine.execute(CommandLine.groovy:25)
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.build.integtests.IntegTestSuite.execute(IntegTestSuite.groovy:24)
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 build_gradle$_run_closure16.doCall(build_gradle:420)
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 $Proxy4.execute(Unknown Source)
at org.gradle.api.internal.AbstractTask.doExecute(AbstractTask.java:221)
at org.gradle.api.internal.AbstractTask.execute(AbstractTask.java:175)
... 21 common frames omitted
BUILD FAILED
Total time: 154.906 secs
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email