The ResourceType should support more extensions for the same type
-----------------------------------------------------------------
Key: JBRULES-3068
URL:
https://issues.jboss.org/browse/JBRULES-3068
Project: Drools
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: drools-api
Affects Versions: 5.2.0.CR1
Reporter: Marco Piraccini
Assignee: Mark Proctor
Priority: Minor
If I try to get the reource type using:
String resourceName = "test.bpmn2"
ResourceType = ResourceType.determineResourceType(resourceName);
...the resource type is not correctly detected, since only ONE default extension is
supported (the BPMN2 type is related to the ".bpmn" extension). The ResourceType
should have one default extansions and a list of supported extensions fo r the same type.
If so, the ResourceType.BPMN2 declaration should be:
/** jBPM BPMN2 Language */
public static final ResourceType BPMN2 = addResourceTypeToRegistry(
"BPMN2","jBPM BPMN2 Language","bpmn", "bpmn2" );
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira