Well, I found the answer myself in the meantime.
For those who read this in the future, I will explain step by step using the semantics introduced in my original post :
First, open the core project properties page and go to the "Libraries" tab of the "Java Build Path" parameters:
Be sure to add your a.jar
class a.jar
, your core project depends on through "Add JARs ...". Then go to the Order and Export tab and activate the just added a.jar
for export.
Then go to the Deploy Deployment settings, and then add a.jar
here, first clicking Add ..., then Java Build Path Entries, and finally selecting a.jar
. Be sure to enter "../" as the deployment path for a.jar
:
Now you have finished the core project. Now open the Projects page of the Java Build Path path for the web project and add the core project by clicking Add ...:
Finally, go to the "Install Deployment" settings page, click "Add ...", then take "Project" and select the core project on the following screen:
You are done. No need to add your dependent core to your web project.
source share