Dependencies of jar Follow
Hi, this is a copy of http://stackoverflow.com/questions/25914657/.
I want to use an Eclipse project with IntelliJ. In Eclipse, the project has a jar in its build path, which wraps a manifest file containing a Class-Path entry with multiple other jars.
While Eclipse detects the jars in the manifest and uses them for the class path, IntelliJ throws compile errors. Is there a way to get IntelliJ scanning the manifest file of a jar and inherit the dependencies?
As you can see in this picture, all jars are inherited from the class-path of jbossall-client.jar.
In IntelliJ only the wrapper jar is used as a dependency:
jbossall-client.jar/META_INF/MANIFEST.MF:
Manifest-Version: 1.0
Implementation-Vendor: JBoss Inc.
Class-Path: commons-logging.jar concurrent.jar ejb3-persistence.jar hi
bernate-annotations.jar hibernate-commons-annotations.jar...
Please sign in to leave a comment.
It isn't supported in IntelliJ IDEA, please file an issue in our bug tracker: http://youtrack.jetbrains.com/issues/IDEA.
--
Nikolay Chashnikov
JetBrains
http://www.jetbrains.com
"Develop with pleasure!"