axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tameem Ahmed (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (AXIS2-5369) Need to change the output of generated sources
Date Tue, 17 Jul 2012 22:28:34 GMT

    [ https://issues.apache.org/jira/browse/AXIS2-5369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416433#comment-13416433
] 

Tameem Ahmed edited comment on AXIS2-5369 at 7/17/12 10:27 PM:
---------------------------------------------------------------

Thanks Sagar,  I a newbie just stepped in to the axis world.   I used the plugin that you
added and added a parameter to flatten file which got rid of src as well.  Now I am able to
see my generated sources in target/generated-sources.   But with errors on Stubs about 100
of them.   I read couple of forums and got to know that something was fixed in 1.7.0 version
but when I specify that version in plugin it gives me errors that missing artifact id.   

must implement the inherited abstract method ADBBean.serialize(QName, OMFactory, MTOMAwareXMLStreamWriter,
boolean) etc.,  

Appreciate your help in this case.  
Here is my plugin...

<plugin>
				<groupId>org.apache.axis2</groupId>
				<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
				<version>1.6.2</version>
				<executions>
					<execution>
						<id>codegen</id>
						<phase>generate-sources</phase>
						<goals>
							<goal>wsdl2code</goal>
						</goals>
						<configuration>
							<wsdlFile>${basedir}/src/main/resources/wsdl/posapiserv.wsdl</wsdlFile>
							<outputDirectory>${project.build.directory}/generated-sources</outputDirectory>
							<packageName>com.touchstone.posapiserv</packageName>
							<flattenFiles>true</flattenFiles> 
						</configuration>
					</execution>
				</executions>
			</plugin>
                
      was (Author: tameem.ahmed):
    Thanks Sagar,  I a newbie just stepped in to the axis world.   I used the plugin that
you added and added a parameter to flatten file which got rid of src as well.  Now I am able
to see my generated sources in target/generated-sources.   But with errors on Stubs about
100 of them.   I read couple of forums and got to know that something was fixed in 1.7.0 version
but when I specify that version in plugin it gives me errors that missing artifact id.   

must implement the inherited abstract method ADBBean.serialize(QName, OMFactory, MTOMAwareXMLStreamWriter,
boolean) etc.,  

Appreciate your help in this case.  
Here is my plugin...
                  
> 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


Mime
View raw message