You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/03/14 00:50:27 UTC
[jira] Resolved: (AXIS2-4634) Ant task Java2WSDLTask does not allow
the use of extraClasses
[ https://issues.apache.org/jira/browse/AXIS2-4634?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andreas Veithen resolved AXIS2-4634.
------------------------------------
Resolution: Fixed
Fix Version/s: (was: 1.5.1)
1.6
Implemented the change, but with a slightly different syntax than the one proposed above (<extraclass> as direct child of the task + Ant favors attributes over text nodes). See the antrun configuration in [1] for examples.
[1] http://svn.apache.org/repos/asf/axis/axis2/java/core/trunk/modules/tool/axis2-ant-plugin/pom.xml
> 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
> Assignee: Andreas Veithen
> Fix For: 1.6
>
> 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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org