torstai 29. syyskuuta 2011

Speed up STS / Eclipse updates by using a mirror for is down currently.

With these instructions you will be able to use one of these mirrors instead:

  • - [Belgium] Kangaroot Linux Solutions (http)

  • - [France] Ialto (http)

  • - [Taiwan] Computer Center, Shu-Te University (http)

  • - [Brazil] C3SL - Federal University of Parana (http)

These instructions are for Ubuntu Linux:


sudo apt-get install apache2
sudo a2enmod proxy proxy_http

Add file /etc/apache2/sites-available/eclipse-proxy

sudo nano /etc/apache2/sites-available/eclipse-proxy

Text for file

<VirtualHost *:80>
<Proxy *>
AddDefaultCharset off
Order allow,deny
Allow from all
ProxyRequests Off
ProxyPass /
ProxyPassReverse /


sudo a2ensite eclipse-proxy
sudo /etc/init.d/apache2 restart

Add this line to /etc/hosts :

Comment that line out if you want to disable the proxy.

keskiviikko 2. helmikuuta 2011

Downloading sources and javadocs of dependencies in Grails; updated for STS 2.5.2

I've updated the eclipse-scripts plugin to support linking sources and javadocs of dependencies to a Grails project in STS 2.5.2.
The older script version wasn't compatible with STS "Grails Dependency Management".
This version also downloads sources and javadocs of transitive dependencies.

Quick start:

grails install-plugin eclipse-scripts
grails compile
grails download-sources-and-javadocs
grails sts-link-sources-and-javadocs

After this refresh the workspace in STS (F5), restart STS and do "right click on project name" -> Grails Tools -> Refresh Dependencies.

Go to the plugin page for more information.