<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>RE: 4.0.0-M2: RuleFlow "CannotResolveClassException" error</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2873" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><SPAN class=743105613-09052007><FONT face=Arial 
color=#0000ff size=2>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".</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=743105613-09052007><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=743105613-09052007></SPAN><SPAN 
class=743105613-09052007><FONT face=Arial color=#0000ff size=2>Oh, y<SPAN 
class=743105613-09052007><FONT face=Arial color=#0000ff size=2>ou can call me 
Michael if you like too -&nbsp;</FONT></SPAN><SPAN 
class=743105613-09052007><FONT face=Arial color=#0000ff size=2>I prefer to go by 
my first name ;-) </FONT></SPAN></FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
  <HR tabIndex=-1>
  <FONT face=Tahoma size=2><B>From:</B> rules-users-bounces@lists.jboss.org 
  [mailto:rules-users-bounces@lists.jboss.org] <B>On Behalf Of </B>Mark 
  Proctor<BR><B>Sent:</B> 09 May 2007 14:50<BR><B>To:</B> Rules Users 
  List<BR><B>Cc:</B> Kris Verlaenen<BR><B>Subject:</B> Re: [rules-users] RE: 
  4.0.0-M2: RuleFlow "CannotResolveClassException"error<BR></FONT><BR></DIV>
  <DIV></DIV>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.<BR><BR>I think the RFM file 
  is just a data file for the GUI display, not needed for runtime. Kris can you 
  confirm?<BR><BR>Mark<BR>Anstis, Michael (M.) wrote: 
  <BLOCKQUOTE 
  cite=mid:6CE83AFC8500B641AE00AC1674A3B4AC0164BDDB@eu1wam08.warley.ford.com 
  type="cite">
    <META content="MS Exchange Server version 6.5.7651.59" name=Generator><!-- Converted from text/rtf format -->
    <P><FONT face=Arial color=#0000ff size=2>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.</FONT></P>
    <P><FONT face=Arial color=#0000ff size=2>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.</FONT></P>
    <P><FONT face=Arial color=#0000ff size=2>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).</FONT></P>
    <UL>
      <P><FONT face=Tahoma size=1>_____________________________________________ 
      </FONT><BR><B><FONT face=Tahoma size=1>From: &nbsp;</FONT></B> <FONT 
      face=Tahoma size=1>Anstis, Michael (M.)&nbsp; </FONT><BR><B><FONT 
      face=Tahoma size=1>Sent:&nbsp;&nbsp;</FONT></B> <FONT face=Tahoma 
      size=1>09 May 2007 09:51</FONT> <BR><B><FONT face=Tahoma 
      size=1>To:&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT face=Tahoma 
      size=1>'Rules Users List'</FONT> <BR><B><FONT face=Tahoma 
      size=1>Subject:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</FONT></B> <FONT 
      face=Tahoma size=1>4.0.0-M2: RuleFlow "CannotResolveClassException" 
      error</FONT> </P>
      <P><FONT face=Arial size=2>Hi,</FONT> </P>
      <P><FONT face=Arial size=2>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.</FONT></P>
      <P><FONT face=Arial size=2>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.</FONT></P>
      <P><FONT face=Arial size=2>I also modified the DRL to include Rule-Group 
      attributes ("one" and "two"). Unfortunately when running within Eclipse I 
      received the following error:-</FONT></P>
      <P><U><FONT face="Courier New" color=#000080 
      size=2>com.thoughtworks.xstream.alias.CannotResolveClassException</FONT></U><FONT 
      face="Courier New" color=#ff0000 size=2>: 
      org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper : 
      org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper</FONT></P>
      <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.DefaultMapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>DefaultMapper.java:35</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>XmlFriendlyMapper.java:44</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>ClassAliasingMapper.java:49</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>DynamicProxyMapper.java:46</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.ArrayMapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>ArrayMapper.java:70</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>MapperWrapper.java:18</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.mapper.CachingMapper.realClass(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>CachingMapper.java:27</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.core.TreeUnmarshaller.start(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>TreeUnmarshaller.java:95</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy.unmarshal(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>ReferenceByIdMarshallingStrategy.java:12</FONT></U><FONT 
      face="Courier New" color=#ff0000 size=2>)</FONT></P>
      <P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.XStream.unmarshal(</FONT><U><FONT 
      face="Courier New" color=#000080 size=2>XStream.java:552</FONT></U><FONT 
      face="Courier New" color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.XStream.unmarshal(</FONT><U><FONT 
      face="Courier New" color=#000080 size=2>XStream.java:540</FONT></U><FONT 
      face="Courier New" color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      com.thoughtworks.xstream.XStream.fromXML(</FONT><U><FONT 
      face="Courier New" color=#000080 size=2>XStream.java:490</FONT></U><FONT 
      face="Courier New" color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at 
      org.drools.compiler.ProcessBuilder.addProcessFromFile(</FONT><U><FONT 
      face="Courier New" color=#000080 
      size=2>ProcessBuilder.java:54</FONT></U><FONT face="Courier New" 
      color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at com.sample.DroolsTest.readRule(</FONT><U><FONT 
      face="Courier New" color=#000080 size=2>DroolsTest.java:67</FONT></U><FONT 
      face="Courier New" color=#ff0000 size=2>)</FONT> 
      <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <FONT face="Courier New" 
      color=#ff0000 size=2>at com.sample.DroolsTest.main(</FONT><U><FONT 
      face="Courier New" color=#000080 size=2>DroolsTest.java:22</FONT></U><FONT 
      face="Courier New" color=#ff0000 size=2>)</FONT> </P>
      <P><FONT face=Arial size=2>Suspecting I've missed something obvious can 
      you advise?</FONT> </P>
      <P><FONT face=Arial color=#000000 size=2>With kind regards,</FONT> </P>
      <P><FONT face=Arial color=#000000 size=2>Michael Anstis</FONT> </P></UL><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
rules-users mailing list
<A class=moz-txt-link-abbreviated href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</A>
<A class=moz-txt-link-freetext href="https://lists.jboss.org/mailman/listinfo/rules-users">https://lists.jboss.org/mailman/listinfo/rules-users</A>
  </PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>