Dependencies of jar

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.
http://i.stack.imgur.com/hnpPh.png

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?

http://i.stack.imgur.com/BJa4f.png

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:

http://i.stack.imgur.com/7bP3D.png

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...
1 comment
Comment actions Permalink

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!"

0

Please sign in to leave a comment.