Hi, Has anyone reached a conclusion to this? I'm having the same issue using hivemind 1.1.1.
It works fine if I don't specify the property, but as soon as I do I get the same error as Hugo. So I know the classpath is fine. I know I'm missing something, and I'd appreciate any help at all. Here is the code. My class: public class Monkey { private String limb; public Monkey() { } public void setLimb(String s) { this.limb = s; } public String getLimb() { return this.limb; } } hivemodule.xml create-instance node (works): <create-instance class="com.novantas.xml.Monkey"/> hivemodule.xml create-instance node (doesn't work): <create-instance class="com.novantas.xml.Monkey,limb=leg"/> I have even tried putting 'limb' as a constructor argument to no avail. Many Thanks Clive Hugo Palma wrote: > > I checked and i'm very sure i'm using hivemind-1.1-beta1 and > hivemind-lib-1.1-beta1. > > Can you point out where in the source is this feature implemented so > that i can make sure that i have the correct version ? > > > Thanks > > Hugo > > > Howard Lewis Ship wrote: >> That should be working for you; please double check your classpath, >> make sure you have the right version of the JARs. I just checked the >> code and it should absolutely work for <create-instance>. >> >> On 6/1/05, Hugo Palma <[EMAIL PROTECTED]> wrote: >> >>>Is beta-1 supposed to have the lightweight instance initialization >>>feature implemented as described in >>>http://jakarta.apache.org/hivemind/instance-initialization.html ? >>> >>>I'm asking because i want to use it but i get an error that indicates >>>that the class name parse isn't being donne correctly. I've tried >>>looking in the source files and couldn't find any code that would >>>implement this feature. >>> >>>If it's not implemented, any predictions for when it will be ? >>> >>> >>> >>>Cheers >>> >>>Hugo >>> >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: [EMAIL PROTECTED] >>>For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/Lightweight-Instance-Initialization-tf42092.html#a10226868 Sent from the Hivemind - User mailing list archive at Nabble.com.