Semantic Web Drools Module, Request for Feedbak
by Xavier Breton
Hi,
I'm looking for feedback, I'll develop a Semantic Web Drools Module that
will be the subject of my Master Degree Tesis.
The idea is to use Eclipse Modelling Framework (EMF) for prototyping and
follow a Model Driven Architecture (MDA) where the source language is
Semantic of Business Vocabularies and Business Rules (SBVR) and the target
language is Drools DRL.
The mapping could be (PIM level):
- Semantic Web Rule Language (SWRL)
- Ontology Web Language (OWL)
- RuleML
- Rule Interchange Format (RIF)
- REWERSE Rule Markup Language (R2ML)
It could be added to the module at the source UML or Entity Relationship
like models to transform the models into SBVR.
Regards
Xavier Breton
10 years, 9 months
Attach custom editor on guided decision table cell
by c3310082
Hi,
We would like to render a custom editor when a user double-clicks on a cell
that is present in web guided decision table in Guvnor 5.1 (or later). The
custom editor needs to be invoked for cells that represent a particular fact
model attribute only.
This is somewhat similar to WS custom forms functionality available for
guided business rules.
So far we have seen the
org.drools.guvnor.client.decisiontable.GuidedDecisionTableWidget class that
contains implementation for:
public void onCellDblClick(GridPanel grid,
int rowIndex,
int colIndex,
EventObject e)
in the GridCellListenerAdapter class that opens up text editor or drop down
editor.
We're new to GWT and Guvnor so would appreciate it if anyone can provide the
high level steps.
Thanks
--
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/Attach-custom-editor-...
Sent from the Drools - Dev mailing list archive at Nabble.com.
12 years, 1 month
Guided Editor in BRMS / Guvnor Version 5 (Snapshot of 26 June)
by Paul Browne
Folks,
For various reasons I'm trying out the Guided Editor for Business Rules in
the Guvnor Version 5 (Snapshot of 26 June from Hudson, deployed on JBoss App
Server 4.2.2GA).
I've created the Package / Category and uploaded a simple fact model (as
works in BRMS version 4). I create a new business rule using the guided
editor and the screen shows successfully with both 'When' and 'Then'
parts.Assume the next question is due to me missing something, but wanted to
double check:
When I press the green '+' to the right of the screen I am shown the message
/ dialog layer saying '
*Add a condition to the rule... *or* Add an action to the rule.
*Problem is that there doesn't appear to be a way of adding a condition or
action. The only thing I'm seeing in the logs is
* (Contexts.java:flushAndDestroyContexts:335) could not discover
transaction status
*Am I missing something or should I come back to Guvnor later in the
development Cycle?
Thanks
Paul
12 years, 8 months
Drools on android
by Justin King
Hi All,
I'm wondering if anyone has tried to use drools in a google android
application, and if so what problems did you have? I'd also be interested to
know if its even possible!
Thanks!
--
Regards,
Justin King
PhD Candidate
Faculty of Information and Communication Technologies
Swinburne University of Technology
http://www.ict.swin.edu.au/ictstaff/justinking
--
Regards,
Justin King
PhD Candidate
Faculty of Information and Communication Technologies
Swinburne University of Technology
http://www.ict.swin.edu.au/ictstaff/justinking
12 years, 11 months
Clean up your topic branches on the github reference repository
by Geoffrey De Smet
Hi guys,
In the github reference repository
https://github.com/droolsjbpm/droolsjbpm
we have /release branches/, such as 4.0.x, 5,0.x, 5.1.x, 5.2.0.M1.x, ...
which is fine,
but also topic branches which clutter our reference repository.
Following the conventions of other projects, we'd like to move all topic
branches out of the github reference repository, by:
* 1) Removing the topic branch if it has been merged into master
long ago and has become irrelevant
* 2) Keep the topic branch local (if it's short-lived) until it's
merged into master
* 3) Forking the reference repository on github and push your topic
branches there, until it's merged into master
o For example, edson's fork:
https://github.com/etirelli/droolsjbpm
Here's a list of the topic branches that we want to get rid of.
If one of them is yours, please read on.
* Branch_4_0_2_SOA_4_2
* DRLv6
* DROOLS_4_0_2_SOA_4_2_GA
* DroolsChance
* K200
* effective_dated
* guvnor-pre-guided-changes-june-09
* kstam_guvnor_modeshape
* lr_unlinking_20101116
* persistence_refactor
* rete_using_static_methods_aug2009trunk_20100722_esteban_diega
If 1) applies and it has been merged into master long ago and has become
irrelevant, then just remove it with this command:
$ git push origin :<branchname>
For example:
$ git push origin :kstam_guvnor_modeshape
If 2) or 3) applies, its a bit more difficult, but I'll make a blog in a
few weeks on how to fork and do social coding.
--
With kind regards,
Geoffrey De Smet
13 years, 10 months
guvnor: can anyone write a direction about how to debug gunvor in eclipse?
by 李领康
HI,
i want to debug guvnor in eclipse, i follow the derection in
http://community.jboss.org/wiki/RulesRepositoryBuildInstructions.
un fortunately, i Failure.
the following are my environment.
window xp sp3
eclipse sdk 3.6.1,( install gwt plugin from
http://dl.google.com/eclipse/plugin/3.6. )(gwt-2.1.1)
java .1.6.0_18
maven 3.0.2
ant 1.8.2
drools 5.2.0.36439-M1
and when run --> web application. the Development Mode show these:
-------------------------------
[DEBUG] [org.drools.guvnor.Guvnor] - Validating newly compiled units
[ERROR] [org.drools.guvnor.Guvnor] - Errors in
'file:/F:/JAVA/Drool/5.2.0.36439-M1/drools-guvnor/src/main/java/org/drools/guvnor/client/decisiontable/ActionInsertColumn.java'
[ERROR] [org.drools.guvnor.Guvnor] - Line 58: No source code is available
for type org.drools.ide.common.client.modeldriven.dt.GuidedDecisionTable;
did you forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Line 59: No source code is available
for type
org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine; did you
forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Line 60: No source code is available
for type org.drools.ide.common.client.modeldriven.dt.ActionInsertFactCol;
did you forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Line 179: No source code is available
for type org.drools.ide.common.client.modeldriven.dt.ActionCol; did you
forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Line 198: No source code is available
for type org.drools.ide.common.client.modeldriven.FieldAccessorsAndMutators;
did you forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Errors in
'file:/F:/JAVA/Drool/5.2.0.36439-M1/drools-guvnor/src/main/java/org/drools/guvnor/client/decisiontable/ActionSetColumn.java'
[ERROR] [org.drools.guvnor.Guvnor] - Line 55: No source code is available
for type org.drools.ide.common.client.modeldriven.dt.ActionSetFieldCol; did
you forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Line 58: No source code is available
for type org.drools.ide.common.client.modeldriven.dt.GuidedDecisionTable;
did you forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Line 59: No source code is available
for type
org.drools.ide.common.client.modeldriven.SuggestionCompletionEngine; did you
forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Line 183: No source code is available
for type org.drools.ide.common.client.modeldriven.dt.ActionCol; did you
forget to inherit a required module?
[ERROR] [org.drools.guvnor.Guvnor] - Line 265: No source code is available
for type org.drools.ide.common.client.modeldriven.dt.ConditionCol; did you
forget to inherit a required module?
...............................
..........................
thanks
derek lee.
13 years, 10 months
Peer reviewing on github with "commit comments": very useful
by Geoffrey De Smet
Hi guys,
Until now, when a code change was committed and pushed by someone else
and you did not agree with the code change(s),
there were only 3 things you could do:
- Fix it and commit it, if you're a 90%+ sure that it's a mistake (and
probably mail the original committer so he has a chance to disagree)
- Postpone it and hope you run into the original committer on IRC (or
mail him), still remember the issue, still remember the class and line
name and discuss it...
- Ignore it, especially if you're less than 50% sure that it's a problem.
Most of the times, we probably ignored it, to avoid stepping on people
toes and because it's a lot of work copying the affected code.
But thanks to github, there's an 4th way: look up the commit on
github.com and click left of the line(s) with which you don't agree.
It has a couple of advantages:
- Your concerns are hooked to the code line of your concerns, making it
much easier for the original author to understand your point
- The original author might invalidate your concerns or find a bug in
your proposed changes
- If the original author validates your concerns, he has learned and
won't make the same mistake again
- The original author might have made a similar mistake in other code
(which only he knows about)
Here's a recent successful conversation:
https://github.com/droolsjbpm/droolsjbpm/commit/e9cbcf0e874cc2103ebda44ce...
You can find a list of all commit comments here:
https://github.com/droolsjbpm/droolsjbpm/comments
--
With kind regards,
Geoffrey De Smet
13 years, 10 months