Re: [rules-users] running brl rules - error

2010-06-14 Thread kicho

Hi,

you should have a look at PackageBuilder javadoc. There is a method for
adding brl's:

public void addPackageFromBrl(Resource resource)
   throws DroolsParserException,
  IOException

Throws:
DroolsParserException 
IOException


-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/running-brl-rules-error-tp889521p894097.html
Sent from the Drools - User 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] issue with drools-container and related (in it's classpath) projects

2010-05-17 Thread kicho

Hi all!

I have a question regardless drools-container eclipse projects from svn
trunk (drools-spring project to be precise). I've noticed that that
particular project is now missing .classpath and .project files. 

I have been reading posts about drools and spring integration and found them
interesting, but now i don't know what projects from the svn i need to
checkout, since the mentioned files are missing. 

Is there any particular reason for that?

Thanks in advance,
kicho


-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/issue-with-drools-container-and-related-in-it-s-classpath-projects-tp823312p823312.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] drools guvnor/repository jackrabbit upgrade

2010-05-03 Thread kicho

Hi!

Thanks for your response, i'll be waiting for your changes in svn.

Cheers,
kicho
-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/drools-guvnor-repository-jackrabbit-upgrade-tp762273p772676.html
Sent from the Drools - User 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] drools guvnor/repository jackrabbit upgrade

2010-04-28 Thread kicho

Hi all!

I was wondering if anyone has some experience in upgrading jackrabbit from
1.4x to newer versions. I would appreciate some guidelines...

Thanks in advance!


-- 
View this message in context: 
http://drools-java-rules-engine.46999.n3.nabble.com/drools-guvnor-repository-jackrabbit-upgrade-tp762273p762273.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] drools-guvnor, problem when creating test scenarios based on referenced domain model

2010-03-25 Thread kicho

Hi Nicolas!

Thank you for your quick answer! But, i was kind of hoping that that's not
the solution...

I'll attach screen shots of rule configuration and test scenario so that we
could all see what am i doing wrong.

Rule screen:

http://n3.nabble.com/file/n519577/business_rule.jpg 

Rule source:

http://n3.nabble.com/file/n519577/business_rule_src.jpg 

Test scenario:

http://n3.nabble.com/file/n519577/test_scenario.jpg 

When i choose Run scenario: this is what i get:

http://n3.nabble.com/file/n519577/test_scenario_fail.jpg 

As you can see, i get a blank screen with no info at all, which points me to
conclusion that something (not good) happend.

In server log i found this:

2010-03-25 09:27:17,684 INFO  [STDOUT] ERROR 25-03 09:27:17,684
(ServiceImplementation.java:runScenario:1942)[Error: could not
access/write property (roleAttr) in: comExpert01.User]
[Near : {... __fact__.roleAttr = __val_ }]
   ^
[Line: 1, Column: 0]

I've tried to google this but with no success.
I'm running guvnor as a standalone dist downloaded from jboss site, version
5.0.1 on jbossAS 4.2.3, for repository instead of derby i'm using mysql 5.x

I should also mention that if i don't declare roleAttr in test scenario
(something like this):

http://n3.nabble.com/file/n519577/test_scenario_no_roleAttr.jpg 

I get another blank screen after running test with this exception in log
file:

2010-03-25 09:49:38,295 INFO  [STDOUT] ERROR 25-03 09:49:38,295
(ServiceImplementation.java:runScenario:1942)   
org.drools.RuntimeDroolsException: Exception executing predicate
roleAttr.roleName == ADMIN

Since there is no documentation about managing test scenarios i don't know
what is wrong here.

If you could give me some more directions or hints i would be very grateful.
-- 
View this message in context: 
http://n3.nabble.com/drools-guvnor-problem-when-creating-test-scenarios-based-on-referenced-domain-model-tp471099p519577.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] drools-guvnor, problem when creating test scenarios based on referenced domain model

2010-03-25 Thread kicho

Nicolas!

Thank you very very much! It works now! 
-- 
View this message in context: 
http://n3.nabble.com/drools-guvnor-problem-when-creating-test-scenarios-based-on-referenced-domain-model-tp471099p519882.html
Sent from the Drools - User mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users