, also uploaded the
jar file, ready for comments now :).
Thanks.
On 2/1/08, Mark Proctor <mproctor(a)codehaus.org> wrote:
arina he wrote:
Hi,
I did some tailoring, the attached zip files contains three parts:
1,One readme file showing the structure and how to run;
2,The compiled class jar RuleConverter.jar which will convert given file
to new one
3,The eclipse project jar ConvertProject for any one might
be interested.
welcome comments.
Could you update the wiki page with this information? You can upload the
jar and cut and paste your instructions into the wiki page:
http://wiki.jboss.org/wiki/Wiki.jsp?page=Drools2Migration
Once you've done that I'll also do a small blog referencing that page.
On 12/22/07, arina he <arina.he(a)gmail.com> wrote:
>
> Hi Mark,
>
> 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. this xslt
> should cover most cases.
>
> it converts two major parts: functions to package, rule to rule, and as
> well as some minor tags such as import. out of those "functions" part is
a
> little hard, but I managed do it though xslt.
>
> since my rules are not very complex ones, I'm sure there are some case I
> don't cover. so far I know two issues:
> 1, the attribute for rules is not covered since I don't local
> attribute for individual rule, we use global vars,
> 2, need put xml schema into header.
>
> should be more, and that's why I put up here so that people can give
> comments and suggestion to make its coverage wider and more useful.
>
> BTW, this is only for "XML-to-XML" format, not drl format.
>
> 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.
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't impact you, although ofcourse you'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
>
>
> On Dec 19, 2007 12:59 PM, Mark Proctor <mproctor(a)codehaus.org> wrote:
>
> > arina he wrote:
> >
> > I was scraping internet for one xslt when I was converting drools 2
> > to jboss rule 4, but couldn't find one,
> >
> > did you read this?
> >
http://wiki.jboss.org/wiki/Wiki.jsp?page=Drools2Migration
> >
> >
> > so I rolled up sleeves and created one by myself, put up here in case
> > anyone need it too.
> >
> > How complete is it? Do you have any unit tests? If so we should add
> > this as a contrib project for other users.
> >
> >
> > welcome comments.
> >
> > Arina.
> >
> > Keep up the good work :)
> >
> >
> >
> >
> >
> >
> >
> > _______________________________________________
> > rules-users mailing list
> > rules-users(a)lists.jboss.org
> >
https://lists.jboss.org/mailman/listinfo/rules-users
> >
> >
>
------------------------------
_______________________________________________
rules-users mailing
listrules-users@lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
_______________________________________________
rules-users mailing list
rules-users(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users