Eclipse related

  • Eclipse is not displaying select a workspace popup(Prompt for workspace on startup)follow below steps:-
    Window > Preferences > General > Startup and Shutdown > Prompt for workspace on startup(click on check box)
  • Uninstall the plugins in eclipse:-
    1. Go to menu Help > About Eclipse > Installation Details. There you can uninstall. If you installed via the marketplace you can also uninstall there.
    2. But if you just want to speed up the startup you can go to Window > Preferences > General > Startup and Shutdown and switch off unnecessary capabilities.

  • Install the plugins in eclipse:-
    1. Go to menu Help > Eclipse Marketplace > Search >Enter the require plugin click on Find and click on install
    2. Go to menu Help >Install New Software>Add >Name (sprecify the name)and Location(Enter the plugin url)>ok>check the available package>Next>Finish

  • Change port number of google app engine
    Go to RunAS> Run Configurations Pydev Google App Run>Arguments - place below lines
    ${project_loc} --port=9090 --admin_port=9001


  • Add svn plugin to eclipse
    Go to Help>Eclipse Market Place>Search svn >subversive team provider>install>restart the eclipse
  • Configuring eclipse with SVN
    Go to Window> ShowView>other>SVN Repositories>New >Repository Location>provide url >from repository project check out
  • Could not publish server configuration for Tomcat Server at localhost. Multiple Contexts have a path of "/".
    <Context docBase="" path="/" reloadable="true" source="org.eclipse.jst.j2ee.server:"/> Remove the multiple lines which is having same context element in server.xml(presented in tomcat >conf path or in eclipse servers path)
  • Add Server
    Go to Window> Preferences>Servers>Runtime environment>Add>select server>Next
  • Resource is out of sync
    Go to projectname >right click >refresh
  • Debug for java
    Start the Tomcat server in debugging
    Double click on the left button of mouse on line number(left side of the eclipse) in java class.Ones action has submitted from jsp debug will start in servlet press F6 for next line and F5 to go called function and F8 for next break point.
  • To get pid of java in windows cd to jdk\bin -> jps -lv
  • 1 comment: