Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Add classpath entry
Add classpath entry [message #231361] Fri, 15 May 2009 08:25 Go to next message
Udo Walker is currently offline Udo Walker
Messages: 67
Registered: July 2009
Member
Hi,

how can I add a classpath entry to the "Web App Libraries" container?

I want to do this by an API call. How?

With regards

Udo
Re: Add classpath entry [message #231398 is a reply to message #231361] Fri, 15 May 2009 12:48 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin Komissarchik
Messages: 940
Registered: July 2009
Senior Member
You cannot directly add entries to the Web App Libraries container. This
container automatically picks up libraries in the projects WEB-INF/lib
directory and adds them to the project classpath.

Can you describe your scenario in more detail? There are other ways to get
libraries on to web project's classpath such that they will get properly
bundled into the WAR in the end.

- Konstantin
Re: Add classpath entry [message #231559 is a reply to message #231398] Tue, 19 May 2009 02:10 Go to previous message
Udo Walker is currently offline Udo Walker
Messages: 67
Registered: July 2009
Member
Konstantin Komissarchik wrote:
> You cannot directly add entries to the Web App Libraries container. This
> container automatically picks up libraries in the projects WEB-INF/lib
> directory and adds them to the project classpath.
> Can you describe your scenario in more detail? There are other ways to
> get libraries on to web project's classpath such that they will get
> properly bundled into the WAR in the end.

I do not want to add an entry to this container but I want to modify an
entry. I want to add a source attachment to an entry I know the name of.

How can I do that?

I found methods to read an entry but not to modify it. If I want to
modify it I have to add a new version of it. That's how I understood it.

Are there other ways to do this?

Thanks
Udo
Previous Topic:Two WebContent folders in one dynamic web project
Next Topic:source code location for WTP plugins?
Goto Forum:
  


Current Time: Thu Aug 21 10:18:22 EDT 2014

Powered by FUDForum. Page generated in 0.01960 seconds