Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

Thursday, 1 September 2011

Eclipse indigo minimal install

Since i've found out about installation of customized (minimal) eclipse, I haven't ever used full version of PHP, JEE or PDT packages. Here's a bit updated version:

In order to install eclipse that suits to your needs, you must:

  1. Go to Eclipse downloads page
  2. Select Other Downloads near Eclipse Classic
  3. I couldn't find a minimal installation for Eclipse 4.0 or 4.1, hence you must switch to 3.x downloads page
  4. Next select version of your choice
  5. Scroll down to "Platform Runtime Binary" and download the package depending on your OS and architecture
  6. Uzip and start Eclipse
  7. Select Help > Install New Software ...
  8. And install appropriate packages:
    1. For Java web development I use:
      • Eclipse Java EE Developer Tools
      • Eclipse Java Web Developer Tools
      • Eclipse Web Developer Tools
      • All JST Server Adapters (2 packages), JST Server UI, WST Server Adapters (this is the part where it's hard to guess where Tomcat server adapter is located, if you want to use Tomcat installation from Eclipse)
      • m2e - Maven Integration for Eclipse + integrations for WTP, SCM, etc.
      • Subclipse + Adapters
      • Spring IDE: Core, Web Flow, Autowire Extention, Security Extention
    2. For PHP web development I use:
      • PHP Development Tools (PDT) SDK Feature
      • Subclipse + Adapters
Note that both installations indirectly include support for Javascript, CSS, HTML and other file editing. And this is MY way of doing things - you're not restricted to these packages - feel free to add any additional plugins of your choice.

If you have any suggestions or questions, feel free to comment. Blogging and commenting is all about knowledge exchange (that is fantastic!).

Thursday, 11 August 2011

Eclipse doesn't shut down the process after exit

Another issue that I solved today was regarding closing Eclipse. After migrating to 64bit Ubuntu, my Eclipse (newly installed) didn't want to close. After closing, eclipse continued to run in background. In fact when I noticed it, I had 3 or 4 running eclipse processes since plugin installation requires restarts and each restart added one process eating all swap space. There was no evidence in GUI of running processes, but process manager did show them running. Then i came across this bug in launcpad and it did solve the problem.

Solution: Disable assistive technologies: System > Preferences > Assistive Technology Preferences > "Enable assistive technologies"

Friday, 11 September 2009

After setting up environment for developing web services, creating simple Demo service and deploying it, console gave out the following message:
delegate: false
repositories:
/WEB-INF/classes/
----------> Parent Classloader:
org.apache.catalina.loader.StandardClassLoader@337838
org.apache.axis2.transport.http.AxisAdminServlet
java.lang.ClassNotFoundException: org.apache.axis2.transport.http.AxisAdminServlet
...
The cause is that current WTP doesn't support Axis2 1.5 version. Currently it supports only 1.4.1 (see this discussion).

Friday, 26 June 2009

Eclipse minimal installation

Update: I've created an updated (my) version of installation of minimal versionupdated (my) version of installation of minimal version since link referred in this post is dead.

This post explains how to get minimal eclipse installation. This works great! Now i can install plugins by my choice - i don't need nor CVS, nor RST and a lot of other stuff included in JEE version.
Also new plugin installation has been improved a lot in Galileo. Eclipse keeps getting better and better. Can't wait to see other new features and improvements.

Friday, 24 April 2009

Eclipse fails to recognise tomcat startup

Some time ago i had a problem with starting tomcat from Eclipse. First time i couldn't solve this problem, but few months ago i run into it again.
Brief introduction to problem:
  1. Start tomcat
  2. Console says "Server startup in ...ms"
  3. Server's state still is "Starting..."
  4. After timeout it says "Server ... failed to start"
My problem was that first page (http://localhost/) contains a redirect. So Ecipse did receive status code 30x (instead of 200 OK). When I removed the redirect, it started working.
Of course, check WTP Tomcat FAQ for other possible problems.