Open glassfishrobot opened 10 years ago
Reported by @romain-grecourt
@lukasj said: see WsImport2.java#488-507 where where 'file:/' protocol is being added to the path (#503)
inforedaster said: I have à jenkins 1.642.2 master without slave, my jenkins home directory is /var/lib/jenkins and for jobs directory i have been made a symbolic link :
lrwxrwxrwx. 1 jenkins jenkins 24 May 27 12:00 jobs -> /lun/data1/jenkins/jobs/
all my projects work well exept one a meven project multi modules is a project where i have a wsdl parssing take an error in every build (the same problem with the maven and free-style job) :
in the first step of maven plugin execution all wsdl files is located with the symbolik link but in the parssing it's located by physical link
when i do mvn install ine the server with putty it works well
can you help or any idea to resolve this probleme
[INFO] — jaxws-maven-plugin:2.3:wsimport (wsimport-from-userrights) @ usrMgrInterface — [INFO] Processing: file:/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.wsdl [INFO] jaxws:wsimport args: [-keep, -s, /var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/target/jaxws, -d, /var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/target/classes, -verbose, -encoding, UTF-8, -Xnocompile, -wsdllocation, META-INF/wsdl/usrmgr-userrights_v1.wsdl, -b, /var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.xjb, -b, /var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb, "file:/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.wsdl"] parsing WSDL...
[ERROR] "file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.wsdl" is not a part of this compilation. Is this a mistake for "file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.xjb"? line 4 of file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.xjb
[ERROR] "file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.wsdl" is not a part of this compilation. Is this a mistake for "file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb"? line 8 of file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb
[ERROR] "file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1.xsd" is not a part of this compilation. Is this a mistake for "file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb"? line 16 of file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb
[ERROR] "file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/technical-environment_v2.xsd" is not a part of this compilation. Is this a mistake for "file:/var/lib/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/technical-environment_v2.xsd"? line 24 of file:/lun/data1/jenkins/jobs/PROJECT1_MAVEN/workspace/Module5Ejb/usrMgrInterface/src/main/resources/META-INF/wsdl/usrmgr-userrights_v1_def.xjb
This issue was imported from java.net JIRA JAX_WS-1147
wsimport fails if the binding file is behind a symlinked and the path is provided as URI to wsimport. The URI is used because of the wsimport ant task which detects the link and then uses URI.
Environment
macos
Affected Versions
[2.2.4, 2.2.5, 2.2.6, 2.2.7, 2.2.8]