Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Classes of dependent projects
Classes of dependent projects [message #151153] Thu, 08 December 2005 16:42
Eclipse UserFriend
Originally posted by: olli.olli.de

Hi all.

I have a problem with the deployment of my webproject, if I want to "run it
on server".
My webproject depends on three other projects and I think, that I have
configured the project-properties correctly (configured the "Project
References" and the the Java Build Path) because the sources in the
webproject are compiled without error.
If I now try to run my webapplication on the tomcat, the necessary classes
of the other projects are not found.
I think that is caused by the .wtpmodules-File wich only contains
deployment-statements for the webproject, but not for the three other
projects:

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

So the question is:
How do I tell the .wtpmodules-File to copy the class-files of the other
projects, that my webproject depends on, into the .deployables-folder?
Or simple;-): What do I have to do to make this work?

I am using eclipse-SDK-3.1 and lomboz-emf-gef-jem-3.1RC2

Thanks for your help.

Best regards.

Olli.
Previous Topic:Tweaking tempAnt.xml XDoclet Ant script
Next Topic:How to get the HTML content type to expose my schem extensions?
Goto Forum:
  


Current Time: Sat Aug 17 04:06:50 GMT 2024

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

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

Back to the top