As I wanted to access my Eclipse workspace (synced over Dropbox) from both Ubuntu and OS X, I had to make some additional configuration in order for Texlipse to work. I will explain this procedure in short.
LaTeX executables that come with BasicTeX or MacTeX bundles (links and descriptions) in OS X are installed in a weird path, but this folder is symlinked to /usr/texbin. In Linux they are of course in /usr/bin. The easiest way to overcome this is to make a similar symlink in Linux:
$ sudo ln -s /usr/bin /usr/texbin
and after you’re done simply set /usr/texbin as the bin directory of the TeX distribution in Texlipse preferences – Builder Settings, as is described here.
Half way there, just need to set the previewer…
The previewer must also be on the same path, as we have to specify it for Texlipse. Xdg-open in Ubuntu and open in OS X can be used for contextual file opening. To create a common alias, the way that suits me best is to create another symlink named to your liking (I decided on kermit-open) which points to the correct executable. So, in Ubuntu we have:
$ sudo ln -s /usr/bin/xdg-open /usr/local/bin/kermit-open
and on OS X:
$ sudo ln -s /usr/bin/open /usr/local/bin/kermit-open
Now simply open Texlipse preferences – Viewer Settings, click New… and enter kermit-open as the viewer name, /usr/local/bin/kermit-open as the viewer command and %file as the viewer argument (leave pdf as the file type and I’m not sure about forward searching – it’s OK to click yes, I guess). Click OK and make sure this viewer is at the top of your list. You can make similar entries for dvi, ps or other file types if necessary.
You should now be able to enjoy the same workspace from two different operating systems.