Showing posts with label eclipse. Show all posts
Showing posts with label eclipse. Show all posts

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.

Friday, May 1, 2009

Eclipse with Java/OEChem


java.com - Check out Java in Action


Following up from a previous post, here I present the settings required to get Eclipse running with the OEChem Java wrapper.

Make sure you have Eclipse and and working OpenEye installation setup and running first.

  1. Create a regular Java Project
  2. Configure your build path to add:
  3. a) Under sources add a linked source $OE_DIR/java/libs
  4. b) Under libraries add external jars, $OE_DIR/java/*.jar (add them all)
  5. Run your OEChem program, if you get license errors edit the run configuration; under environment add OE_LICENSE, with $OE_DIR/etc/oe_license.txt; OE_HOME with $OE_DIR and OEJAVA with $OE_DIR/java

Obviously substitute $OE_DIR with your actual absolute file path.

Now Eclipse's CDT can be used to use the C++ toolkit direct, so I'll post that - once I've started to use it!

Saturday, April 18, 2009

Eclipse with Python/OEChem

Eclipse is an excellent IDE. Alas it doesn't have support for Python - fear not the PyDev plugin comes to the rescue. (Installation information here).

While that now works like a charm, if you have an OpenEye license to hand (academics see this post) if would be great to use the Python toolkit through Eclipse.

Follow these steps to make your Python project OEChem ready:

Window > Preferences > Pydev > Interpreter - Python.
To Libraries add your $OE_DIR/python folder.
To Environment add OE_LICENSE and OE_DIR, with their respective locations.
Create a new PyDev project and it should have OE capability by default.

Java users don't worry, I'll cover OEChem/Java in my next post.

Saturday, July 19, 2008

Perl on Eclipse 3.4 (Ganymede)

I use Eclipse everyday and the ability to use it for multiple languages is crucial. Perl is one of the languages I use and there is an excellent plugin for it: EPIC. However, after installing the recently released Ganymede (3.4) release I couldn't install it.

There are multiple versions of Eclipse available to download, typically I pick Classic. However, EPIC will not install on to this version. I found using Eclipse IDE for Java Developers worked fine. Hopefully any other plugins you use won't mind you using this version!

Thursday, June 26, 2008

Subversion integration with Eclipse

The latest version of Eclipse, Ganymede, has just been released. I'm a keen Eclipse user, I like having all my programming needs met by one application (mainly thanks to many language plugins available; Perl, Shell, LaTeX etc.).

I'm not going to detail why you might want to upgrade to ganymede as there is plenty on that already. All I will say is that, as with previously releases, only some (in this case 23) of the ~90 projects that make up eclipse are actually releasing new milestones in this release, so your favourite subproject may not be updated at the current time.

For me the most important plugin is subversion (although, personally I feel this should be built in like CVS support). Previously I have used Subclipse, but I thought I'd try Subversive this time around.

Installation is fairly straightforward:
  1. Open Software update
  2. Select the Ganymede update site
  3. From Collaborative Tools pick SVN Team Provider

This doesn't include an SVN connector, which is a show stopper!
  1. Add http://www.polarion.org/projects/subversive/download/eclipse/2.0/update-site/ as a new remote site in software update
  2. For future reference get the latest update site from http://www.eclipse.org/subversive/downloads.php
  3. Install SVNKit 1.x Implementation, or 2.x if you want to try the beta.
Now you should be good to go. Select SVN from the New Project Wizard, and explore repositories from the SVN Repository Exploring perspective (Window > Open Perspective > Other...)

Subversion users should also note that version 1.5 has also recently been released, and accordingly you will want your clients to run this version.

If Subversive isn't for you Subclipse works fine in Ganymede too.