Skip to main content



      Home
Home » General (non-technical) » Eclipse Foundation » jar files
jar files [message #39768] Tue, 03 October 2006 05:03 Go to next message
Eclipse UserFriend
Originally posted by: charles.abela.gmail.com

Hi

I am using eclipse 3.2 and would like to create a jar file with class and
source files. I would also like to include some external libraries which my
application requires to execute correctly. I have looked at the help on jar
files but there is no reference as to how I can include these external
library files...

Am I missing something? can someone help me out?

thanks
Re: jar files [message #39801 is a reply to message #39768] Tue, 03 October 2006 07:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: merks.ca.ibm.com

Charlie,

Please use the platform newsgroup for questions like this. This
newsgroup is for questions about the foundation's organization not for
technical questions. Normally source files are packages in a separate
source plugin. The build.properties file is used to specify what should
go in the jar.


Charlie Abela wrote:
> Hi
>
> I am using eclipse 3.2 and would like to create a jar file with class and
> source files. I would also like to include some external libraries which my
> application requires to execute correctly. I have looked at the help on jar
> files but there is no reference as to how I can include these external
> library files...
>
> Am I missing something? can someone help me out?
>
> thanks
>
>
>
Re: jar files [message #40083 is a reply to message #39768] Fri, 06 October 2006 15:47 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse4.rizzoweb.com

Charlie Abela wrote:
> Hi
>
> I am using eclipse 3.2 and would like to create a jar file with class and
> source files. I would also like to include some external libraries which my
> application requires to execute correctly. I have looked at the help on jar
> files but there is no reference as to how I can include these external
> library files...
>
> Am I missing something? can someone help me out?

Please note that this is not the best newsgroup for such questions - you
should tty the JDT newsgroup, or better yet a general Java forum, since
this is a general Java question not specific to Eclipse.

To answer your question: JAR files do not support containing other JARs.
The best option is to specify the dependencies in the manifest file of
your JAR, and then include the dependent JARs in your distribution.

--
Hope this helps,
Eric
Previous Topic:test
Next Topic:EclipseCon 2007 registration is open
Goto Forum:
  


Current Time: Mon May 12 04:59:06 EDT 2025

Powered by FUDForum. Page generated in 0.03996 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top