简体   繁体   中英

Eclipse Order and Export

In Eclipse, I have a project TEST which is dependent on Project TEST2 and an externat jar external.jar. While creating jar for TEST Project with Order and Export option checked , created jar is not including TEST2.jar or external.jar.. So how I can do this to run the TEST.jar idependently ?

Two options are possible here. First:

Add TEST2 in Java Build Path > Projects of TEST1 project.

Second:

  1. Convert your TEST and TEST2 project into a Facet project: Properties > Project Facets.
  2. Click on Utility Module in list of facets in TEST2
  3. Add Project TEST2 in Deployment Assembly of TEST project

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM