<div><br>Hi,</div>
<div>&nbsp;</div>
<div>I appended my instruction to <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wiki.jboss.org/wiki/Wiki.jsp?page=Drools2Migration" target="_blank">http://wiki.jboss.org/wiki/Wiki.jsp?page=Drools2Migration</a>, also uploaded the jar file, ready for comments now :).<br>
&nbsp;</div>
<div>Thanks.<br>&nbsp;</div>
<div><span class="gmail_quote">On 2/1/08, <b class="gmail_sendername">Mark Proctor</b> &lt;<a href="mailto:mproctor@codehaus.org">mproctor@codehaus.org</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div text="#000000" bgcolor="#ffffff">arina he wrote: 
<blockquote type="cite"><span class="q">
<div>Hi,</div>
<div>&nbsp;</div>
<div>I did some tailoring, the attached zip files contains&nbsp;three parts:</div>
<div>&nbsp;</div>
<div>&nbsp; 1,One readme file showing the structure and how to run; </div>
<div>&nbsp; 2,The compiled class jar RuleConverter.jar which will convert given file to new one</div>
<div>&nbsp; 3,The&nbsp;eclipse project jar ConvertProject for any one might be&nbsp;interested.</div>
<div>&nbsp;</div>
<div>welcome comments.</div></span></blockquote>Could you update the wiki page with this information? You can upload the jar and cut and paste your instructions into the wiki page:<span class="q"><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wiki.jboss.org/wiki/Wiki.jsp?page=Drools2Migration" target="_blank">http://wiki.jboss.org/wiki/Wiki.jsp?page=Drools2Migration</a><br>
<br></span>Once you&#39;ve done that I&#39;ll also do a small blog referencing that page.<br>
<blockquote type="cite">
<div>&nbsp;</div>
<div><br>&nbsp;</div>
<div><span class="q"><span class="gmail_quote">On 12/22/07, <b class="gmail_sendername">arina he</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:arina.he@gmail.com" target="_blank">arina.he@gmail.com</a>&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">Hi Mark,<br><br>I have a simple app converting around 30 drl files with about 230 rules using this xslt, I was able to run all those rules without any manually modification after covertion which was my goal -:), lazy me.&nbsp; this xslt should cover most cases. <br>
<br>it converts two major parts: functions to package, rule to rule, and&nbsp; as well as some minor tags such as import. out of those &quot;functions&quot; part is a little hard, but I managed do it though xslt.<br><br>since my rules are not very complex ones, I&#39;m sure there are some case I don&#39;t cover. so&nbsp; far I know two&nbsp; issues: <br>
&nbsp; 1, the attribute for rules is not covered since I don&#39;t local attribute for individual rule, we use global&nbsp; vars,<br>&nbsp; 2, need put xml schema into header.<br><br>should be more, and that&#39;s why I put up here so that people can give comments and suggestion to make its coverage wider and more useful. <br>
<br>BTW, this is only for&nbsp; &quot;XML-to-XML&quot; format, not drl format.<br><br>one thing I was impressed by the Jboss Rule 4 is the backward compatibility. we were coded against JSR94 interface, after upgrade from drools 2 to 4, I only did a minor change on global variable. it works perfectly. good work Mark.</blockquote>
</span></div></blockquote>heh, nice to have a happy customer. Drools 5.0 will have some api changes, but the basic stuff should work with no changes - actually JSR94 will now have any changes, so this won&#39;t impact you, although ofcourse you&#39;ll miss out on all the new power we are adding :) We are trying to have full backwards compatability with 4.0 DRL and 5.0 DRL<span class="q"><br>

<blockquote type="cite">
<div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div><span><br><br><br>
<div class="gmail_quote">On Dec 19, 2007 12:59 PM, Mark Proctor &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mproctor@codehaus.org" target="_blank">mproctor@codehaus.org</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0pt 0pt 0pt 0.8ex; BORDER-LEFT: rgb(204,204,204) 1px solid">
<div text="#000000" bgcolor="#ffffff">arina he wrote: 
<blockquote type="cite">
<div>
<div>I was scraping internet for one xslt&nbsp;when I was converting drools 2 to jboss rule 4,&nbsp;but couldn&#39;t find one,</div></div></blockquote>did you read this? <br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://wiki.jboss.org/wiki/Wiki.jsp?page=Drools2Migration" target="_blank">http://wiki.jboss.org/wiki/Wiki.jsp?page=Drools2Migration</a><br>

<blockquote type="cite">
<div>
<div>&nbsp;</div>
<div>so I rolled up sleeves and created one by myself, put up here in case anyone need it too.</div></div></blockquote>How complete is it? Do you have any unit tests? If so we should add this as a contrib project for other users.<br>

<blockquote type="cite">
<div>&nbsp;</div>
<div>welcome comments.</div>
<div>&nbsp;</div>
<div>Arina.</div></blockquote>Keep up the good work :)<br>
<blockquote type="cite">
<div>
<div>
<div>&nbsp;</div>
<div>&nbsp;&nbsp; </div></div></div></blockquote><br>&nbsp;</div><br>_______________________________________________<br>rules-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org" target="_blank">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>
</span></div></blockquote></div><br><pre><hr width="90%" size="4">
_______________________________________________
rules-users mailing list
<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>
<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>
  </pre></blockquote><br></span></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>