Question

enter image description hereI have imported a project in myeclipse. This project a java web project developed in struts. The name of the project is NI-PROJECT. I deploy this project in tomcat6. The deployment location of the project is

D:\apache-tomcat-6\apache-tomcat-6.0.37\webapps\NI-PROJECT

I want to change the deployment location to like this

D:\apache-tomcat-6\apache-tomcat-6.0.37\webapps\PROJECT

What i do i refactor the project name to this "PROJECT" and remove the previous deployment. Now when i am going to deploy this project the location of the deployment still same which is this

D:\apache-tomcat-6\apache-tomcat-6.0.37\webapps\NI-PROJECT

did I missing something. Please guide me.

Was it helpful?

Solution 3

My problem is solved by changing the name of project in .project file and changing context-root in .mymetadta. After that i have to just restart the myeclipse.

OTHER TIPS

in MyEclipse

  1. right click on the project
  2. Click on properties
  3. type text filter as web & click on it
  4. change web context root.

Check the file named ".project" in your MyEclipse folder.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top