[
https://jira.jboss.org/jira/browse/JBIDE-5322?page=com.atlassian.jira.plu...
]
Xue Peng commented on JBIDE-5322:
---------------------------------
Existing config file dosen't contains '<param
name="input.type">xxx</param>' , so there is no way to know the
input type of the config file , it need user to point out the input type themselves.
Smooks tools can get the input type from existing config file with deducing it , but it
only for several config files which has <reader> element (edi reader , json reader ,
and so on) . For other smooks config file , I suggest that :
1. Judge the "selector" string , if it looks like a java class full path , we
can provide the "Java Input" for it.
2. If the "selector" string does not look like java class full path , provide
the "XML Input" for it.
3. If there isn't any conditions in the config file for deduction , provide the
"XML Input" as default.
How do you like this way ?
Input task not picking up Java input when opening existing Smooks
config
------------------------------------------------------------------------
Key: JBIDE-5322
URL:
https://jira.jboss.org/jira/browse/JBIDE-5322
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: smooks
Affects Versions: 3.1.0.CR1
Reporter: Brian Fitzpatrick
Assignee: Xue Peng
Fix For: 3.1.0.GA
Original Estimate: 0 minutes
Remaining Estimate: 0 minutes
When I try to open the Smooks configuration for the java-to-java sample, it's not
picking up the Input configuration. Once I selected "Java" as the reader type
and selected the input message sample however, it looks fine.
We need to interpret the Java input configuration for the Input task when opening
existing configurations.
--
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