Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Dependencies of jar

$
0
0

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...

Viewing all articles
Browse latest Browse all 5661


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>