[
https://issues.jboss.org/browse/JBDS-1848?page=com.atlassian.jira.plugin....
]
Kris Verlaenen commented on JBDS-1848:
--------------------------------------
The DSL file should be in either the same folder, the parent folder or the project root
folder for the plugin to find the DSL. The expander statement in the dslr file should
look something like:
expander MyDSL.dsl (where MyDSL.dsl is the file name of the DSL file containing the
definition of the DSL)
You will get the given exception if the Eclipse plugin cannot find the given DSL file.
Please attach a sample project that shows this behaviour if the error still exists.
Kris
Expander syntax for Drools can't find dsl file
----------------------------------------------
Key: JBDS-1848
URL:
https://issues.jboss.org/browse/JBDS-1848
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools
Affects Versions: 4.1.0.GA
Environment: JBDS 4.1.0 GA, OpenJDK 1.6, Fedora 14,
Reporter: Joel Tosi
Assignee: Kris Verlaenen
Fix For: 4.1.x, 5.x
Created a dsl, then went to use the dsl in a dslr. Entered the expander syntax along
with the dsl filename, expander errors and says it cannot find the file.
I have tried putting the dsl in the /src/main/rules directory, in the same package as the
dslr, and tried placing the dsl in its own package and then importing it or complete path
it in the expander - all provide an error still.
[ERR 107] Line 5:0 mismatched input 'expander' expecting one of the following
tokens: '{ identifier
}'. DSLClassUpgradeRule.dslr /JBTravel/src/main/rules/biz/jbtravel/classup line
5 Drools Error
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira