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 "Rob Say (JIRA)" <ji...@apache.org> on 2011/07/28 11:33:09 UTC
[jira] [Updated] (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:all-tabpanel ]
Rob Say updated AXIS2-5102:
---------------------------
Attachment: stacktrace.txt
Stack trace (URISyntaxException) for WSDL on path with space characters.
> 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
> 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.
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