facebook

Deployment question

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #398051 Reply

    undefinedguy
    Participant

    I am using Myeclipse 2015 and new to eclipse. We have our code (same project name – for example ABC) in various branches as in J2ee_12, J2ee_13 and I want to setup these in different workspaces and want to deploy them as ABC_12, ABC_13 in tomcat 7. Whenever I try to deploy, it doesn’t allow me to change the project name and it always gets deployed as ABC under webapps folder. This way when I deploy ABC from J2ee_13, it overwrites the project from J2ee_12. Can I change the project name on deployment ? Is there any way to do this ? Any help will be greatly appreciated.

    Thanks

    #398262 Reply

    support-tony
    Keymaster

    undefinedguy,

    You will need to alter the context root of the project, not the project name. Right click on the project and select Properties. Then go to the MyEclipse/Deployment Assembly page and change the context root there. Hover over the “i” next to the “Web Context Root” label for a bit more information.

    Please let us know if this helps.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deployment question

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