[
https://jira.jboss.org/jira/browse/JBPM-2183?page=com.atlassian.jira.plug...
]
Tom Baeyens commented on JBPM-2183:
-----------------------------------
once this tool is usable, you should discuss with Koen how it can be integrated in the
process designer
process conversion tool
-----------------------
Key: JBPM-2183
URL:
https://jira.jboss.org/jira/browse/JBPM-2183
Project: JBoss jBPM
Issue Type: Task
Security Level: Public(Everyone can see)
Reporter: Tom Baeyens
Assignee: Jim Ma
Fix For: jBPM 4.0
add a class org.jbpm.jpdl.internal.convert.JpdlConverterTool to the jPDL classes.
syntax of the tool should be like this:
java org.jbpm.jpdl.internal.convert.JpdlConverterTool filename
The filename represents a jPDL 3 process file. The tool must place a new jPDL 4 file
next to the given file. the new file must end with .converted.jpdl.xml The prefix must
be the same as the original minus the .xml.
The tool must build a DOM model of the the jPDL 3 process file, modify that DOM model and
then serialize that modified DOM back to the new file. As a basis, a ConversionParser
must inherit from org.jbpm.pvm.internal.xml.Parser and overwrite the
parseDocument(Document, Parse); method. That way, you'll have the line number
information available for proper error generation.
In the jPDL test suite of jBPM 4, in package org.jbpm.jpdl.internal.convert, build a
minimal test that converts the simplest possible jPDL 3 process file.
--
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