Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » How to publish jars to WEB-INF/lib?
How to publish jars to WEB-INF/lib? [message #171341] Thu, 15 June 2006 10:08 Go to next message
Eclipse UserFriend
Originally posted by: cromosom.gmx.net

Hi,

first of all I would like to say that I'am very impressed about WTP and
its features!

Why I'am writing here is, because I can not find out how to publish jars
coming from another folder to WEB-INF/lib so they will be mounted at start
up of tomcat for example.

My project structure is:

project
/src
/lib
/webapp
/WEB-INF
/lib

I would like to configure WTP so it copies all jar files from
"project/lib" to "project/WEB-INF/lib" because it would make it more
easier to me to differentiate between "pure" web libs in WEB-INF/lib and
additional libs in project/lib.

Thank you in advance.

Regards
Stephan
Re: How to publish jars to WEB-INF/lib? [message #171358 is a reply to message #171341] Thu, 15 June 2006 21:03 Go to previous message
John Lanuti is currently offline John LanutiFriend
Messages: 4
Registered: July 2009
Junior Member
Hi Stephan,

You should just be able to add a mapping in the .component file from
project/lib to virtual runtime path of WEB-INF/lib
like so:

<wb-resource deploy-path="/WEB-INF/lib" source-path="/lib"/>

Hope that helps,

John Lanuti

Stephan wrote:
> Hi,
>
> first of all I would like to say that I'am very impressed about WTP and
> its features!
> Why I'am writing here is, because I can not find out how to publish jars
> coming from another folder to WEB-INF/lib so they will be mounted at
> start up of tomcat for example.
>
> My project structure is:
>
> project
> /src
> /lib
> /webapp
> /WEB-INF
> /lib
>
> I would like to configure WTP so it copies all jar files from
> "project/lib" to "project/WEB-INF/lib" because it would make it more
> easier to me to differentiate between "pure" web libs in WEB-INF/lib and
> additional libs in project/lib.
>
> Thank you in advance.
>
> Regards
> Stephan
>
Previous Topic:editorActions Contribution problem
Next Topic:WTP don't compile change
Goto Forum:
  


Current Time: Fri May 10 22:31:38 GMT 2024

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

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

Back to the top