Exporting another project when publishing to a server [message #203806] |
Tue, 06 November 2007 20:24 |
Eclipse User |
|
|
|
Originally posted by: christoph.hodte.de
Hello,
I have a question. Ich have two projects one is a WTP project and the
other is a simple java project. The WTP project depends on the simple java
project. I add the depend project to the buildpath and eclipse find the
classes.
The problem is when I publish the WTP project to a tomcat server the
depended project is not publish to the server or isn't copied to the
classes directory.
Is that a bug? When not how must I configure the projects that both are
published.
I have a Workaround. I export the simple java project to a jar and copy
the jar in the lib dir. But that is not a good solution.
Chris
|
|
|
|
|
Re: Exporting another project when publishing to a server [message #203884 is a reply to message #203860] |
Wed, 07 November 2007 11:03 |
Eclipse User |
|
|
|
Originally posted by: mauro.molinari.cardinis.com
Christoph ha scritto:
> Thx for the answer. But when I use the J2EE Dependency I must use a J2EE
> Application Server but I only need the Tomcat instead Geronimo.
>
> Can I do the same with Tomcat without manuel exporting the project to a
> jar?
>
> Christoph
AFAIK, you don't need to use a J2EE Application Server to use the J2EE
Module Dependecies page to add inter-project dependencies.
Cheers,
Mauro.
|
|
|
Powered by
FUDForum. Page generated in 0.02811 seconds