Can't get module libraries to be added to runtime classpath!


Since switching to build 977, I've had one problem after another trying to build and run my project from 963. After finally giving up on removing libraries, I deleted all my modules and started from scratch. I now have things almost working.

The problem I have now is that one of the libraries defined for my module seems to be missing its JAR file from the runtime classpath. I have a named library defined, and I have it "checked" in IDEA's configure project tabs. It appears to be recognized by IDEA and compile time: Unchecking it causes classes to be flagged in red within the editor, and causes compiles to fail. However, the runtime classpath has no reference to the JAR file for the module, and so I can a runtime exception when the classes cannot be found.

I have attempted to add a module library for the classes I need instead of an application-level library. This did not make a difference.

Problem occurred running 977 on Mac OS X

1 comment

Please submit an SCR we'll try to investigate this.

--
Valentin Kipiatkov
JetBrains, Inc
http://www.intellij.com
"Develop with pleasure!"

"Tim Dean" <tim.dean@earthlink.net> wrote in message
news:22352897.1069264895525.JavaMail.itn@is.intellij.net...
>

Since switching to build 977, I've had one problem after another trying to

build and run my project from 963. After finally giving up on removing
libraries, I deleted all my modules and started from scratch. I now have
things almost working.
>

The problem I have now is that one of the libraries defined for my module

seems to be missing its JAR file from the runtime classpath. I have a named
library defined, and I have it "checked" in IDEA's configure project tabs.
It appears to be recognized by IDEA and compile time: Unchecking it causes
classes to be flagged in red within the editor, and causes compiles to fail.
However, the runtime classpath has no reference to the JAR file for the
module, and so I can a runtime exception when the classes cannot be found.
>

I have attempted to add a module library for the classes I need instead of

an application-level library. This did not make a difference.
>

Problem occurred running 977 on Mac OS X



0

Please sign in to leave a comment.