<br>&nbsp;&nbsp; Nice!! Thanks!<br><br><div><span class="gmail_quote">2007/5/9, Anstis, Michael (M.) &lt;<a href="mailto:manstis1@ford.com">manstis1@ford.com</a>&gt;:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">







<div>


<p><font color="#0000ff" face="Arial" size="2">OK, I don&#39;t get the error if I use a RFM file instead of a RF file - assuming this to be correct I&#39;ve changed the wiki entry.</font></p>

<p><font color="#0000ff" face="Arial" size="2">I&#39;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 &quot;I&quot; 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">&#39;Rules Users List&#39;</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 &quot;CannotResolveClassException&quot; error</font>
</p><div><span class="e" id="q_112711266d3f11dc_1">

<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 (&quot;one&quot; and &quot;two&quot;) 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 (&quot;one&quot; and &quot;two&quot;). 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&#39;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>
</span></div></ul>
</div>
<br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">
https://lists.jboss.org/mailman/listinfo/rules-users</a><br><br></blockquote></div><br><br clear="all"><br>-- <br>&nbsp;&nbsp;Edson Tirelli<br>&nbsp;&nbsp;Software Engineer - JBoss Rules Core Developer<br>&nbsp;&nbsp;Office: +55 11 3529-6000<br>&nbsp;&nbsp;Mobile: +55 11 9287-5646
<br>&nbsp;&nbsp;JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a>