You are right, of course. The BRL editor has its own XML format.<br><br>I just wonder whether going through a DrlParser - DrlDumper cycle might produce a sufficiently "well-behaved" DRL text that could be easily enough transformed to the BRL XML. But nothing of this is in the "stable" API, so it would be wobbly in more than one way.<br>
<br>-W<br><br><br><div class="gmail_quote">2010/9/14 Leonardo Gomes <span dir="ltr"><<a href="mailto:leonardo.f.gomes@gmail.com">leonardo.f.gomes@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I might be wrong, but I think DRL -> BRL is still not possible.<br><br><br>Just had a look at org.drools.ide.common.server.util.BRDRLPersistence, and we have the following:<br><br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">
public RuleModel unmarshal(String str) {<br> throw new UnsupportedOperationException(<br> "Still not possible to convert pure DRL to RuleModel");<br> }<br></blockquote><br>Leo.<br><br>
<div class="gmail_quote">2010/9/14 Wolfgang Laun <span dir="ltr"><<a href="mailto:wolfgang.laun@gmail.com" target="_blank">wolfgang.laun@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There is a short hint in <span><span></span></span>the Expert Manual, subsection 4.11.3, where conversion between DRL and XML using classes such as DrlParser and XmlDumper is discussed. A .brk is just the "native" Drools XML format.<br>
<font color="#888888">
<br>-W</font><div><div></div><div><br><br><div class="gmail_quote">On 14 September 2010 01:17, Leonardo Gomes <span dir="ltr"><<a href="mailto:leonardo.f.gomes@gmail.com" target="_blank">leonardo.f.gomes@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Amisha,<br><br>You should use the user's list:<span> <<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a>></span> for this sort of question.<br><br>AFAIK, no you can't convert technical rules (manually written drl) to business rules (.brl) generated with the graphical editor using Guvnor.<br>
<br>Cheers,<br>Leo.<div><div></div><div><br><br><div class="gmail_quote">On Mon, Sep 13, 2010 at 10:42 PM, apatel <span dir="ltr"><<a href="mailto:apatel@ondeckcapital.com" target="_blank">apatel@ondeckcapital.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
Is it possible to port Technical Rules in Drools to Business Rules? Is the<br>
procedure posted somewhere?<br>
<br>
Also is it possible to apply Drools Categories to Technical Rules?<br>
<br>
Thanks for your help,<br>
Amisha<br>
<font color="#888888">--<br>
View this message in context: <a href="http://drools-java-rules-engine.46999.n3.nabble.com/Technical-Rules-tp1468563p1468563.html" target="_blank">http://drools-java-rules-engine.46999.n3.nabble.com/Technical-Rules-tp1468563p1468563.html</a><br>
Sent from the Drools - Dev mailing list archive at Nabble.com.<br>
_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
</font></blockquote></div><br>
</div></div><br>_______________________________________________<br>
rules-dev mailing list<br>
<a href="mailto:rules-dev@lists.jboss.org" target="_blank">rules-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-dev</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org" target="_blank">rules-users@lists.jboss.org</a><br>
<a 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>_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a 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>