Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Best practices for "sharing" libs?
Best practices for "sharing" libs? [message #197848] Fri, 03 August 2007 14:43 Go to next message
Eclipse User
Originally posted by: dserodio.gmail.com

My Web projects depend on lots of 3rd party libs like Hibernate, Spring,
etc.

When I did simple Java (non-Web) projects, I used to define User
Libraries for each lib, so that each team member could setup the User
Library on his machine, and have integrated Javadoc and source code for
the libs.

This approach doesn't work with Web apps. How could I have this same
effect with Web apps?

TIA,
Daniel Serodio
Re: Best practices for "sharing" libs? [message #197875 is a reply to message #197848] Fri, 03 August 2007 15:52 Go to previous messageGo to next message
Rob Frost is currently offline Rob Frost
Messages: 64
Registered: July 2009
Member
hi Daniel,

Can you clarify how this approach is failing to work with web apps? (i.e. do
you need to have the JARs exposed by your User Library bundled into
WEB-INF/lib in the published/exported web app? if so, this is now possible
with WTP 2.0)

-Rob

"Daniel Serodio" <dserodio@gmail.com> wrote in message
news:f8veub$bug$1@build.eclipse.org...
> My Web projects depend on lots of 3rd party libs like Hibernate, Spring,
> etc.
>
> When I did simple Java (non-Web) projects, I used to define User
> Libraries for each lib, so that each team member could setup the User
> Library on his machine, and have integrated Javadoc and source code for
> the libs.
>
> This approach doesn't work with Web apps. How could I have this same
> effect with Web apps?
>
> TIA,
> Daniel Serodio
Re: Best practices for "sharing" libs? [message #198231 is a reply to message #197848] Tue, 14 August 2007 14:57 Go to previous messageGo to next message
Eclipse User
Originally posted by: erikvaningen.gmail.com

Hi Daniel,

Have you considered Maven? The Maven plugin on eclipse is working quite
well. We use it and we are quite happy with it.

Ciao,
Erik


Daniel Serodio wrote:
> My Web projects depend on lots of 3rd party libs like Hibernate, Spring,
> etc.
>
> When I did simple Java (non-Web) projects, I used to define User
> Libraries for each lib, so that each team member could setup the User
> Library on his machine, and have integrated Javadoc and source code for
> the libs.
>
> This approach doesn't work with Web apps. How could I have this same
> effect with Web apps?
>
> TIA,
> Daniel Serodio
Re: Best practices for "sharing" libs? [message #198406 is a reply to message #198231] Wed, 15 August 2007 18:02 Go to previous message
Eclipse User
Originally posted by: dserodio.gmail.com

Erik,

Funny you ask about Maven, I'm asking this exactly because I want to
dump Maven :-)
m2eclipse's development is too slow, I don't know why then didn't
release 0.11 yet.

Thanks to your suggestion, I'm going to give Maven/m2eclipse a last chance.

What I want is to be able to see libraries's Javadocs and sources (if
available) from inside Eclipse, did you manage to get this working?

Thanks in advance,
Daniel Serodio

I've never been able to

Erik van Ingen wrote:
> Hi Daniel,
>
> Have you considered Maven? The Maven plugin on eclipse is working quite
> well. We use it and we are quite happy with it.
>
> Ciao,
> Erik
>
>
> Daniel Serodio wrote:
>> My Web projects depend on lots of 3rd party libs like Hibernate, Spring,
>> etc.
>>
>> When I did simple Java (non-Web) projects, I used to define User
>> Libraries for each lib, so that each team member could setup the User
>> Library on his machine, and have integrated Javadoc and source code for
>> the libs.
>>
>> This approach doesn't work with Web apps. How could I have this same
>> effect with Web apps?
>>
>> TIA,
>> Daniel Serodio
Previous Topic:? Adding items to JST Server Module Context Menu?
Next Topic:My messages is just ignored
Goto Forum:
  


Current Time: Sun Oct 26 00:30:49 GMT 2014

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

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