facebook

Deploying web project in Deveopment mode

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #271108 Reply

    pulakchy
    Member

    I have a web project running in myeclipse using JDK 1.6 and Tomcat 5.x in my. Now seems like every time i change any source file (.JSP or .JS, etc), i have to redeploy the whole project to see the changes in web page which is really time consuming. Also noticed that repdeploying in turn restarts the Tomcat server and requires me to log in every time. I am working in a development environment and wondering if i am doing anything wrong or is there any other way where i can see the changes made on opened source files in IDE without redeploying the whole project? Please note that when deploying the project under Tomcat 5, i used ‘Exploded Archive (development mode)’.

    #271124

    Loyal Water
    Member

    Make sure you have your context in Tomcat configured to be reloadable (reloadable=true). Simply add a context.xml to WebRoot/META-INF with

    <Context reloadable=”true”/>

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Deploying web project in Deveopment mode

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