[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
14 years, 12 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
14 years, 12 months
[JBoss JIRA] Created: (JBIDE-6245) .dsl files from Guvnor examples are not properly read-only.
by Vlado Pakan (JIRA)
.dsl files from Guvnor examples are not properly read-only.
-----------------------------------------------------------
Key: JBIDE-6245
URL: https://jira.jboss.org/jira/browse/JBIDE-6245
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: drools
Environment: Fedora Linux v.11
JBossTools-Update-3.1.0.v201004291720R-H72-GA
Java 1.6Sun JDK
JBoss EAP 5.0
Reporter: Vlado Pakan
Assignee: Kris Verlaenen
.dsl files from Guvnor Repository examples are opened as read-only but it's possible to modified them via .dsl file editor in JBT.
When trying to save this read-only file JBT display this error:
Save Failed
org.guvnor.tools.utils.StringInput cannot be cast to org.eclipse.ui.part.FileEditorInput
It should not be possible to modify read-only .dsl file.
Steps to reproduce:
1. deploy guvnor to server and start server
2. open guvnor perspective
3. add default guvnor repository connection using Guvnor Repositories view
4. right click on newly created Guvnor connection and open Guvnor Console
5. choose ok to empty login dialog and click yes to install Guvnor examples
6. open <Guvnor connection> > pacakges > mortages > ApplicantDsl.dsl file from Guvnor Repositories view
7. select first expresion in opened ApplicantDsl.dsl file and click on edit button
8. click on OK button in Edit Language Mappiing dialog. It's not necessary to make any changes.
9. Choose save for ApplicantDsl.dsl file and error mentioned above is displayed
--
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
14 years, 12 months
[JBoss JIRA] Created: (JBIDE-6159) Change Installed Drools Runtimes Preferences Page
by Vlado Pakan (JIRA)
Change Installed Drools Runtimes Preferences Page
-------------------------------------------------
Key: JBIDE-6159
URL: https://jira.jboss.org/jira/browse/JBIDE-6159
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: drools
Affects Versions: 3.1.0.GA
Reporter: Vlado Pakan
Assignee: Kris Verlaenen
Current Installed Drools Runtime Preferences page is little bit confusing (Menu > Window > Preferences > Drools > Installed Drools Runtimes). When user choose button Add... it opens dialog where user can specify Name and Location of existing Drools Runtime or choose button "Create New Drools 5 Runtime" which will open native dialog for selecting directory where to create new Drools Runtime and populate correctly Name and Location text field. This is little bit non standard behavior and user doesn't know what exactly happened.
Better will be to add button "Create..." bellow button "Add..." on the Drools Preferences page with the same functionality as button "Create New Drools 5 Runtime" and remove this button from Drools Runtime dialog. Both actions Create and Add actions will call the same Drools Runtime dialog just with different Title. It would be realy nice to have there some description what is going to happen actually what means Create and what means Add action within Drools Runtime dialog. It also would be nice to have self describing tooltips for buttons "Create..." and "Add..." on Drools Runtime Preferences page.
See attached screenshots.
--
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
14 years, 12 months