GradleFx/GradleFx — Issue #13: flexunit-single-project example build fails.
Author: tombray
Created: 2011-12-21 19:52:03+00:00
State: open

When I try to build your sample flexunit project, the build fails with the exception below. I do see a TestRunner.swf in the build directory. Notice the null at the end of the command path. What should be there?

11:43:29.372 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: : The provided command path [/Projects/scratch/GradleFx-Examples/flexunit-single-project/null] does not exist.
11:43:29.372 [ERROR] [org.gradle.BuildExceptionReporter]	at org.flexunit.ant.tasks.configuration.TestRunConfiguration.validate(Unknown Source)
11:43:29.373 [ERROR] [org.gradle.BuildExceptionReporter]	at org.flexunit.ant.tasks.configuration.TaskConfiguration.verify(Unknown Source)
11:43:29.374 [ERROR] [org.gradle.BuildExceptionReporter]	at org.flexunit.ant.tasks.FlexUnitTask.execute(Unknown Source)
11:43:29.374 [ERROR] [org.gradle.BuildExceptionReporter]	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
11:43:29.375 [ERROR] [org.gradle.BuildExceptionReporter]	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
11:43:29.376 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.project.ant.BasicAntBuilder.nodeCompleted(BasicAntBuilder.java:71)
11:43:29.376 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.project.ant.BasicAntBuilder.doInvokeMethod(BasicAntBuilder.java:86)
11:43:29.377 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.project.DefaultAntBuilder.super$3$invokeMethod(DefaultAntBuilder.groovy)
11:43:29.378 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.project.DefaultAntBuilder.invokeMethod(DefaultAntBuilder.groovy:37)
11:43:29.378 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradlefx.tasks.Test.runFlexUnit(Test.groovy:41)
11:43:29.379 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.BeanDynamicObject.invokeMethod(BeanDynamicObject.java:158)
11:43:29.379 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.CompositeDynamicObject.invokeMethod(CompositeDynamicObject.java:93)
11:43:29.380 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradlefx.tasks.Test_Decorated.invokeMethod(Unknown Source)
11:43:29.381 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.util.ReflectionUtil.invoke(ReflectionUtil.groovy:23)
11:43:29.381 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:129)
11:43:29.382 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$2.execute(AnnotationProcessingTaskFactory.java:127)
11:43:29.382 [ERROR] [org.gradle.BuildExceptionReporter]	at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:63)
11:43:29.383 [ERROR] [org.gradle.BuildExceptionReporter]	... 37 more
11:43:29.383 [ERROR] [org.gradle.BuildExceptionReporter]
11:43:29.384 [LIFECYCLE] [org.gradle.BuildResultLogger]
11:43:29.384 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED