axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <>
Subject [jira] Commented: (AXIS2-4634) Ant task Java2WSDLTask does not allow the use of extraClasses
Date Mon, 01 Mar 2010 21:56:05 GMT


Andreas Veithen commented on AXIS2-4634:

Confirmed. I'm not an Ant expert, but using a String[] attribute directly indeed doesn't seem
to be possible. Unfortunately the person who submitted that code (see AXIS2-1411) is no longer
around to explain how this was supposed to work.

Instead of using a custom comma separated syntax, I would prefer nested elements [1]. This
would be nicer, especially because a list of class names can quickly become very long. What
do you think?


> Ant task Java2WSDLTask does not allow the use of extraClasses
> -------------------------------------------------------------
>                 Key: AXIS2-4634
>                 URL:
>             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: 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:
For additional commands, e-mail:

View raw message