I have a project "base" with a custom library e.g. "junit-4.11.jar" on the classpath. Therefore I can use the junit classes within this base project. In another project called "dependee" I have configured the "base" project as dependency. Therefore I can use classes (e.g. DataClasses) from the "base" project in the "dependee" project. But I can't re-use the classes from the third party junit library. Did I miss something? asked 23.10.2014 at 15:00 SupportIvyTeam ♦♦ |
You have to add the library to the Java Build Path in your project. Open the java perspective -> Right click on your project -> Properties -> Java Build Path There you can add .jar files from projects in your workspace answered 23.10.2014 at 15:10 HaraldWeber |
The third party library must be exported to the classpath in order to be accessible in the dependee project. Proceed as follows:
You can double check this setting in the raw .classpath file. The classpathentry of the thirdparty jar should have the attribute 'exported=true'. answered 23.10.2014 at 15:04 Reguel Werme... ♦♦ |
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 23.10.2014 at 15:00
Seen: 2,594 times
Last updated: 23.10.2014 at 15:10