Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Where to put JARs that shouldn't be deployed ?
Where to put JARs that shouldn't be deployed ? [message #212830] Wed, 23 April 2008 13:42 Go to next message
Milan Milanovich is currently offline Milan MilanovichFriend
Messages: 201
Registered: July 2009
Senior Member
Hi,

I'm working with Eclipse Web tools 2 Dynmic Web Application, and I put all
of my libraries (JARs) in WebContent/WEB-INF/lib folder, but I'm wondering
where to put JARs that I don't want to deploy (such as junit or jmock
JARs, etc.) ?

--
Thx in advance, Milan Milanovic
Re: Where to put JARs that shouldn't be deployed ? [message #213034 is a reply to message #212830] Mon, 28 April 2008 19:50 Go to previous message
Angel Vera is currently offline Angel VeraFriend
Messages: 63
Registered: July 2009
Member

Can you not make them an external libraries (Right click on Project ->
Properties -> Java Build path -> Add External Jar)..?

Having said that.. I am not responsible for NoClassDefFoundError.. :)

Now you also want to watch out and not add them to the Java EE Module
dependacy tabs as this would actually copy the file into your application
classpath.

Angel


milanmilanovich@yahoo.com (Milan Milanovic) wrote in
news:b950693586018dc200ac165df870391b$1@www.eclipse.org:

> Hi,
>
> I'm working with Eclipse Web tools 2 Dynmic Web Application, and I put
> all of my libraries (JARs) in WebContent/WEB-INF/lib folder, but I'm
> wondering where to put JARs that I don't want to deploy (such as junit
> or jmock JARs, etc.) ?
>
> --
> Thx in advance, Milan Milanovic
>
>


Regards,
--
Angel Vera
WTP Server Tools Developer
Previous Topic:Reproduce WTP client generation in ant
Next Topic:New file wizard restriction?
Goto Forum:
  


Current Time: Sat Nov 29 01:38:39 GMT 2014

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

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