Skip to main content

Questions tagged [rules]

This tag is very broad, try being more specific by using tags relevant to your problem. Examples are "rule-engine" for rules engines, "url-rewriting"/"mod-rewrite" for rewrite rules or "form-validation" for validation rules. See the full wiki article for a more complete list.

rules
0 votes
1 answer
982 views

Loop over array of values with "ignore rule" fallback in Drools spreadsheet

I have a quite simple problem: for a rule I want to specifie an array of values which are valid values. How can I do so? I already had a look on the "in" keyword, but if I use the keyword I get a very ...
Nuker's user avatar
  • 2,597
0 votes
1 answer
170 views

How to set priorities to rules?

I have written the rules, but I didn't understand why desires rules is not matches, because documentation said this: When the generated scanner is run, it analyzes its input looking for strings ...
vho's user avatar
  • 1,141
1 vote
1 answer
290 views

Makefile - up to date rule which is not a file

Considering this (very) simple Makefile, all: a b @echo done a: touch $@ b: touch $@ I didn't get the behaviour I expected. In fact, I wish my rule "all" to be executed only if one of ...
Chmool's user avatar
  • 33
7 votes
3 answers
3k views

Junit External Resource @Rule Order

I want to use multiple external resources in my test class, but I have a problem with ordering of external resources. Here is code snippet : public class TestPigExternalResource { // hadoop ...
Salih Kardan's user avatar
0 votes
0 answers
598 views

How to launch two Drools rules at same time?

I need to launch two different rules at same time. At this moment I have a drl file with these rules. The first rule has a timer, so it runs every minute rule "periodicCheck" salience 20 ...
jjmartinez's user avatar
1 vote
1 answer
7k views

Insert in Drools

I am begginer and I am doing a project with Liferay and Drools. I create Drools's rules dinamically with velocity and after I execute it. It works except with the Address, I think it should be ...
sandra's user avatar
  • 179
2 votes
0 answers
73 views

How to deny branching from master

Given the following scenario: o-o- ... -o-o-o master | |`-o-o feature1 | `-o-o feature2 | \ `-o-o-o-o-o-o-o-o develop I have a master where all new ...
Andy's user avatar
  • 786
1 vote
1 answer
400 views

How we choose deffacts from terminal in Jess rules

I have write my code in Jess which is: ;;;************* ;;;* MODULES * ;;;************* (defmodule EXAMPLE) ;;;************* ;;;* TEMPLATES * ;;;************* (deftemplate EXAMPLE::status (slot ...
NickName's user avatar
  • 313
0 votes
1 answer
50 views

How to read Default.rule in java?

I have a project, in java, which is taken from site UBI REAL PROJECT Here in this Project, I found one file, named as Default.rule . I am unaware that how java files are can such extensions. I ...
Duaan's user avatar
  • 609
0 votes
2 answers
695 views

simpson's rule in scheme

Can someone help me write the body of a method for Simpson's rule in scheme? The following is what I have so far, but I don't know whether I should solve this problem recursively or using a different ...
John Friedrich's user avatar
0 votes
1 answer
672 views

Must Follow rules of FxCOP [closed]

I´m using FxCOP and I want to know which are the most important rules or the rules that anybody can´t miss when using this tool. I´m looking for some article or page with a list of rules that must be ...
Ocepeda's user avatar
  • 37
0 votes
1 answer
1k views

Which are the “Must Follow” rules of PMD? [closed]

I´m starting to use PMD and I really want to know which are the most important rules or the rules that anybody can´t miss when using this tool. I´m looking for some article or page with a list of ...
Ocepeda's user avatar
  • 37
1 vote
4 answers
1k views

Wrong colors in <hr>

Today I discovered this by accident: <hr width=100% color=red /> creates a red horizontal rule, but <hr width=100% color=red/> creates a green horizontal rule. This isn't just with ...
Frithjof's user avatar
  • 2,234
3 votes
1 answer
2k views

Junit Rules, TestCases, and inheritance : Do they work together?

Do Junit Rules apply to tests which are named in a superclass? It appears that they dont from some initial tests which I have run, wherein I inherit a Test class and Override named tests in my ...
jayunit100's user avatar
  • 17.5k

15 30 50 per page
1
111 112
113
114 115
150