Re: create jar file with external jar library



there are a lot af classes to add in this way, i hope in a more feasible
solution, but if this is the only one...

Thx

<SpaceAgeJuliet@xxxxxxxxx> ha scritto nel messaggio
news:1149096251.018172.100390@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
are you trying to export your code, with an library attached?
i do not know of a way to do this.

Perhaps you can just import the jar file as classes (unpack with
something like winzip and add the workspace as if it was your code
package), and then it will create a jar with all the code in it.

would that work around solve your problem?


Luigi wrote:
Hi,
in my application there are several import from an external library, in
Eclipse i've added this library in Project -> Properties -> Java Build
Path -> Add External JARs.

Well, when i export as a Jar file this "jade.jar" library is not in my
jar
file and the application cannot run.

I've tried even to manually modify the manifest.mf file adding the row:
Class-Path: jade.jar (adding even the file in the jar)... but this is not
a
solution

Is there a solution?



.



Relevant Pages

  • Re: OT: It aint what it appears to be
    ... power tools and gadgets, "arrr, arrr". ... would not open its twin package. ... Once I even had to call my son-in-law to open a jar ... released the pressure and the lid turns off easily. ...
    (alt.support.mult-sclerosis)
  • Re: What classes are in a package? Functional requirement
    ... you can turn around and check the package for the ... > that correspond to the classpath. ... The JavaBeans spec allows you to package plugins into a jar and you know ... So the creator of the plug-in has to create a special jar file to indicate ...
    (comp.lang.java.programmer)
  • Re: What classes are in a package? Functional requirement
    ... you can turn around and check the package for the ... > that correspond to the classpath. ... The JavaBeans spec allows you to package plugins into a jar and you know ... So the creator of the plug-in has to create a special jar file to indicate ...
    (comp.lang.java.help)
  • Re: JAR! . . .What is it good for?. . .Absolutely nothing :-)
    ... It ended up pilot error :-( I looked through the JAR manifest and to my ... embarassment I found the EmpApplet and EmpClient classes but sadly no ... the same package don't need to import one another to be visible to one ... might trigger this behaviour in your applet viewer program, ...
    (comp.lang.java.programmer)
  • Re: how to set up a simple plugin mechanism
    ... First we need to assign a unique class name to every possible ... clossnames) These define the names of the members in the jar. ... qualified package names. ... name of any of these classes to a custom class loader, ...
    (comp.lang.java.help)