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 "Sagara Gunathunga (JIRA)" <ji...@apache.org> on 2012/07/17 12:18:34 UTC
[jira] [Resolved] (AXIS2-5369) Need to change the output of
generated sources
[ https://issues.apache.org/jira/browse/AXIS2-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sagara Gunathunga resolved AXIS2-5369.
---------------------------------------
Resolution: Not A Problem
By default Axis2 code generate tool generate codes on "target/generated-sources/axis2/wsdl2code/src" by setting outputDirectory it is possible to change the out put directory location.
<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
After adding above line it will generate codes on ""target/generated-sources/src", note that removing "src" directory is a not a possible option for Axis2 for the moment.
Please refer attached sample it will generate code and compile with default "mvn clean install " command. If you need more customization options refer build-helper-maven-plugin.
Clearly this is not a bug or issue in Axis2 context.
> Need to change the output of generated sources
> -----------------------------------------------
>
> Key: AXIS2-5369
> URL: https://issues.apache.org/jira/browse/AXIS2-5369
> Project: Axis2
> Issue Type: Bug
> Components: ide plugins
> Affects Versions: 1.6.2
> Environment: maven, axis2
> Reporter: Tameem Ahmed
> Labels: maven, newbie, test
> Attachments: codegenSample.zip
>
>
> Need to force the generated source to target/generated-sources/ instead of target/generated-sources/axis2/wsdl2code/src.
> I am using axis2 maven plugin from here http://axis.apache.org/axis2/java/core/tools/maven-plugins/maven-wsdl2code-plugin.html
> As per the documentation it generates and dumps sources in target/generated-sources/axis2/wsdl2code/src. For my project I am using many other plugins which also generate sources and dump in target/generated-sources. But when I add this plugin and other plugins there is a conflict and throws an error that it cannot nest the directories and asks me to remove axis2/wsd2Code/src. Because of this I am not able to use any other plugin along with this plugin. Would really appreciate if some can help me out of this situation.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org