<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
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 http-equiv="Content-Type" content="text/html; ">
  <meta name="Generator"
 content="MS Exchange Server version 6.5.7651.59">
  <title>RE: 4.0.0-M2: RuleFlow "CannotResolveClassException" error</title>
<!-- Converted from text/rtf format -->
  <p><font color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" 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 color="#0000ff" face="Arial" 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 color="#000080" face="Courier New" size="2">com.thoughtworks.xstream.alias.CannotResolveClassException</font></u><font
 color="#ff0000" face="Courier New" 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 color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.DefaultMapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">DefaultMapper.java:35</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">XmlFriendlyMapper.java:44</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">ClassAliasingMapper.java:49</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">DynamicProxyMapper.java:46</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.ArrayMapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">ArrayMapper.java:70</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">MapperWrapper.java:18</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.mapper.CachingMapper.realClass(</font><u><font
 color="#000080" face="Courier New" size="2">CachingMapper.java:27</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(</font><u><font
 color="#000080" face="Courier New" size="2">TreeUnmarshaller.java:95</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy.unmarshal(</font><u><font
 color="#000080" face="Courier New" size="2">ReferenceByIdMarshallingStrategy.java:12</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font></p>
    <p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.XStream.unmarshal(</font><u><font
 color="#000080" face="Courier New" size="2">XStream.java:552</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.XStream.unmarshal(</font><u><font
 color="#000080" face="Courier New" size="2">XStream.java:540</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.thoughtworks.xstream.XStream.fromXML(</font><u><font color="#000080"
 face="Courier New" size="2">XStream.java:490</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
org.drools.compiler.ProcessBuilder.addProcessFromFile(</font><u><font
 color="#000080" face="Courier New" size="2">ProcessBuilder.java:54</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.sample.DroolsTest.readRule(</font><u><font color="#000080"
 face="Courier New" size="2">DroolsTest.java:67</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <font color="#ff0000" face="Courier New" size="2">at
com.sample.DroolsTest.main(</font><u><font color="#000080"
 face="Courier New" size="2">DroolsTest.java:22</font></u><font
 color="#ff0000" face="Courier New" size="2">)</font>
    </p>
    <p><font face="Arial" size="2">Suspecting I've missed something
obvious can you advise?</font>
    </p>
    <p><font color="#000000" face="Arial" size="2">With kind regards,</font>
    </p>
    <p><font color="#000000" face="Arial" size="2">Michael Anstis</font>
    </p>
  </ul>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
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>
</body>
</html>