Java

Setup GWT Development on Mac OS 10.6

Setup Eclipse and Ant

  1. Download Eclipse IDE for Java Developers
  2. Extract the above tar ball, and copy the extracted directory into /Applications
  3. Download Apache Ant
  4. Extract the above tar ball, and copy the extracted directory into somewhere like /System/Library/ApacheAnt
  5. Edit $HOME/.bash_profile, add
    JAVA_HOME=/Library/Java/Home
    ANT_HOME=/System/Library/ApacheAnt

.vimrc Tips

 The global vimrc files are located in /etc/vim/.

For Drupal programmers, you can add this line to make vim recognize *.module files are PHP: