This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: Questions about the compiler

2 replies
Jason Zaugg
Joined: 2009-05-18,
User offline. Last seen 38 weeks 5 days ago.
On Sat, Jan 28, 2012 at 6:40 PM, Raman Gupta <rocketraman@gmail.com> wrote:
On Saturday, January 28, 2012 4:01:15 AM UTC-5, Jason Zaugg wrote:
On Sat, Jan 28, 2012 at 5:46 AM, Raman Gupta <rocke...@gmail.com> wrote:
The Foo annotation class is in a jar that is not accessible to the scala compiler, but FooBean is available in the compiler's classpath. When the scala compiler tries to compile my scala code, it gives me a "Missing dependency" error:

I believe this was fixed once and for all as SI-5343 [1] in commit 1684baef [2]. This is not available yet in a released version of Scala, but is available in 2.10.0-M1.
-jason
[1] https://issues.scala-lang.org/browse/SI-5343[2] https://github.com/scala/scala/commit/1684baef

My google-fu failed me this time. Thank you!

Apparently your problem will still occur -- these changes go in the right direction, but aren't sufficient. Can you raise an new issue?
-jason

Regards,
Raman

Raman Gupta
Joined: 2012-01-28,
User offline. Last seen 42 years 45 weeks ago.
Re: Questions about the compiler
Ok, trying to do that, but unable to login to JIRA:

You do not have a permission to log in. If you think this is incorrect, please contact your JIRA administrators.

And the "JIRA administrators" page is not configured either.

Regards,
Raman
Raman Gupta
Joined: 2012-01-28,
User offline. Last seen 42 years 45 weeks ago.
Re: Questions about the compiler
On Saturday, January 28, 2012 12:49:45 PM UTC-5, Jason Zaugg wrote:
On Sat, Jan 28, 2012 at 6:40 PM, Raman Gupta <rocke...@gmail.com> wrote:
On Saturday, January 28, 2012 4:01:15 AM UTC-5, Jason Zaugg wrote:
On Sat, Jan 28, 2012 at 5:46 AM, Raman Gupta <rock...@gmail.com> wrote:
The Foo annotation class is in a jar that is not accessible to the scala compiler, but FooBean is available in the compiler's classpath. When the scala compiler tries to compile my scala code, it gives me a "Missing dependency" error:

I believe this was fixed once and for all as SI-5343 [1] in commit 1684baef [2]. This is not available yet in a released version of Scala, but is available in 2.10.0-M1.
-jason
[1] https://issues.scala-lang.org/browse/SI-5343[2] https://github.com/scala/scala/commit/1684baef

My google-fu failed me this time. Thank you!

Apparently your problem will still occur -- these changes go in the right direction, but aren't sufficient. Can you raise an new issue?
-jason

I verified a similar problem does indeed still occur on 2.10.0.M1. I created: https://issues.scala-lang.org/browse/SI-5420.
Regards,Raman

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland