Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » external jars
external jars [message #152416] Thu, 15 December 2005 10:27 Go to next message
Eclipse UserFriend
Originally posted by: jdo.bioinf.med.uni-goettingen.de

Hi,


I have a problem with adding external jars to a web project. If I add an
external jar in the java build path of the project properties, I can
import and use them in Eclipse.

For Tomcat the external jars should be available under
deployables/project/WEB-INF/lib/. How do I get them there, without copy
them into WebContent/WEB-INF/lib?


thanks in advance
Juergen
Re: external jars [message #152498 is a reply to message #152416] Thu, 15 December 2005 17:09 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dserodio.gmail.com

Juergen Doenitz wrote:
> Hi,
>
>
> I have a problem with adding external jars to a web project. If I add an
> external jar in the java build path of the project properties, I can
> import and use them in Eclipse.
>
> For Tomcat the external jars should be available under
> deployables/project/WEB-INF/lib/. How do I get them there, without copy
> them into WebContent/WEB-INF/lib?

See news://news.eclipse.org:119/4395B474.9000206@netbauds.net

HTH,
Daniel Serodio
Re: external jars [message #152596 is a reply to message #152498] Fri, 16 December 2005 12:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jdo.bioinf.med.uni-goettingen.de

Daniel Serodio wrote:

> Juergen Doenitz wrote:
>> Hi,
>>
>>
>> I have a problem with adding external jars to a web project. If I add an
>> external jar in the java build path of the project properties, I can
>> import and use them in Eclipse.
>>
>> For Tomcat the external jars should be available under
>> deployables/project/WEB-INF/lib/. How do I get them there, without copy
>> them into WebContent/WEB-INF/lib?

> See news://news.eclipse.org:119/4395B474.9000206@netbauds.net

> HTH,
> Daniel Serodio


We have a web project which needs some extra jars. These third party jars
change regulary but are available on all development workstation via a nfs
share. So for Eclipse it works to include them as external jar, but not
for the server (tomcat)

I think it is somewhat inconsistent if I can specify external jars in a
wtp project, but they are not exposed to the server.
This means that I can not work with external jars in a wtp project, but
have to copy all jars on all workstations into WebContent/WEB-INF/lib each
time the third party jars are updated?
Re: external jars [message #152610 is a reply to message #152596] Fri, 16 December 2005 12:55 Go to previous message
Larry Isaacs is currently offline Larry IsaacsFriend
Messages: 1354
Registered: July 2009
Senior Member
You may want to keep an eye on:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=116783

Cheers,
Larry

Juergen wrote:
> Daniel Serodio wrote:
>
>> Juergen Doenitz wrote:
>>
>>> Hi,
>>>
>>>
>>> I have a problem with adding external jars to a web project. If I add an
>>> external jar in the java build path of the project properties, I can
>>> import and use them in Eclipse.
>>>
>>> For Tomcat the external jars should be available under
>>> deployables/project/WEB-INF/lib/. How do I get them there, without copy
>>> them into WebContent/WEB-INF/lib?
>
>
>> See news://news.eclipse.org:119/4395B474.9000206@netbauds.net
>
>
>> HTH,
>> Daniel Serodio
>
>
>
> We have a web project which needs some extra jars. These third party
> jars change regulary but are available on all development workstation
> via a nfs share. So for Eclipse it works to include them as external
> jar, but not for the server (tomcat)
>
> I think it is somewhat inconsistent if I can specify external jars in a
> wtp project, but they are not exposed to the server.
> This means that I can not work with external jars in a wtp project, but
> have to copy all jars on all workstations into WebContent/WEB-INF/lib
> each time the third party jars are updated?
>
Previous Topic:Server Definition File Explained - Update?
Next Topic:Debug servlet with Tomcat require restart after each modification
Goto Forum:
  


Current Time: Fri Apr 19 23:30:49 GMT 2024

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

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

Back to the top