You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2009/11/11 02:47:27 UTC

[jira] Resolved: (CXF-2508) generation of absolute path in WSDL2Java

     [ https://issues.apache.org/jira/browse/CXF-2508?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Kulp resolved CXF-2508.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.5
         Assignee: Daniel Kulp


I've done two things:

1) Added a disableDirectoryScan config that can be used to turn off the directory scanning.

2) Moved the configured wsdls to be processed AFTER any detected wsdls.   Thus, they would overwrite anything from the scanned wsdl's.   Thus, stuff specifically configured "wins".

> generation of absolute path in WSDL2Java
> ----------------------------------------
>
>                 Key: CXF-2508
>                 URL: https://issues.apache.org/jira/browse/CXF-2508
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.2.4
>         Environment: Windows XP
>            Reporter: Hans Scholl
>            Assignee: Daniel Kulp
>             Fix For: 2.2.5
>
>
> When generating classes from WSDL the path of wsdlLocation etc. in the service-class is always generated absolute e.g. wsdlLocation = "file:/C:/Projekte/Intern/...
> the configuration in the pom.xml is like this:
> <configuration>
> 							<sourceRoot>./target/generated-sources/jaxws
> 							</sourceRoot>
> 							<wsdlOptions>
> 								<wsdlOption>
> 									<wsdl>
> 										./src/main/resources/wsdl/My.wsdl
> 									</wsdl>
> 									<extraargs>
> 										<extraarg>-wsdlLocation</extraarg>
> 										<extraarg>./src/main/resources/wsdl/My.wsdl</extraarg>
> 										<extraarg>-verbose</extraarg>
> 									</extraargs>
> 								</wsdlOption>
> 							</wsdlOptions>
> 						</configuration>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.