facebook

Web Project as dependent project– not possible?

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #287191 Reply

    As evidenced in these forums, this seems to be a common issue of which I did not see any advice or workarounds that would work for me. Here’s my issue:

    I have Web Project A needing to include the classes from Web Project B. I would like to have MyEclipse smart deploy Web Project B’s classes into the WEB-INF/classes dir of Web Project A. Evidently this is only possible if Web Project B is a “Java” project.

    Has anyone come up with a workaround for this that does not involve restructuring the project to an EAR? I’m using Tomcat and I prefer to work with WARs, not EARs.

    If there is no decent workaround, I would like to request this to be added as a feature. It seems many people are trying to do this.

    thanks,
    Ben

    #287243

    Riyad Kalla
    Member

    Ben,
    You are correct that out of the box MyEclipse won’t merge Web Projects together to create a single deployment. We always encourage folks to abstract-out common classes into a utlity Java Project that the two web projects share and MyEclipse will package and deploy those classes appropriately for each Web Project.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Web Project as dependent project– not possible?

You must be logged in to post in the forum log in