Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » JAR dependency
JAR dependency [message #142722] Fri, 07 October 2005 05:29 Go to next message
Eclipse UserFriend
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 09:35 Go to previous message
Eclipse UserFriend
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: Sun May 11 02:24:00 EDT 2025

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

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

Back to the top