You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Kevin Menard (JIRA)" <ji...@apache.org> on 2008/01/15 19:31:34 UTC

[jira] Created: (AXIS2-3450) wsdl2code maven2 plugin "outputDirectory" not properly used.

wsdl2code maven2 plugin "outputDirectory" not properly used.
------------------------------------------------------------

                 Key: AXIS2-3450
                 URL: https://issues.apache.org/jira/browse/AXIS2-3450
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.3
            Reporter: Kevin Menard


The "outputDirectory" configuration docs say:

"Target directory, where sources are being target/generated-sources/axis2/wsdl2code generated."

Specifying outputDirectory does not work as stated, however.  The plugin always adds a "src" directory after the fact, which makes it impossible to integrate the generated sources in any sort of standard manner.  This seems very similar in nature to AXIS2-1948, where it was stated that it was unknown if the "-f" option would work with the plugin.  It appears that "outputDirectory", when specified, should override the output location, obviating the need for "-f".  While it generally does that, the "src" directory should not be added.

As an aside, the description includes the default value mid-sentence.  This looks like a transposition error and the value should probably be in the default value column.

-- 
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: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


[jira] Commented: (AXIS2-3450) wsdl2code maven2 plugin "outputDirectory" not properly used.

Posted by "Gerold Glaser (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIS2-3450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12673217#action_12673217 ] 

Gerold Glaser commented on AXIS2-3450:
--------------------------------------

Hi!

I was facing the same problem for lots of hours. After studying the source code I saw that with the parameter "flattenFiles" the "src" directory between the outputFolder and packageName is omitted.

In my opinion it would be a great help for others if the optional parameters would be better documented in the parameter section of http://ws.apache.org/axis2/tools/1_4_1/maven-plugins/maven-wsdl2code-plugin.html.

Best regards,
Gerry

> wsdl2code maven2 plugin "outputDirectory" not properly used.
> ------------------------------------------------------------
>
>                 Key: AXIS2-3450
>                 URL: https://issues.apache.org/jira/browse/AXIS2-3450
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: Tools
>    Affects Versions: 1.3
>            Reporter: Kevin Menard
>
> The "outputDirectory" configuration docs say:
> "Target directory, where sources are being target/generated-sources/axis2/wsdl2code generated."
> Specifying outputDirectory does not work as stated, however.  The plugin always adds a "src" directory after the fact, which makes it impossible to integrate the generated sources in any sort of standard manner.  This seems very similar in nature to AXIS2-1948, where it was stated that it was unknown if the "-f" option would work with the plugin.  It appears that "outputDirectory", when specified, should override the output location, obviating the need for "-f".  While it generally does that, the "src" directory should not be added.
> As an aside, the description includes the default value mid-sentence.  This looks like a transposition error and the value should probably be in the default value column.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.