Michael,

heh, was just using the first name that appeared in my thunderbird window. Seems to be random, sometimes its "first name last name" others its "last name, first name". Yours puts Anstis first, but Michael it is from now on :)

Mark
Anstis, Michael (M.) wrote:
I'll take a look at the new game of life implementation with a view to shifting to rule flow - no promises though, I'm still new to this "contributing thing". Oh, you can call me Michael if you like too - I prefer to go by my first name ;-)

    ------------------------------------------------------------------------
    *From:* [EMAIL PROTECTED]
    [mailto:[EMAIL PROTECTED] *On Behalf Of *Mark
    Proctor
    *Sent:* 09 May 2007 14:50
    *To:* Rules Users List
    *Cc:* Kris Verlaenen
    *Subject:* Re: [rules-users] RE: 4.0.0-M2: RuleFlow
    "CannotResolveClassException"error

    Anstis, Good work :) My next plan is to make a version of conways
    game of life that uses ruleflow instead of the agenda groups.
    check the new conways out, maybe you can do the implementation.

    I think the RFM file is just a data file for the GUI display, not
    needed for runtime. Kris can you confirm?

    Mark
    Anstis, Michael (M.) wrote:

    OK, I don't get the error if I use a RFM file instead of a RF
    file - assuming this to be correct I've changed the wiki entry.

    I've also updated the wiki to show how to execute a RuleFlow -
    not difficult now I know how, but since I spent a while figuring
    it out thought it worth a mention.

    FYI, I have also successfully added the plugin to IBM RAD7 and
    conducted a few preliminary checks (nice - I can emphasis the "I"
    in IDE for my current project at work).

          _____________________________________________
*From: * Anstis, Michael (M.) *Sent: * 09 May 2007 09:51
          *To:    * 'Rules Users List'
          *Subject:       * 4.0.0-M2: RuleFlow
          "CannotResolveClassException" error

          Hi,

          I added the Eclipse 4.0.0-M2 plugin and created an example
          project; changing the class path to reference
          core-4.0.0-M2, compiler-4.0.0-M2 and dependencies.

          I modified the example to include Ruleflow based upon the
          wiki entry for 4.0.0-M2 and created a simple RuleFlow with
          two RuleGroups ("one" and "two") one for each rule in the
          Sample.drl.

          I also modified the DRL to include Rule-Group attributes
          ("one" and "two"). Unfortunately when running within
          Eclipse I received the following error:-

          _com.thoughtworks.xstream.alias.CannotResolveClassException_:
          org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper
          : org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper

                  at
          
com.thoughtworks.xstream.mapper.DefaultMapper.realClass(_DefaultMapper.java:35_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(_XmlFriendlyMapper.java:44_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(_ClassAliasingMapper.java:49_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(_DynamicProxyMapper.java:46_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.ArrayMapper.realClass(_ArrayMapper.java:70_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(_MapperWrapper.java:18_)

                  at
          
com.thoughtworks.xstream.mapper.CachingMapper.realClass(_CachingMapper.java:27_)

                  at
          
com.thoughtworks.xstream.core.TreeUnmarshaller.start(_TreeUnmarshaller.java:95_)

                  at
          
com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy.unmarshal(_ReferenceByIdMarshallingStrategy.java:12_)

                  at
          com.thoughtworks.xstream.XStream.unmarshal(_XStream.java:552_)
                  at
          com.thoughtworks.xstream.XStream.unmarshal(_XStream.java:540_)
                  at
          com.thoughtworks.xstream.XStream.fromXML(_XStream.java:490_)
                  at
          
org.drools.compiler.ProcessBuilder.addProcessFromFile(_ProcessBuilder.java:54_)

                  at
          com.sample.DroolsTest.readRule(_DroolsTest.java:67_)
                  at com.sample.DroolsTest.main(_DroolsTest.java:22_)

          Suspecting I've missed something obvious can you advise?

          With kind regards,

          Michael Anstis

    ------------------------------------------------------------------------

    _______________________________________________
    rules-users mailing list
    [email protected]
    https://lists.jboss.org/mailman/listinfo/rules-users

------------------------------------------------------------------------

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

_______________________________________________
rules-users mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/rules-users

Reply via email to