[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to