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 ?
Asked
Active
Viewed 1,162 times
1 Answers
3
Two options are possible here. First:
Add TEST2 in Java Build Path > Projects of TEST1 project.
Second:
- Convert your TEST and TEST2 project into a Facet project: Properties > Project Facets.
- Click on Utility Module in list of facets in TEST2
- Add Project TEST2 in Deployment Assembly of TEST project

Mohsen
- 3,512
- 3
- 38
- 66