Use java project as jar in a J2EE web project [message #93329] |
Wed, 20 April 2005 08:07  |
Eclipse User |
|
|
|
Originally posted by: SPAMcooll.free.fr
Hi !!
I have a J2EE web project and a java project that contains utility classes.
With WSAD, in the project property, I can specify that I want my java
project to be treated as a jar in my J2EE project lib's directory.
When I export the J2EE project, the javap project is also exported,
everything works fine.
How can I do this with WTP ?
Do I have to use flexible projet structure when I create the project ?
Actually tomcat 5.5 seems to see only the WebContent of my J2EE project.
I did not check the "use flexible structure" checkbox when I created my
project because when I do this I get a ZipException when deploying on tomcat
5.0 (did not try with 5.5): it seems to try to open the directory
..deployed/myProject.war as if it was a war file !
Thanks for your help.
|
|
|
Re: Use java project as jar in a J2EE web project [message #93343 is a reply to message #93329] |
Wed, 20 April 2005 09:19  |
Eclipse User |
|
|
|
Originally posted by: cooll.free.fr
Lionel wrote:
> Hi !!
>
> I have a J2EE web project and a java project that contains utility
> classes. With WSAD, in the project property, I can specify that I
> want my java project to be treated as a jar in my J2EE project lib's
> directory.
> When I export the J2EE project, the javap project is also exported,
> everything works fine.
> How can I do this with WTP ?
As a temporary solution I have added the directory of my java project as a
source directory of the J2EE project.
|
|
|
Powered by
FUDForum. Page generated in 0.06928 seconds