Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FastScalac Ant task is broken resp. outdated #5196

Closed
scabug opened this issue Nov 16, 2011 · 7 comments
Closed

FastScalac Ant task is broken resp. outdated #5196

scabug opened this issue Nov 16, 2011 · 7 comments
Assignees
Labels
Milestone

Comments

@scabug
Copy link

scabug commented Nov 16, 2011

-compile-scala:
[scalac] Scala compiler version 2.9.1.final - http://scala-lang.org
[fsc] Compiling 76 scala and 17 java source files to /home/user/workspace/prj/bin/classes
[fsc] /home/user/workspace/prj/build-scala.xml:44: Compile failed; see the compiler error output for details.
[fsc] at scala.tools.ant.ScalaTask$class.buildError(ScalaMatchingTask.scala:27)
[fsc] at scala.tools.ant.ScalaMatchingTask.buildError(ScalaMatchingTask.scala:30)
[fsc] at scala.tools.ant.FastScalac.execute(FastScalac.scala:107)
[...]

@scabug
Copy link
Author

scabug commented Nov 16, 2011

Imported From: https://issues.scala-lang.org/browse/SI-5196?orig=1
Reporter: @michelou
Affected Versions: 2.9.1

@scabug
Copy link
Author

scabug commented Nov 16, 2011

@michelou said:
Fixed in r26023.

I have a modified version of partest.PartestTask ready which provides the nested element

Can I commit the change ?

@scabug
Copy link
Author

scabug commented Nov 20, 2011

Alan Burlison (alanbur) said:
This looks suspiciously like the same bug as #5174, is there any way I can get hold of the fix for this to check?

@scabug
Copy link
Author

scabug commented Nov 25, 2011

Alan Burlison (alanbur) said (edited on Nov 25, 2011 10:27:14 PM UTC):
It's still broken as of the latest nightly (scala-2.10.0.r26071-b20111125023256), the scalac task works fine with the same Ant file:

scala-compile:
[fsc] Compiling 20 source files to /pool1/homedir/alanbur/scala/Browse/build/web/WEB-INF/classes
[fsc] error: fatal error: class scala.reflect.BeanInfo not found.
[fsc] one error found
[fsc] /pool1/homedir/alanbur/scala/Browse/build-scala.xml:53: Compile failed; see the compiler error output for details.
[fsc] at scala.tools.ant.ScalaTask$class.buildError(ScalaMatchingTask.scala:27)
[fsc] at scala.tools.ant.ScalaMatchingTask.buildError(ScalaMatchingTask.scala:30)
[fsc] at scala.tools.ant.FastScalac.execute(FastScalac.scala:144)
[fsc] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[fsc] at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
[fsc] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[fsc] at java.lang.reflect.Method.invoke(Method.java:597)
[fsc] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[fsc] at org.apache.tools.ant.Task.perform(Task.java:348)
[fsc] at org.apache.tools.ant.Target.execute(Target.java:390)
[fsc] at org.apache.tools.ant.Target.performTasks(Target.java:411)
[fsc] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[fsc] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[fsc] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[fsc] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[fsc] at org.apache.tools.ant.Main.runBuild(Main.java:809)
[fsc] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[fsc] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[fsc] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)

BUILD FAILED

@scabug
Copy link
Author

scabug commented Nov 27, 2011

@michelou said:
Should be fixed in r26073. Confirmation is welcome!

@scabug
Copy link
Author

scabug commented Dec 7, 2011

Alan Burlison (alanbur) said:
I've pulled down scala-2.10.0.dev-1302-g6a33a20 and can confirm that the fix works for me. Thanks :-)

@scabug
Copy link
Author

scabug commented Dec 8, 2011

@michelou said:
Reported as fixed.

@scabug scabug closed this as completed Dec 8, 2011
@scabug scabug added the build label Apr 7, 2017
@scabug scabug added this to the 2.10.0 milestone Apr 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants