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 "Kishanthan Thangarajah (JIRA)" <ji...@apache.org> on 2013/04/29 21:30:16 UTC
[jira] [Commented] (AXIS2-5102) AntCodeGenTask fails for wsdl with
xsd:import schemaLocation when build file path includes a space character
[ https://issues.apache.org/jira/browse/AXIS2-5102?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644775#comment-13644775 ]
Kishanthan Thangarajah commented on AXIS2-5102:
-----------------------------------------------
This is same as AXIS2-5496. This issue is not there in current trunk. AntCodeGenTask runs without any issues in current trunk, when wsdl contains a schema import and the path contains space characters. A test case for this scenario is added to AXIS2-5496.
> AntCodeGenTask fails for wsdl with xsd:import schemaLocation when build file path includes a space character
> ------------------------------------------------------------------------------------------------------------
>
> Key: AXIS2-5102
> URL: https://issues.apache.org/jira/browse/AXIS2-5102
> Project: Axis2
> Issue Type: Bug
> Components: codegen
> Affects Versions: 1.4.1
> Environment: Windows & Linux
> JDK1.6, Ant 1.7
> Reporter: Rob Say
> Priority: Minor
> Labels: ant
> Attachments: stacktrace.txt
>
>
> The AntCodeGenTask fails when the WSDL includes xsd:import statements (schemaLocation references xsds all in same dir) and build is being made in a path which contains a space
> <target name="generate.client" >
> <taskdef name="codegen" classpathref="axis.path"
> classname="org.apache.axis2.tool.ant.AntCodegenTask"/>
> <codegen
> output="${basedir}/src"
> wsdlfilename="${basedir}/wsdl/${wsdl.name}"
> serverside="false"
> generateservicexml="false"
> databindingName="adb"
> packagename="com.company.project.service.stub"
> targetsourcefolderlocation="."
> skipbuildxml="false" />
> </target>
>
> D:\devenv\workspace\sensibleProjectName\
> ant generate.client
> *succeeds*
> D:\devenv\workspace\silly project name\
> ant generate.client
> *fails*
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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