Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » JAR dependency
JAR dependency [message #142722] Fri, 07 October 2005 09:29 Go to next message
Nicolas Lenoire is currently offline Nicolas LenoireFriend
Messages: 2
Registered: July 2009
Junior Member
I have tried to use wtp 0.7 and have problems with the jar dependency
definition which doesn't generate appropriate jars in the .deployable of
my project. In fact wtp generate only few jar from my dependant projects.
I just downloaded wtp 0.7.1 and I have same problem.

Have I missed something ?
Re: JAR dependency [message #143246 is a reply to message #142722] Wed, 12 October 2005 13:35 Go to previous message
Marc Baumgartner is currently offline Marc BaumgartnerFriend
Messages: 5
Registered: July 2009
Junior Member
lenoire wrote:

> I have tried to use wtp 0.7 and have problems with the jar dependency
> definition which doesn't generate appropriate jars in the .deployable of
> my project. In fact wtp generate only few jar from my dependant projects.
> I just downloaded wtp 0.7.1 and I have same problem.

> Have I missed something ?

I had the same problem and solved it by editing the .wtpmodules directly:

File for the util-project:

<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId">
<wb-module deploy-name="util">
<module-type module-type-id="jst.utility">
<version></version>
</module-type>
<wb-resource deploy-path="/" source-path="/resources"/>
<wb-resource deploy-path="/" source-path="/src"/>
</wb-module>
</project-modules>

File for the consuming project:

<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId">
<wb-module deploy-name="webappname">
<module-type module-type-id="jst.web">
<version>2.4</version>
<property name="context-root" value="webappname" />
<property name="java-output-path" value="/bin/webappname/" />
</module-type>
<wb-resource deploy-path="/WEB-INF/classes"
source-path="/webappname/JavaSource" />


<wb-resource deploy-path="/" source-path="/webappname/WebContent" />

<dependent-module deploy-path="/WEB-INF/lib/"
handle="module:/resource/util/util-jar-name">
<dependency-type>uses</dependency-type>
</dependent-module>
</wb-module>

</project-modules>


Hope that helps!

Marc
Previous Topic:Struts-pluggin-suggestion ????
Next Topic:"Unknown tag" when using .tag files (tagfiles) in JSP page
Goto Forum:
  


Current Time: Mon May 06 03:07:47 GMT 2024

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

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

Back to the top