[
https://jira.jboss.org/jira/browse/JBRULES-2118?page=com.atlassian.jira.p...
]
Hugues Malphettes commented on JBRULES-2118:
--------------------------------------------
With the 5.1.0.M1 download, I faced he same issue.
Removing the comments did not fix the issue.
I used
http://anonsvn.jboss.org/repos/labs/labs/jbossrules/trunk/drools-process/...
as a starting point to create my custom workitem.
As a starting point the following workitem descriptor works for me. It is a subset of the
SampleWorkDefinitions.conf found in svn today.
import org.drools.process.core.datatype.impl.type.ListDataType;
import org.drools.process.core.datatype.impl.type.ObjectDataType;
import org.drools.process.core.datatype.impl.type.StringDataType;
[
[
"name" : "Log",
"parameters" : [
"Message" : new StringDataType()
],
"displayName" : "Log",
"icon" : "icons/open.gif",
"customEditor" :
"org.drools.eclipse.flow.common.editor.editpart.work.SampleCustomEditor"
]
]
comment makes Work Definition parser fail
-----------------------------------------
Key: JBRULES-2118
URL:
https://jira.jboss.org/jira/browse/JBRULES-2118
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: drools-eclipse (flow)
Affects Versions: 5.0.1.FINAL
Environment: Eclipse
Reporter: Wolfgang Laun
Assignee: Kris Verlaenen
See example in Drools Flow, section 8.2.1., Creating the Work Definition: The comment //
add more work items here ... makes the parser fail when calling up the RuleFlow editor
("Could not parse work definitions ...: null")
--
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