Necessitas 0.3.0

Eclipse, Java, Necessitas Add comments

An updated version of Necessitas (0.3.0) is now available.

Changes (in no particular order):

  • updates the the core ivy implementation to 1.1
  • allows you to specify (using a comma seperated list) the configurations to use (* or all will be used by default).
  • will detect a local ivyconf.xml at the project root and use it instead of the default provided by ivy
  • if update on change is selected the classpath will be recalculated if the ivyconf.xml is changed

Note: Ivy 1.1 checks the internet for property updates when it starts up. This may lead to slow eclipse startup times. There is a patch to stop this but I didn’t want to release against a unstable build of ivy. Once a stable version is available I’ll release a quick update.

You can download the latest version via the eclipse update manager from http://eclipse.oneill.id.au/updates/

4 Responses to “Necessitas 0.3.0”

  1. Riley Says:

    Thanks for the update!

    However, there seem to be a number of problems that are preventing it from working — at least for me — where version 0.2.2 worked fine.

    An easy one is that the ivy jar which is bundled with the plug-in has been compiled as version 49.0 bytecode, so that it can’t be loaded into Java

  2. Riley Says:

    Thanks for the update!

    However, there seem to be a number of problems that are preventing it from working — at least for me — where version 0.2.2 worked fine.

    An easy one is that the ivy jar which is bundled with the plug-in has been compiled as version 49.0 bytecode, so that it can’t be loaded into Java versions less than 1.5.

    I’d be glad to help troubleshoot the other problems. I noticed that you included the source code — would you be able to send me the source for version 0.2.2 for comparison?

    Thanks again.

    –Riley

  3. Kevin O'Neill Says:

    That’s odd. According to the project settings it should have compiled for jdk 1.4. Hummm. I’ll recompile and check the class files, maybe it’s a 3.1RC3 thing.

    What issues are you having (other than the class files being the wrong version)?

  4. Riley Says:

    I think my other difficulties may have been due to eclipse getting confused as I fiddled around with the already-installed plugin. It seems to work fine now — although I should note that I am using an unpacked directory for necessitas-core, rather than the jar.

    Here’s the error message in .metadata/.log that indicated the original problem:

    org.osgi.framework.BundleException: The activator au.id.oneill.necessitas.core.NecessitasCorePlugin for bundle au.id.oneill.necessitas.core is invalid
    […]
    Caused by: java.lang.UnsupportedClassVersionError: fr/jayasoft/ivy/util/MessageImpl (Unsupported major.minor version 49.0)

    I used bcver (http://alumnus.caltech.edu/~leif/opensource/bcver/) to verify the bytecode version of the ivy library included in necessitas, and to compare it against the version distributed by jayasoft.

    Would you be so kind as to drop me an email? This form won’t let me post to it from home — it says I’m a spammer. ;)

Leave a Reply

Couldn't find your convert utility. Check that you have ImageMagick installed.