[rules-users] Using Rule Flow
Mark Proctor
mproctor at codehaus.org
Fri Jul 20 10:01:20 EDT 2007
No it's in trunk, see my blog:
http://markproctor.blogspot.com/2007/07/conways-game-of-life-updated-for-rule.html
Mark
Natraj Gudla wrote:
> Mark,
>
> Are the latest examples updated to
> http://labs.jboss.com/jbossrules/downloads under the MR3 Examples
> downloadable.
>
> Thanks
> Natraj
>
>
> On 7/19/07, *Mark Proctor* <mproctor at codehaus.org
> <mailto:mproctor at codehaus.org>> wrote:
>
> I have just updated conways game of life example to use ruleflow,
> the agenda group one still exists. So execute ConwayAgendaGroupRun
> and ConwayRuleFlowGroupRun to run the two examples.
> AgendaGroupDelegate and RueFlowDelegate show the two different
> implementations.
>
> Mark
> Natraj Gudla wrote:
>> Hi,
>>
>> Has any one used Rule FLow with 4.0.0. I am looking for some help
>> on how to use rule flow, where to mention the drl file name. How
>> to use it in the java invoker classes.
>>
>> I have tried something, created a TestRuleFlow.rf, then added a
>> rule group, gave it a group name as drl file name. When i use the
>> PackageBuilder to add the rule flow, it throws the following
>> exception
>>
>> _
>>
>> com.thoughtworks.xstream.alias.CannotResolveClassException
>>
>> _: org.drools.ruleflow.core.impl.RuleFlowProcess :
>> org.drools.ruleflow.core.impl.RuleFlowProcess
>>
>> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(
>>
>> _DefaultMapper.java:35_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(
>>
>> _XmlFriendlyMapper.java:44_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(
>>
>> _ClassAliasingMapper.java:49_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(
>>
>> _DynamicProxyMapper.java:46_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(
>>
>> _ArrayMapper.java:70_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.CachingMapper.realClass(
>>
>> _CachingMapper.java:27_)
>>
>> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(
>>
>> _TreeUnmarshaller.java:95_)
>>
>> at
>> com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy.unmarshal(
>>
>> _ReferenceByIdMarshallingStrategy.java:12_)
>>
>> at com.thoughtworks.xstream.XStream.unmarshal(
>>
>> _XStream.java:552_)
>>
>> at com.thoughtworks.xstream.XStream.unmarshal(
>>
>> _XStream.java:540_)
>>
>> at com.thoughtworks.xstream.XStream.fromXML(
>>
>> _XStream.java:490_)
>>
>> at org.drools.compiler.ProcessBuilder.addProcessFromFile(
>>
>> _ProcessBuilder.java:76_)
>>
>> at org.drools.compiler.PackageBuilder.addRuleFlow(
>>
>> _PackageBuilder.java:199_)
>>
>> at com.drools.sample.ParseDRL.readRuleFromDrl(
>>
>> _ParseDRL.java:72_)
>>
>> at com.drools.sample.ParseDRL.main(
>>
>> _ParseDRL.java:23_)_
>>
>> com.thoughtworks.xstream.alias.CannotResolveClassException
>>
>> _: org.drools.ruleflow.core.impl.RuleFlowProcess :
>> org.drools.ruleflow.core.impl.RuleFlowProcess
>>
>> at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(
>>
>> _DefaultMapper.java:35_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(
>>
>> _XmlFriendlyMapper.java:44_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(
>>
>> _ClassAliasingMapper.java:49_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(
>>
>> _DynamicProxyMapper.java:46_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(
>>
>> _ArrayMapper.java:70_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(
>>
>> _MapperWrapper.java:18_)
>>
>> at com.thoughtworks.xstream.mapper.CachingMapper.realClass(
>>
>> _CachingMapper.java:27_)
>>
>> at com.thoughtworks.xstream.core.TreeUnmarshaller.start(
>>
>> _TreeUnmarshaller.java:95_)
>>
>> at
>> com.thoughtworks.xstream.core.ReferenceByIdMarshallingStrategy.unmarshal(
>>
>> _ReferenceByIdMarshallingStrategy.java:12_)
>>
>> at com.thoughtworks.xstream.XStream.unmarshal(
>>
>> _XStream.java:552_)
>>
>> at com.thoughtworks.xstream.XStream.unmarshal(
>>
>> _XStream.java:540_)
>>
>> at com.thoughtworks.xstream.XStream.fromXML(
>>
>> _XStream.java:490_)
>>
>> at org.drools.compiler.ProcessBuilder.addProcessFromFile(
>>
>> _ProcessBuilder.java:76_)
>>
>> at org.drools.compiler.PackageBuilder.addRuleFlow(
>>
>> _PackageBuilder.java:199_)
>>
>> at com.drools.sample.ParseDRL.readRuleFromDrl(
>>
>> _ParseDRL.java:72_)
>>
>> at com.drools.sample.ParseDRL.main(
>>
>> _ParseDRL.java:23_)
>>
>> Exception in thread "main"
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org <mailto:rules-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/rules-users
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20070720/ed875c8e/attachment.html
More information about the rules-users
mailing list