Hi,
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.
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 ("one" and
"two") one for each rule in the Sample.drl.
I also modified the DRL to include Rule-Group attributes ("one" and
"two"). Unfortunately when running within Eclipse I received the
following error:-
com.thoughtworks.xstream.alias.CannotResolveClassException:
org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper :
org.drools.eclipse.flow.ruleflow.core.RuleFlowProcessWrapper
at
com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.ja
va:35)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.XmlFriendlyMapper.realClass(XmlFriendlyM
apper.java:44)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAlias
ingMapper.java:49)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProx
yMapper.java:46)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:7
0)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.ja
va:18)
at
com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.ja
va:27)
at
com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.ja
va: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.jav
a:54)
at com.sample.DroolsTest.readRule(DroolsTest.java:67)
at com.sample.DroolsTest.main(DroolsTest.java:22)
Suspecting I've missed something obvious can you advise?
With kind regards,
Michael Anstis