Thursday, November 20, 2014

Setting up Eclipse and Google Plugin on Mac Book (Mavericks)

As the new owner of a Mac Book Pro (note I didn't say "proud" there) I thought I'd dust off my Eclipse skills and see how it works out as a development platform.
Installed both Eclipse and the Google Plugin for Eclipse, but the latter wasn't working properly and I couldn't see any of the Google project types or features when running Eclipse.
I found some pages on stackoverflow which talked about creating a little shell script to start Eclipse, but then found a simpler instruction to edit the ~/.profile and change the JAVA_HOME variable - old skool 'nix - love it!
I used a terminal and did vi ~/.profile 
...to add export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.xxx.jdk/Contents/Home
export JRE_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.xxx.jdk/Contents/Home
Help > ... Show Configuration shows that Eclipse is indeed running the new JDK and the Google plugin items all come up just fine.  Happy days.
On to the GWT tutorial now - what could possibly go wrong!

(Edit - also seem to have to identify the 1.7 JRE/JDK to Eclipse and then use them in the project BEFORE creating the project - that's what went wrong.)

Saturday, September 20, 2014

Home Forge

The prototype Home Forge Mk 1 is ready for firing up. (Going to wait until dark as it might be a bit smoky/smelly on first go.) What could possibly go wrong! More information on construction once I've run it up.