Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Eclipse jar export question



It's late, I must be tired - I'm sure this is simple

I have a java app built in eclipse. If I check the properties for that app, the Java Build Path Libraries tab
includes a utility jar, lets call it util.jar. If I run inside eclipse, all is well.
My problem comes when I export my project as a jar. I include a main class in the manifest, so I have
a double-clickable app.jar file. The util.jar is not in the exported jar. I've made an attempt to put it
in my jar with
jar uf app.jar util.jar
but that's not the right thing.
I think I want a manifest classpath entry, but I believe that's an ejb thing for ears.


Can anyone enlighten me as to what I want to do to make util.jar's classes acessible?
I'm surprised eclipse didn't just "do the right thing".
Thanks in advance
ag


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.