| Summary: | org.eclipse.persistence.dbws.builder failed to resolve javax.wsdl_1.6.2 | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Tran Le <tranle1> |
| Component: | General | Assignee: | Tran Le <tranle1> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | david_williams, neil.hauge |
| Version: | unspecified | ||
| Target Milestone: | 3.0 M6 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Tran Le
David, I am pulling in the EclipseLink DBWS bundle and its pre-reqs using <plugin ... /> I think I should use <import .../> instead, but do you think it is the source of the problem? Thanks. <requires> <import plugin="javax.wsdl" version="1.6.2" match="greaterOrEqual"/> <import plugin="org.eclipse.persistence.asm" version="2.3.0" match="greaterOrEqual"/> <import plugin="org.eclipse.persistence.core" version="2.3.0" match="greaterOrEqual"/> <import plugin="org.eclipse.persistence.dbws" version="2.3.0" match="greaterOrEqual"/> <import plugin="org.eclipse.persistence.dbws.builder" version="2.3.0" match="greaterOrEqual"/> </requires> No, the require vs. include methods I don't think would cause this.
Just from a glance, if you don't mind a guess, this might be one of those cases where order matters. I notice you have
<plugin
id="org.eclipse.jpt.dbws.eclipselink.core.gen"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
<plugin
id="javax.wsdl"
version="1.6.2.qualifier"
unpack="false"/>
And can't help to wonder if this order would work better?
<plugin
id="javax.wsdl"
version="1.6.2.qualifier"
unpack="false"/>
<plugin
id="org.eclipse.jpt.dbws.eclipselink.core.gen"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>
Thanks David, I have released the change. If this doesn't work I can revert to use again EclipseLink M5 in the morning. I have an appointment tomorrow and I would like to get some sleep. Thank you very much for your input. Ok ... now that I've looked at it ... The javax.wsdl bundles in Orbit export (only) "1.6" ... for example ... javax.wsdl;version="1.6", javax.wsdl.extensions;version="1.6", javax.wsdl.extensions.http;version="1.6", ... And, I think that is correct. Even though the bundle's version is "1.6.2", the package exports are supposed to be a "spec level" ... which version of javax.wsdl is required. So, when org.eclipse.persistence.dbws.builder says it needs "spec level" 1.6.2, PDE build correct replies no one provides that. The issue in Orbit is documented in bug 283302. If someone knows otherwise, that there really was an "addendum" to the wsdl spec for 1.6.2, that is different that the spec at the 1.6 level, then it'd be Orbit's bug, that they under-specify spec level. But, otherwise, I think it is Eclipselinks bug; that they "over specify" the import package level. I'm not exactly sure how their stuff builds, and runs ... perhaps they use a different "javax.wsdl" bundle during their build? Thanks David, do you want I revert and use the M5 release of EclipseLink for now. (In reply to comment #5) > Thanks David, do you want I revert and use the M5 release of EclipseLink for > now. Yes. We should be able to get through a build, while this is worked out with EclipseLink team and/or Orbit. (In reply to comment #6) > > Yes. We should be able to get through a build, while this is worked out with > EclipseLink team and/or Orbit. Thanks, I have released the map. Feel free to restart the build. I think that the tests are failing because I used an import statement in the feature. Therefore it did not pulled in the 'org.eclipse.persistence.moxy bundle. !SUBENTRY 1 org.eclipse.equinox.p2.director 4 0 2011-03-17 17:51:04.195 !MESSAGE Missing requirement: Dali Java Persistence Tools - EclipseLink JAXB Support (Optional) 1.0.0.v201103160002-51-AkF7BB7J9T777A (org.eclipse.jpt.jaxb.eclipselink.feature.feature.group 1.0.0.v201103160002-51-AkF7BB7J9T777A) requires 'org.eclipse.persistence.moxy 2.3.0' but it could not be found [build-wtp-dali-sdk] /shared/webtools/projects/wtp-R3.3.0-I/workdir/fetch_org.eclipse.jpt.jpa.eclipselink_sdk.feature.xml:11: The following error occurred while executing this line: [build-wtp-dali-sdk] /shared/webtools/projects/wtp-R3.3.0-I/workdir/fetch_org.eclipse.jpt.jpa.eclipselink_sdk.feature.xml:40: The following error occurred while executing this line: I assumed that the failure in the build I-3.3.0-20110317185143 is due to fetching of javax.persistence witch map to: plugin@javax.persistence,2.0.3=p2IU,id=javax.persistence,version=2.0.3.v20110129-r8902,repository=http://download.eclipse.org/rt/eclipselink/milestone-updates/2.3.0.v20110129-r8902_M5/ I wasn't sure about the value of the version and I entered "2.0.3.v20110129-r8902", but I guessed it is wrong. I have changed it to be "2.3.0.v20110129-r8902" and restarted the build. plugin@javax.persistence,2.0.3=p2IU,id=javax.persistence,version=2.3.0.v20110129-r8902,repository=http://download.eclipse.org/rt/eclipselink/milestone-updates/2.3.0.v20110129-r8902_M5/ David, can you see the problem at line 40 of fetch_org.eclipse.jpt.jpa.eclipselink_sdk.feature.xml I do not have access to this file and I am running out of ideas. [build-wtp-dali-sdk] /shared/webtools/projects/wtp-R3.3.0-I/workdir/fetch_org.eclipse.jpt.jpa.eclipselink_sdk.feature.xml:11: The following error occurred while executing this line: [build-wtp-dali-sdk] /shared/webtools/projects/wtp-R3.3.0-I/workdir/fetch_org.eclipse.jpt.jpa.eclipselink_sdk.feature.xml:40: The following error occurred while executing this line: Its probably misleading, as the "fast fail" check is just showing +/- 10 lines of context ... if you downloaded the whole antBuilderOutput.log file, you'd see more meaningful lines ... pasted below. So, the root error is Unable to find: Installable Unit [ id=javax.persistence version=2.3.0.v20110129-r8902 Is that the right version you are after? and repository correct? If so, then the error I suspect is only the "2.0.3" at the beginning of the map entry ... but, kind of an odd error message if that's the problem. Guess it's caused by some "substitution" of strings, and what it's really trying to say is "can't find plugin@javax.persistence,2.0.3. plugin@javax.persistence,2.0.3=p2IU,id=javax.persistence,version=2.3.0.v20110129-r8902,repository=http://download.eclipse.org/rt/eclipselink/milestone-updates/2.3.0.v20110129-r8902_M5/ = = = = = = = = = 597355 [build-wtp-dali-sdk] /shared/webtools/projects/wtp-R3.3.0-I/workdir/fetch_org.eclipse.jpt.jpa.eclipselink_sdk.feature.xml:40: The following error occurred while executing this line: 597356 [build-wtp-dali-sdk] /shared/webtools/projects/wtp-R3.3.0-I/workdir/fetch_org.eclipse.jpt.jpa.eclipselink.feature.xml:10: The following error occurred while executing this line: 597357 [build-wtp-dali-sdk] /shared/webtools/projects/wtp-R3.3.0-I/workdir/fetch_org.eclipse.jpt.jpa.eclipselink.feature.xml:27: The following error occurred while executing this line: 597358 [build-wtp-dali-sdk] /shared/webtools/projects/wtp-R3.3.0-I/workdir/fetch_org.eclipse.jpt.jpa.eclipselink.feature.xml:93: Unable to find: Installable Unit [ id=javax.persistence version=2.3.0.v20110129-r8902 ] 597359 [build-wtp-dali-sdk] 597360 [build-wtp-dali-sdk] Total time: 3 minutes 38 seconds 597361 [build-wtp-dali-sdk] An error has occurred. See the log file 597362 [build-wtp-dali-sdk] /opt/public/webtools/projects/wtp-R3.3.0-I/workdir/I-3.3.0-20110317215553/buildworkspaces/workspace-runbuild-dali-sdk/.metadata/.log. 597363 [build-wtp-dali-sdk] Java Result: 13 Assuming the repo is correct, I looked, and the "2.0.3" appears correct, but the full version is "2.0.3.v201010191057". So, you were on the right track in comment #9 ... Thanks David for correcting, I was going to post: This is a tricky situation because the javax.persistence version is 2.0.3.v201010191057 and the EclipseLink version is 2.3.0.v20110129-r8902 So I guess the map would be: plugin@javax.persistence,2.0.3=p2IU,id=javax.persistence,version=2.0.3.v201010191057,repository=http://download.eclipse.org/rt/eclipselink/milestone-updates/2.3.0.v20110129-r8902_M5/ Fixed in M6 |