[JBoss JIRA] Created: (JBIDE-4039) Drools Runtime version checks during Drools project creation.
by Aliaksey Nis (JIRA)
Drools Runtime version checks during Drools project creation.
-------------------------------------------------------------
Key: JBIDE-4039
URL: https://jira.jboss.org/jira/browse/JBIDE-4039
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Affects Versions: 3.0.0.GA
Environment: WindowsXP SP2
JBoss Developer Studio
Version: 2.0.0.GA
Build id: jbdevstudio-eap-win32-2.0.0.GA-R200903141247-H4
JRE 1.5_08
Reporter: Aliaksey Nis
Attachments: DroolsExc1.txt, DroolsExc2.txt
EXECUTE: Install studio, during installation add jboss-soa-p.4.3.0 server.
ASSERT: Studio created drools runtime - Drools - jboss-soa-p.4.3.0.
EXECUTE: New project > Drools Project.
EXECUTE: Input name, press Next 2 times.
FAILURE: In step 3 enabled default checkbox with "Drools - jboss-soa-p.4.3.0" runtime(4.x drools runtime). And selected code compatibility with drools 5.x. No sights of warning about wrong Drools version.
EXECUTE: Press Finish.
ASSERT: Project created with error multiply markers(because wrong drools runtime used).
EXECUTE: Go to Preferences > Drools > Drools Runtimes. Create new Drools 5.x runtime.
EXECUTE: Right click on Drools project. Select Properties > Drools.
EXECUTE: Enable Settings checkbox, select Drools 5.x runtime. Press Ok.
FAILURE: Exception thrown in error log(DroolsExc1.txt).
EXECUTE: Right click on Drools project. Select Properties > Drools.
EXECUTE: Disable Settings checkbox. Press Ok.
FAILURE: Each time you press Ok button - exception thrown in error log(DroolsExc21.txt). It's imposible to disable Project specific settings now.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBIDE-5649) Code completion drl files does not work on Mac
by Martin Malina (JIRA)
Code completion drl files does not work on Mac
----------------------------------------------
Key: JBIDE-5649
URL: https://jira.jboss.org/jira/browse/JBIDE-5649
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Affects Versions: 3.1.0.CR1
Environment: Mac OS X 10.6.2
jbdevstudio-macosx-carbon-3.0.0.v201001060655N-H50-CR1.jar
Reporter: Martin Malina
1. Create a new Drools project:
File -> New -> Other -> Drools Project
Choose Name, click Next
Check all options
Choose Drools Runtime, click Finish
2. Open sample.drl file
3. Check code completion on import; m : Message
It doesn't work for me. I checked that this works normally on Linux using the Code Completion shortcut. On Mac when in a Java class, code completion works instantly whenever it can and without any shortcut. When in the drl file, it doesn't seem to work. Maybe it would work with a shortcut, but I don't know which shortcut - in Preferences I only found Word Completion which is something else - it seems that on Mac, code completion always works instantly.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBDS-894) Drools Gudided Editor creates incorrect XML for BRMS Manager to consume
by Graham Gear (JIRA)
Drools Gudided Editor creates incorrect XML for BRMS Manager to consume
-----------------------------------------------------------------------
Key: JBDS-894
URL: https://jira.jboss.org/jira/browse/JBDS-894
Project: JBoss Developer Studio
Issue Type: Bug
Affects Versions: 2.1.0
Environment: BRMS Manager 5.0.1
Reporter: Graham Gear
Priority: Minor
When rules created with the Dev Studio 2.1 Drools Guided Editor are uploaded to the BRMS Manager 5.0.1, literal values are not displayed correctly. BRL authored from Dev Studio has a feild nature of 0, where as BRMS authored BRL has a nature 1. Eg
Dev Studio Drools Guided Editor BRL:
<rhs>
<setField>
<fieldValues>
<fieldValue>
<field>review</field>
<value>Rule 6764: Review: Large Monthly Income</value>
<nature>0</nature>
<type>String</type>
</fieldValue>
</fieldValues>
<variable>applicationResult</variable>
</setField>
</rhs>
BRMS Manager Guided Editor BRL:
<rhs>
<setField>
<fieldValues>
<fieldValue>
<field>review</field>
<value>Rule 6764: Review: Large Monthly Income</value>
<nature>1</nature>
<type>String</type>
</fieldValue>
</fieldValues>
<variable>applicationResult</variable>
</setField>
</rhs>
If this is manually changed to 1 and uploaded to the BRMS Manager it all seems to work.
Previous versions of the Drools Plugin under Dev Studio 2.0 did not generated the nature tag at all and worked with BRMS Manager 5.0.0.
I have not tested interopability of Dev Studio 2.1 and BRMS Manager 5.0.0
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months