19th
MAY

Eclipse Plug-ins

Posted by Keith under Development Tools, Java, Tips

Here is list of Ecplise Plug-ins I use:

  • CDT (C++)
    http://www.eclipse.org/cdt/
  • Azzurri (DB)
    http://www.azzurri.jp/eclipse/plugins/
  • Perl
    http://e-p-i-c.sf.net/updates
  • Maven
    http://m2eclipse.sonatype.org/update/
  • PHP
    http://download.eclipse.org/tools/pdt/updates/
  • PHP Debugger, Zend Debugger
    http://downloads.zend.com/pdt
  • JavaScript Debugger, JSecplise
    http://download.macromedia.com/pub/labs/jseclipse/autoinstall
  • Python
    http://pydev.sourceforge.net/updates/
  • Scala
    http://www.scala-lang.org/downloads/scala-plugin/
  • Subversion (Subclipse)
    http://subclipse.tigris.org/update_1.4.x
  • Android (ADT)
    https://dl-ssl.google.com/android/eclipse/

References:

  • PHP and eclipse
    http://2tbsp.com/content/getting_started_eclipse_php_development_tools_(pdt)
    http://mprobst.de/SherlockWeb/?postid=2
  • Scala plug-in, demo video
    http://www.scala-lang.org/docu/movies/plugin_win.html
  • Getting Started with Scala
    http://www.scala-lang.org/docu/started.html
  • First Steps to Scala
    http://www.artima.com/scalazine/articles/steps.html
  • php.ini in WAMP
    http://www.en.wampserver.com/faq.php#q3

31st
OCT

Eclipse Europa Tomcat memory issue solved

Posted by Keith under Java

I wrote that Eclipse Europa’s WTP Tomcat memory setting is a bit difficult to find, and some web app using lots of memory gets heap memory error:
http://blog.keithkim.com/2007/10/netbeans-and-maven-and-eclipse-europa-issues/

I finally figured out how, and it’s pretty simple. I just couldn’t find it in new interface.

  1. Set up the Tomcat server first. And bring up “Servers” tab.
  2. Then double click on the Tomcat server entry. It will bring up Tomcat configuration screen as shown. Click on “Open launch configuration”
  3. Then another pop-up window will come up. Enter memory configuration in “VM argguments” section.

That’s it!

27th
OCT

Netbeans and Maven, and Eclipse Europa issues

Posted by Keith under Java

I’ve installed and I am exploring Netbeans 6.0 beta 2. So far, it’s pretty good, with all the goodies in one installation. (Downloaded “ALL” included package.)

Maven
One thing to be careful is - if there’s a maven project in CVS or SVN, then add the Maven plug-in first, then check out the project. It’ll handle the module as Maven project. Checking out first and installing the plug-in doesn’t work.

Plug-ins
Eclipse is more flexible in many ways including adding any plugins from any sites, but I like the way Netbeans handles the plugins. It loads up list of plugins and lets you choose the ones you want to install. It also let you add 3rd party sites for plug-ins.

Another thing I like it about is how it handles project directory. Eclipse updates files in .meta folder for each project (correct me if I’m wrong), and moving around the project directory is a bit hassle. And when something goes wrong, I have to use fresh copy of Eclipse, or remove the .meta folder and set things up from scratch.

Eclipse still have a lot of advantages; and the biggest advantage is supporting multiple languages quite well.

Problems with Eclipse Europa and Tomcat
The Europa version’s WTP has a serious problem with Tomcat — if web application consumes large amount of memory, it’s easy to get heap memory (out of memory) error, and there is no way to increase the Tomcat memory. (note: not the memory settings for Eclipse IDE, but for Tomcat.) I haven’t found the solution to this problem so far. And, if I forget to shutdown the Tomcat through IDE and restart Eclipse, it doesn’t let you “shutdown” through IDE. I have to use shutdown.sh or shutdown.bat from console. Eclipse 3.2 doesn’t have any of these issues with Tomcat Sysdeo plugin, and I’m going to go back to 3.2 if I can’t find the solution soon for the memory issue at least. I’ve spent too much time to find the solution and failed.
This has been resolved. See:
http://blog.keithkim.com/2007/10/eclipse-europa-tomcat-memory-issue-solved/

13th
OCT

eclipse and UTF8 in Console Window

Posted by Keith under Java

To display UTF8 characters in eclipse console window, do following:

  1. Preferences
  2. Go to Installed JRE
  3. Edit JRE
  4. Enter: -Dfile.encoding=”UTF-8″ in “Default VM Arguments”