facebook

How to merge two web projects on deployment?

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

    DaftMule
    Member

    Is there a way to get MyEclipse to merge two web projects with an exploded deployment? We have implemented our own framework with a base project which utilises various tool(s) on deployment. The tools are developed as separate web project units.

    It seems possible to get half way there by creating the tool as a java project, not a web project, and then referencing that tool project from the base project in the project properties. However, this only automatically merges the tools java classes into the base project. It does not include the jsp’s, css, javscript etc.

    At the moment I have a little Ant build script which I have to run manually to build up the files in the tool project’s web root folder but that is clunky as hell and I keep forgetting to run it.

    I tried setting the web context for both projects to the context for the base project but the deployment won’t let me deploy the tool over the top of the base project.

    Any suggestions or obvious config that I have missed?

    Thanks.

    #315244 Reply

    support-joy
    Member

    DaftMule,

    My apologies for the late reply. I am afraid, we do not support any feature to merge 2 web projects. I am curious to know if there is any editor available in the market which does that. I know that CVS allows user to merge files(not projects), and there are couple of other editors like editplus where you can merge files or compare them, I have not yet come across any IDE which helps merge web projects together.

    The only other alternative would be to create an enterprise application project and add these projects as web modules.

    #315246 Reply

    DaftMule
    Member

    Thanks for the reply Joy.

    Actually, all I want the deployment to do really is a copy/past of the folder structure under /web in my tool project to the framework projects /web structure, compiled classes in the WEB-INF and all. I’m not expecting the merging of web.xml files etc….juts the jsp structure and the classes. That’s all my little Ant build script is doing.

    Oh well.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: How to merge two web projects on deployment?

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