Need to dynamically set/inherit classpath for module

Can IDEA automatically construct the set of libraries for a project from the shell's CLASSPATH when started?

Our codebase does a lot of extra work to automagically contruct the correct classpath. I want to be able to use the output of this magic and dump it directly into IDEA as opposed to manually entering each entry in the correct order.

Surely this is supported in either IDEA natively or some plugin... right?

2 comments

Hello jpelly,

This is not supported natively, and I'm not aware of any plugin that does
it. However, you can definitely write such a plugin yourself. :)

Can IDEA automatically construct the set of libraries for a project
from the shell's CLASSPATH when started?

Our codebase does a lot of extra work to automagically contruct the
correct classpath. I want to be able to use the output of this magic
and dump it directly into IDEA as opposed to manually entering each
entry in the correct order.

Surely this is supported in either IDEA natively or some plugin...
right?

---
Original message URL:
http://www.jetbrains.net/devnet/message/5265555#5265555

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Happy to. Can you point me to the docs that would hlpe me get this developed most quickly? In particular, what classes should I pay attention to in order to set the library paths?  Thanks John.

0

Please sign in to leave a comment.