Skip to main content



      Home
Home » Language IDEs » ServerTools (WTP) » Use java project as jar in a J2EE web project
Use java project as jar in a J2EE web project [message #93329] Wed, 20 April 2005 08:07 Go to next message
Eclipse UserFriend
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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:Setting WebContent Directory
Next Topic:WTP plugin - creating/testingweb service
Goto Forum:
  


Current Time: Sun Apr 27 01:28:59 EDT 2025

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

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

Back to the top