[rules-users] How to read XML using XMLPackageReader-Drools-compiler.5.2.1.final?

2011-11-17 Thread Praveen
) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.findSchemaGrammar(Unknown Source) at com.sun.org.apache.xerces.internal.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source) Regards, Praveen. -- View this message in context: http://drools.46999.n3.nabble.com

[rules-users] How to use RepositorySessionUtil.getRepository()?

2011-11-14 Thread Praveen
at org.drools.repository.RepositorySessionUtil.getRepository(RepositorySessionUtil.java:69) at TestSample.main(TestSample.java:45) Do we need to initialise something before using the above piece of code? Please suggest, TIA. Regards, Praveen. -- View this message in context: http://drools.46999.n3

[rules-users] Help needed - Repository not getting initialised?

2011-11-13 Thread Praveen
) at org.apache.jackrabbit.commons.AbstractRepository.login(AbstractRepository.java:123) at Hello.getSession(Hello.java:50) at Hello.getSession(Hello.java:27) at Hello.main(Hello.java:72) Regards, Praveen. -- View this message in context: http://drools.46999.n3.nabble.com/Help-needed-Repository-not-getting-initialised

[rules-users] NPE while creating Session using SimpleCredentials

2011-11-10 Thread Praveen
(Exception e) { e.printStackTrace(); } TIA. Regards, Praveen. -- View this message in context: http://drools.46999.n3.nabble.com/NPE-while-creating-Session-using-SimpleCredentials-tp3496768p3496768.html Sent from the Drools: User forum mailing list archive

[rules-users] RulesRepository usage - jar incompatibility issue

2011-11-09 Thread Praveen
Repository getRepositoryHandle(){ if (repository == null) repository = new TransientRepository(classpath:repository.xml,praveen/repository); return repository; } Exception in thread main java.lang.NoClassDefFoundError

[rules-users] Where in DB does Guvnor store description of rules?

2011-11-08 Thread Praveen
through Guvnor) in UI would be great. Initially we had the idea of parsing comments in drl. However we saw that the description entered through Guvnor while writing a rule does not show up in the generated source code. TIA. Regards, Praveen. -- View this message in context: http://drools.46999.n3

Re: [rules-users] Where in DB does Guvnor store description of rules?

2011-11-08 Thread Praveen
would like to pick only these selected rules from DB and pack it into a drl/XML. Any help in this regard would be great. TIA. Regards, Praveen. -- View this message in context: http://drools.46999.n3.nabble.com/Where-in-DB-does-Guvnor-store-description-of-rules-tp3489816p3492668.html Sent from

[rules-users] How to parse comments in drl file using DrlParser?

2011-11-04 Thread Praveen
are not visible in the converted XML. Please let me know how to parse comments using DrlParser so that I can use it to display as rule description. Thanks Regards, Praveen. -- View this message in context: http://drools.46999.n3.nabble.com/How-to-parse-comments-in-drl-file-using-DrlParser-tp3479895p3479895

[rules-users] How can Drools Planner consume Guvnor generated drl file?

2011-10-31 Thread Praveen
rid of the Config xml that we use in the planner. Thanks Regards, Praveen. -- View this message in context: http://drools.46999.n3.nabble.com/How-can-Drools-Planner-consume-Guvnor-generated-drl-file-tp3467722p3467722.html Sent from the Drools: User forum mailing list archive at Nabble.com

Re: [rules-users] Accumulate and Collect issue - Guvnor 5.2 Final

2011-10-28 Thread Praveen Kumar
Thanks Mike! It works. Regards, Praveen. 2011/10/28 Michael Anstis michael.ans...@gmail.com I assume you have not tried adding the import? Select the package, edit the package, add an import for java.util.List. On 28 October 2011 10:55, Michael Anstis michael.ans...@gmail.com wrote

Re: [rules-users] Help needed - how to get Number and intValue in Guvnor

2011-10-20 Thread Praveen
Hello, Anyone out there who has come across the above issue? Regards, Praveen. -- View this message in context: http://drools.46999.n3.nabble.com/Help-needed-how-to-get-Number-and-intValue-in-Guvnor-tp3430730p3437459.html Sent from the Drools: User forum mailing list archive at Nabble.com

[rules-users] Help needed - how to get Number and intValue in Guvnor

2011-10-18 Thread Praveen
Hello, I am new to Drools and trying to write rules using Guvnor GUI. I have uploaded POJO's that are required for my rules. I am facing issue trying to get Number()(the one in Bold-Italics) and intValue in the Guvnor GUI. Below is the rule for reference, its taken from one of the examples