[
https://jira.jboss.org/jira/browse/JBIDE-4039?page=com.atlassian.jira.plu...
]
Kris Verlaenen commented on JBIDE-4039:
---------------------------------------
Currently, the Drools IDE cannot derive the version of the runtime based on the selected
directory. Therefore, it cannot automatically derive which code compatibility versions
should not be allowed. To support Drools4.x runtimes however, we decided to add a manual
combo where the user can simply decide (without validation).
Regarding the other issue, this not seem to be a Drools issue, Eclipse sometimes seems to
get confused and out of sync with the class files on the file system due to rebuilding.
The error that is attached seems to occur in those cases (Eclipse tries to delete
resources while rebuilding the project but cannot find them anymore). A simple refresh of
the project seems to fix the problem. Please advice what would be a good way to hide this
error (auto-refresh ourselves, show a error box asking the user to refresh, ???).
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
Assignee: Kris Verlaenen
Fix For: 3.0.2.GA, 3.1.0.M2
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