You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use the Ant fsc task. I have a target that works fine with the scalac task but if I switch it over to using fsc it fails, yet it apparently does actually build the files correctly. Resetting the FSC cache, restarting FSC etc makes no difference.
[running phase dce on ScalaTestClass.scala]
[running phase dce on TestClass2.scala]
[running phase dce on JavaTestClass.java]
[dce in 0ms]
[running phase jvm on icode]
[wrote 'TestClass2' to /home/alanbur/scala/web/build/web/WEB-INF/classes/scala/TestClass2.class]
[wrote 'ScalaTestClass' to /home/alanbur/scala/web/build/web/WEB-INF/classes/scala/ScalaTestClass.class]
[jvm in 5ms]
[total in 48ms]
/home/alanbur/scala/web/build-scala.xml:38: Compile failed; see the compiler error output for details.
at scala.tools.ant.ScalaTask$class.buildError(ScalaMatchingTask.scala:27)
at scala.tools.ant.ScalaMatchingTask.buildError(ScalaMatchingTask.scala:30)
at scala.tools.ant.FastScalac.execute(FastScalac.scala:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
/home/alanbur/scala/web/build-scala.xml:38: Compile failed because of an internal compiler error (Compile failed; see the compiler error output for details.); see the error output for details.
at scala.tools.ant.ScalaTask$class.buildError(ScalaMatchingTask.scala:27)
at scala.tools.ant.ScalaMatchingTask.buildError(ScalaMatchingTask.scala:30)
at scala.tools.ant.FastScalac.execute(FastScalac.scala:112)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 1 second)
The text was updated successfully, but these errors were encountered:
I'm trying to use the Ant fsc task. I have a target that works fine with the scalac task but if I switch it over to using fsc it fails, yet it apparently does actually build the files correctly. Resetting the FSC cache, restarting FSC etc makes no difference.
[running phase dce on ScalaTestClass.scala]
[running phase dce on TestClass2.scala]
[running phase dce on JavaTestClass.java]
[dce in 0ms]
[running phase jvm on icode]
[wrote 'TestClass2' to /home/alanbur/scala/web/build/web/WEB-INF/classes/scala/TestClass2.class]
[wrote 'ScalaTestClass' to /home/alanbur/scala/web/build/web/WEB-INF/classes/scala/ScalaTestClass.class]
[jvm in 5ms]
[total in 48ms]
/home/alanbur/scala/web/build-scala.xml:38: Compile failed; see the compiler error output for details.
at scala.tools.ant.ScalaTask$class.buildError(ScalaMatchingTask.scala:27)
at scala.tools.ant.ScalaMatchingTask.buildError(ScalaMatchingTask.scala:30)
at scala.tools.ant.FastScalac.execute(FastScalac.scala:107)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
/home/alanbur/scala/web/build-scala.xml:38: Compile failed because of an internal compiler error (Compile failed; see the compiler error output for details.); see the error output for details.
at scala.tools.ant.ScalaTask$class.buildError(ScalaMatchingTask.scala:27)
at scala.tools.ant.ScalaMatchingTask.buildError(ScalaMatchingTask.scala:30)
at scala.tools.ant.FastScalac.execute(FastScalac.scala:112)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:390)
at org.apache.tools.ant.Target.performTasks(Target.java:411)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 1 second)
The text was updated successfully, but these errors were encountered: