Re: [rules-users] guvnor and drl rules file uploading

2011-11-04 Thread Michael Anstis
Have you read the Guvnor User-guide?

More specifically the section relating to integration?

On 3 November 2011 15:31, gcautiero gianfranco.cauti...@truvo.com wrote:

 Hello,

 i'm working with different drools template (.drt) on excel raw data files.
 I
 have an application to generate rules files (.drl) to use it in my
 applications. My question is: there is a way in Guvnor to upload a new drl
 file? maybe with a restful service? i want upload the file with generating
 rules (template +excel data) but the only way to do this right now (version
 5.3.0.Final) is to made a new rule and copy all the rules from my
 generating
 process to it.

 Regards,

 Gianfranco Cautiero

 --
 View this message in context:
 http://drools.46999.n3.nabble.com/guvnor-and-drl-rules-file-uploading-tp3477473p3477473.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Regarding verstions of Drools-Guvnor...

2011-11-04 Thread Manohar Kokkula
Hi guys ,
I am new to this Drools.

I have one small doubt,

Is it mandatory to have all equal versions While executing Drools-Guvnor 
Applications ?
For example:

Binaries and Dependencies of Drools- 5.1.1
Drools_Eclipse Plugins  Features-5.1.1
Drools Guvnor (.war)-5.1.1


Currently  I used following version: 

Binaries and Dependencies of Drools- 5.0.1
Drools_Eclipse Plugins  Features-5.0.1
Drools Guvnor (.war)-5.2.0

Is this fine? or Shall I install all of these of equal versions.
Please help me.



Thanks and Regards
Manohar Kokkula
Mailto: manohar.kokk...@tcs.com
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Regarding verstions of Drools-Guvnor...

2011-11-04 Thread Vincent Legendre
I already used differents versions of drools like you describe without 
big problems.
The only real problem is if you use some 5.2 new features that can't be 
handled by previous runtimes versions. The inverse is more safe: guvnor, 
which is the rule editor, having lower version than runtime.


But let me turn the question : what prevent you from upgrading all your 
components to the last version ? (and I recommend you to pass to 5.3 
which has some important bug fixes on guvnor).



Le 04/11/2011 12:13, Manohar Kokkula a écrit :

Hi guys ,
I am new to this Drools.

I have one small doubt,

Is it mandatory to have all equal versions While executing 
Drools-Guvnor Applications ?

For example:

*Binaries and Dependencies of Drools- 5.1.1*
*Drools_Eclipse Plugins  Features-5.1.1*
*Drools Guvnor (.war)-5.1.1*


Currently  I used following version:

*Binaries and Dependencies of Drools- 5.0.1*
*Drools_Eclipse Plugins  Features-5.0.1*
*Drools Guvnor (.war)-5.2.0*

Is this fine? or**Shall I install all of these of equal versions.
Please help me.



Thanks and Regards
Manohar Kokkula
Mailto: manohar.kokk...@tcs.com
=-=-=
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you




___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2011-11-04 Thread Praveen
Hi,

The system we are building requires rulenames and rule
description(comments) to be displayed in the UI(built using JQuery).
I am using DrlParser to convert the drl(generated using Guvnor) to XML so
that it could be used to display in the UI.
However, the comments written in drl 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.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Question about JBoss Enterprise BRMS Platform 5.2

2011-11-04 Thread John Peterson
Does purchased support for BRMS include support for jBPM?

___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


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

2011-11-04 Thread Edson Tirelli
   Praveen,

   Comments are parsed into an ANTLR hidden channel. Check the ANTLR
documentation about how to capture tokens for a hidden channel if you want
to pursue that path.

   My suggestion for you is to use an annotation to store your
documentation instead. This allows you to easily access it from code:

rule X
   @doc( This is the documentation for rule X... )
...

   Edson

On Fri, Nov 4, 2011 at 7:55 AM, Praveen praveen.sa...@gmail.com wrote:

 Hi,

 The system we are building requires rulenames and rule
 description(comments) to be displayed in the UI(built using JQuery).
 I am using DrlParser to convert the drl(generated using Guvnor) to XML so
 that it could be used to display in the UI.
 However, the comments written in drl 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.html
 Sent from the Drools: User forum mailing list archive at Nabble.com.
 ___
 rules-users mailing list
 rules-users@lists.jboss.org
 https://lists.jboss.org/mailman/listinfo/rules-users




-- 
  Edson Tirelli
  JBoss Drools Core Development
  JBoss by Red Hat @ www.jboss.com
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] Drools Planner - StrengthWeightFactoryClass

2011-11-04 Thread Aditya
I have declared a strengthweightfactoryclass for a planning variable. But
when I run the solver it never seems to be called. Am I missing something. I
have already declared a annotation in the get method of the planning
variable.

--
View this message in context: 
http://drools.46999.n3.nabble.com/Drools-Planner-StrengthWeightFactoryClass-tp3480609p3480609.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users