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

Bartek Zdanowski commented on CXF-5397:
---------------------------------------

It may be because dollar signs. Try to create file with dollar sign in it's 
name. If it cannot be created, that's the reason. 
Or is it because of length of the name? Try to create exactly the same empty 
file. If it cannot be created try to cut it's name to a bit shorter and try 
again. Please leave dollar signs to check if it's the case.

> wsdl2java marker file name can exceed 255 chars
> -----------------------------------------------
>
>                 Key: CXF-5397
>                 URL: https://issues.apache.org/jira/browse/CXF-5397
>             Project: CXF
>          Issue Type: Bug
>          Components: Tooling
>    Affects Versions: 2.7.7
>         Environment: Linux, windows
>            Reporter: Bartek Zdanowski
>            Assignee: Daniel Kulp
>              Labels: wsdl2java
>             Fix For: 2.7.8
>
>         Attachments: AbstractCodegenMoho.java
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> During wsdl2java generation a marker file is created. It's name is created 
> from WSDL URI (location on disk). When it exceeds 255 chars it will produce 
> error during plugin execution.
> [ERROR] Failed to execute goal 
> org.apache.cxf:cxf-codegen-plugin:2.7.7:wsdl2java 
> (generate-sources-projectName) on project bank-simulator: Failed to create 
> marker file /marker/file/path
> Additionally, if maven submode with wsdl2java is called from parent submodule 
> eg.
> mvn clean install -pl submoduleName
> then markerfile nale length gets a lot bigger because base path to submodule 
> is not stripped.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to