[
https://issues.apache.org/jira/browse/AXIS2-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12842685#action_12842685
]
Vy Ho edited comment on AXIS2-4634 at 3/8/10 2:59 PM:
------------------------------------------------------
Patches to support extraClasses
- Now, it's possible to use either or both extraClasses attribute and
ExtraClasses nested element
For extraClasses attribute, the fully qualified class names are separated by
commas.
For ExtraClasses nested element, it has a list of further nested elements.
Each of elements in the list is either ExtraClass or XC tag.
This tag contains a fully qualified class name.
For example:
<java2wsdl ...>
<extraClasses>
<ExtraClass>org.apache.Test</ExtraClass>
<Xc>org.apache.Test2</Xc>
</extraClasses>
</java2wsdl>
Please update the user manual/guide before closing this bug.
was (Author: [email protected]):
Patches to support extraClasses
- Now, it's possible to use either or both extraClasses attribute and
ExtraClasses nested element
For extraClasses attribute, the fully qualified class names are separated by
commas.
For ExtraClasses nested element, it has a list of further nested elements.
Each of elements in the list is either ExtraClass or XC tag.
This tag contains a fully qualified class name.
For example:
<java2wsdl ...>
<extraClasses>
<ExtraClass>org.apache.Test</ExtraClass>
<Xc>org.apache.Test2</Xc>
</extraClasses>
</java2wsdl>
> Ant task Java2WSDLTask does not allow the use of extraClasses
> -------------------------------------------------------------
>
> Key: AXIS2-4634
> URL: https://issues.apache.org/jira/browse/AXIS2-4634
> Project: Axis2
> Issue Type: Bug
> Components: Tools
> Affects Versions: 1.5.1
> Environment: OpenSuse 11.2, JDK 1.6
> Reporter: Vy Ho
> Fix For: 1.5.1
>
> Attachments: ExtraClasses.java, Item.java, Java2WSDLTask.diff
>
>
> The ant task Java2WSDLTask doesn't allow setting the attribute extraClasses
> because it is an array type.
> I fixed this by changing the String [] to String for extraClasses
> And the setter and getter accordingly.
> I also change the addToOptionMap entry:
> addToOptionMap(optionMap,
> Java2WSDLConstants.EXTRA_CLASSES_DEFAULT_OPTION,
> getMultiStringArray(getExtraClasses()));
> Basically, I parse the extraClasses string (comma delimited).
> The method getMultiStringArray is just extraClasses.split(",")
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]