Oops Null Pointer

Java programming related

Category Archives: Eclipse

Scala and Eclipse Luna – installed but no scala perspective or tooling

I just installed a fresh Eclipse Luna (J2EE) on Linux Mint and then installed the Scale IDE (version 4 for Scala 2.11.1) from the nightly build and after the restart there was no sign of Scala. However the error log was complaining about the Scala components, so they were¬†installed… somewhere…

I restarted Eclipse with -clean and after this (and some tweaks to the Eclipse ini file) it all works fine. I didn’t try the¬†milestone build so I can’t comment if it shares the same issues.

ScalaIDE_EclipseLuna

I see the future – it’s disappointingly like today (Eclipse plugin setup still painful)

I hate setting up plugins in Eclipse. Every time a new version comes out, like a kid hoping for a transformer under the tree at Christmas but getting a pair of socks, I get disappointed.

Helios, as shiny as its new socks are, still makes me click away to install plugin after plugin.

In desperation I turned to Genuitec’s Pulse, and it showed promise, but has enough bugs to make me fall back to plain Eclipse again. It often got confused about a plugin (hey google stop innovating and updating things!) and then you get stuck weeping “I just want to install the GEF”!

The other thing that puts me off pulse is that you have to have a separate “common” directory for plugins. I personally like the fact that plain Eclipse can just be picked up and moved without any installation hassles.

I while ago I tried and few other services like Yoxos which I should probably have another look at (Yoxos 5 is in Beta).

Anyone else just want to get stuff done and have a good solution?

Accessing an Eclipse Server using IP address

A while ago I got stuck after upgrading to Eclipse 3.5 – suddenly I couldn’t access my server using the IP address or host name of the machine, but localhost and 127.0.0.1 worked fine.

For me this was a bigger issue as my host was a virtual machine (vmware) and I wanted to access the server from outside that virtual machine (in this case for testing a GWT app with different versions of IE).

Turns out that prior to Eclipse 3.5 the server launch config didn’t set the –host property automatically. So even if you put localhost as the in the “host name” field in the server configuration, you could still access the server using the hosts IP address.

Eclipse 3.5 now adds a –host property automatically, causing any old configs to now only serve to localhost.

To fix this set the “host name” field (or –host property in the launch config) to 0.0.0.0 (to listen on all interfaces). Back to work again…