we have two tools for creating a jar within eclipse framework, one named jar and the other named runnable jar
for including a jar library, "to be used within my project"
copy it in the project "within the root context"
right click on it --> build path -->include in build path
ex:
Manifest-Version: 1.0
Implementation-Version: 1.0.1
Class-Path: libJar.jar
Main-Class: pkg.MainClass
for including a jar library, "to be used within my project"
copy it in the project "within the root context"
right click on it --> build path -->include in build path
- runnable jar tool will include it automatic
- jar tool
- include description for mainfist in mainfist.txt
- include it "libJar.jar" within the same context as my jar
ex:
Manifest-Version: 1.0
Implementation-Version: 1.0.1
Class-Path: libJar.jar
Main-Class: pkg.MainClass
Comments
Post a Comment