facebook

Renaming a Project

💡
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 IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #230418 Reply

    rogue_dev
    Member

    I started a new project in Eclipse and gave it a name of “New Project”. Ok, it’s lame, but we had not yet settled on the actual name, and I wanted to get the framework over.

    When we finally had a name, I used Eclipse to refactor/rename the project to its actual name (acronym) “WIRP”.

    When I open the Deployment tool, I need to add a new deployment. It has a drop list of projects (now showing only WIRP), and a drop list of servers. I chose TomCat 5.0, which then pre-fills the NON-EDITABLE field of where the project will be deployed to.

    And the target location is:
    <tomcat 5.0>/webapps/New Project

    I have tried restarting Ecplise, looking in properties, etc, but I cannot find out where I can reset the deployment target location to what it should be:
    <tomcat 5.0>/webapps/WIRP

    Is there something I am missing?

    #230424

    Riyad Kalla
    Member

    Yes, the value that determines the web context (/webapps/”New Project”) is your Web context root, right click on your project, go down to Properties and then to MyEclipse-Web, it likely looks like “/New Project” just chang it to “/wirp” without quotes, and hit OK. Now remove and recreate the deployment.

    ALso if you want an editable field, use a Custom Location type of deployment.

    #230436

    rogue_dev
    Member

    Thanks, that did it.

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Renaming a Project

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