Different libraries for compile and run/debug
Hello,
I have recently a problem with running my application from IDE versus outside mode. Because I have a pluginable framework and every plugin has his own class loader, I get conflicts( Class xxxx violates loader constraints) because this class is loaded as a plugin, but because it is necessary to be in the classpath at compile time it is also loaded when the application starts in the JVm class loader. Because the JVM doesn't allow that one class to be loaded in 2 classloaders, I must have different configurations IDE and outside mode.
I think it could be useful to have different libraries (classpath) for compile and run/debug.
Thanks.
Please sign in to leave a comment.
Is there anyone to care to answer to this problem?
At least to tell us if it's worth making a request in the tracker.
Thanks!
Daniel
Please file an issue. I would vote for it.
Tom
There is a feature request in the tracker:
http://www.intellij.net/tracker/idea/viewSCR?publicId=20952
Please vote for it! :)
Daniel