Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » EAR libraries
EAR libraries [message #230772] Mon, 27 April 2009 16:05 Go to next message
Ondrej Medek is currently offline Ondrej MedekFriend
Messages: 23
Registered: July 2009
Junior Member
Hi,

I have some problems manipulating libraries in EAR. I want to add some
libraries and project, which are not JEE stuff. (like some logging
utilities etc.).

1) Adding (plain) Java Projects
- when I add a plain Java project, the facet builder is enabled on this
project, which is annoying, since it reports many errors and warnings
related to XML and HTML. I do not want this. All I need is to add a JAR
from this plain Java project into EAR's lib directory. How can I do that?

2) Adding JARs
I have a project in Eclipse called "libs_3rdparty", which is not a Java
project, just a general Eclipse project. In this project, I have a few
JARs. How can I add them into EAR's lib directory? When I add them by
"Properties->Java EE Module Dependencies->Add JARs", then the checkbox
"lib" is disabled. So, these libraries are added as bundled libraries, but
not in the lib dir. Furthermore, if I go to the "Properties->Java EE
Module Dependencies" again, I do not see these JARs any more. I can
manipulate these JARs only by manually editing the
"org.eclipse.wst.common.component" file. (I can move them in the lib
directory, in fact.)

Thanks for the help,. especially with the problem 1).

Andy
Re: EAR libraries [message #230781 is a reply to message #230772] Mon, 27 April 2009 16:09 Go to previous message
Ondrej Medek is currently offline Ondrej MedekFriend
Messages: 23
Registered: July 2009
Junior Member
I have forgotten, I have Eclipse (Java developer edition, not JEE edition)
3.4.2 and WTP 3.0.4.
Previous Topic:Java code to call Axis2 web svc from java client...can it be generated for me?
Next Topic:Does Eclipse WSDL support Advanced Queues / JMS Queues
Goto Forum:
  


Current Time: Fri Mar 29 05:41:18 GMT 2024

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

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

Back to the top