facebook

deploying several projects into one war file

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

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

    Dieter Miess
    Participant

    hi there,

    i could not find out how to do the following task, maybe you have got a hint.

    i have several myeclipse projects and would like to deploy them all to one warfile.
    some explanation: one is the main project which is the webapp, the others are just source packages and directories to be added to the main app (some kind of modules to the head application).
    as i would still like to deploy just one war-file to my server (with the one or the other module included) i need to deploy all projects to one war file.

    is there some way to do this with myeclipse or will i have to use ant for such a task?

    if you have some hints on accomplishing this task, i’d appreciate …

    thank you

    #249158

    Riyad Kalla
    Member

    dmdm,
    Yes this is definitely supported as long as your dependencies are all plain Java Projects. What you can do is go into your web project and set Project references for your Build Path to the Java Projects, then go down to Project References and enable all those references. Then go to MyEclipse-Web > Deployment tab and adjust how you want the dependent projects packaged when you deploy the main WAR file. If any of the dependent projects are also web projects, this won’t work, but as long as they are all just plain Java Projects, MyEclipse will package all that up for you and deploy it.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: deploying several projects into one war file

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