Thursday April 7, 2005

Develop ActiveMQ with Eclipse

I just spent some time to get the Eclipse projects for ActiveMQ working. I encountered the following problems:

  • Before running ‘maven eclipse’ it is required to build activemq first (run ‘maven’), as activemq-core-3.0-SNAPSHOT can not be found on any repository.
  • The .classpath file for the core module contains a classpath entry for <ACTIVEMQ_HOME>/src/conf, while the correct path would be <ACTIVEMQ_HOME>/modules/core/src/conf.
  • Eclipse’s compiler settings need to be change in order to enable the ‘assert’ keyword.

Apart from that I think ActiveMQ is fairly decent example for a complex Maven build.

Update: The wrong classpath entry has been fixed (AMQ-228)

Posted on Apr 7, 2005 at 15:33 (MET) | Permalink | Add comment