One possible explanation is that you have a rome.properties file somewhere in your classpath which references invalid rome plugins. That could be either that the plugins are missing or being loaded from a different classloader.
If that isn't the case then it would seem to be a classloading bug.
The code we use to load the plugin is effectively this:
Class clazz = Class.forName(_propertyValues[i], true, Thread.currentThread().getContextClassLoader())
Where _propertyValues[i] is a classname from a rome.properties file found on the classpath.
I don't know anything at all about Webobjects, but a bit of searching found this:
http://lists.apple.com/archives/Webobjects-dev/2007/Mar/msg00644.html which seems to indicate that Webobjects classloading has some unique quirks (in particular the reference to " cross- your-fingers-if-you-have-two-classes-with-the-same-name" seems ominous).
It may be worth forwarding this email to any webobjects experts to see if they have an opinion on why using Class.forName with the Thread context classloader doesn't seem to work.
I've forward this to the ROME dev list in case anyone there has an opinion.
Nick
-----Original Message-----
From: John Pollard [mailto:
john@...]
Sent: Tuesday, 13 January 2009 8:54 PM
To:
users@...
Subject: Using Rome in an eclipse framework project
Nick,
We are not using modules.jar to my knowledge, just the rome and jdom
jars.
Thanks
John
---------------------------------------------------------------------
To unsubscribe, e-mail:
users-unsubscribe@...
For additional commands, e-mail:
users-help@...
IMPORTANT: This e-mail, including any attachments, may contain private or confidential information. If you think you may not be the intended recipient, or if you have received this e-mail in error, please contact the sender immediately and delete all copies of this e-mail. If you are not the intended recipient, you must not reproduce any part of this e-mail or disclose its contents to any other party. This email represents the views of the individual sender, which do not necessarily reflect those of Education.au except where the sender expressly states otherwise. It is your responsibility to scan this email and any files transmitted with it for viruses or any other defects. education.au limited will not be liable for any loss, damage or consequence caused directly or indirectly by this email.
---------------------------------------------------------------------
To unsubscribe, e-mail:
dev-unsubscribe@...
For additional commands, e-mail:
dev-help@...