Sunday, June 28, 2009

Eclipse Galileo

Eclipse continues it's annual eclipse release, this year with Galileo. Available to download from here.

33 projects have released new updates, so something for everyone. Of particular note for Mac users, is the option for Cocoa, the successor to the Carbon API. (Pick when you download).

I've tried a handful of plugins and they all seem to work fine:
  • Subclipse
  • CDT (new release)
  • PyDev
  • Aptana Studio

You can find numerous reviews on the eclipse website.

Sunday, June 14, 2009

Eclipse with Django

Django is popular web framework written in Python. For Python users it is an obvious choice to deploy web applications. Once again I return to my favourite IDE to develop with Django - Eclipse.

Two plugins are needed to bring Django support to Eclipse. The second handles the Django template language. Grab the plugins:
  1. PyDev (Python)
  2. Aptana Studio (Python + Django)
Both plugins are from Aptana, PyDev is a plugin to their IDE. Thankfully, both work through Eclipse as well.

Monday, June 1, 2009

Eclipse with C++/OEChem


The final post in this series, allowing you to develop your OpenEye applications using Eclipse.

First off you will need to ensure the CDT plugin is installed, or download Eclipse for C++ developers.

Now we are set to go. Create a new C++ Project (Executable > Hello World). Edit/Add C++ files to the source folder. Next we need to inform the project about OpenEye.

  • Open your project properties (Project > Properties).
  • Pick C/C++ Build > Settings
  • Edit [ All Configurations ] (by default Debug and Release)
  • Set include paths (-I) under GCC C++ Compiler > Directories > Include paths
  • Add $OE_DIR/toolkits/include
  • Set library paths (-L) under GCC C++ Linker > Libraries > Library search path
  • Add $OE_DIR/toolkits/lib
  • Set specific libraries (-l) under GCC C++ Linker > Libraries > Libraries
  • Add oeplatform, oesystem, oechem, m, z, pthread
  • You can set further Makefile details from this panel (optimisation etc)
If you have multiple versions of the toolkit you can create a configuration for each one.

Between C++/Java/Python you should be able to code away happily within Eclipse.