Classes of dependent projects [message #151153] |
Thu, 08 December 2005 16:42 |
Eclipse User![Friend of Eclipse Friend](/donate/web-api/friends_decorator.php?email=) |
|
|
|
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.
|
|
|
Powered by
FUDForum. Page generated in 0.02059 seconds