[jbosstools-issues] [JBoss JIRA] (JBDS-2353) Missing jpt.jaxb feature

Nick Boldt (JIRA) jira-events at lists.jboss.org
Thu Oct 11 11:37:03 EDT 2012


    [ https://issues.jboss.org/browse/JBDS-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12725647#comment-12725647 ] 

Nick Boldt commented on JBDS-2353:
----------------------------------

Blocked by upstream issue in Tycho 0.16.0-SNAPSHOT, reported to tycho-dev by [~mickael_istria] at 2012-10-11 11:32am EST:
{code}

[ERROR] Failed to execute goal org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform (default) on project multiple: Execution default of goal org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform failed: An API incompatibility was encountered while executing org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform: java.lang.NoSuchMethodError: org.eclipse.tycho.p2.resolver.facade.P2ResolverFactory.createTargetPlatformBuilder(Ljava/lang/String;)Lorg/eclipse/tycho/p2/target/facade/TargetPlatformBuilder;
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>org.eclipse.tycho.extras:target-platform-validation-plugin:0.16.0-SNAPSHOT
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/extras/target-platform-validation-plugin/0.16.0-SNAPSHOT/target-platform-validation-plugin-0.16.0-SNAPSHOT.jar
[ERROR] urls[1] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/tycho-p2-facade/0.16.0-SNAPSHOT/tycho-p2-facade-0.16.0-SNAPSHOT.jar
[ERROR] urls[2] = file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[3] = file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.5/plexus-utils-2.0.5.jar
[ERROR] urls[4] = file:/home/nboldt/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
[ERROR] urls[5] = file:/home/nboldt/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
[ERROR] urls[6] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/org.eclipse.osgi/3.8.1.v20120830-144521/org.eclipse.osgi-3.8.1.v20120830-144521.jar
[ERROR] urls[7] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/tycho-core/0.16.0-SNAPSHOT/tycho-core-0.16.0-SNAPSHOT.jar
[ERROR] urls[8] = file:/home/nboldt/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
[ERROR] urls[9] = file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[10] = file:/home/nboldt/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[11] = file:/home/nboldt/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[12] = file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
[ERROR] urls[13] = file:/home/nboldt/.m2/repository/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar
[ERROR] urls[14] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/tycho-metadata-model/0.16.0-SNAPSHOT/tycho-metadata-model-0.16.0-SNAPSHOT.jar
[ERROR] urls[15] = file:/home/nboldt/.m2/repository/de/pdark/decentxml/1.3/decentxml-1.3.jar
[ERROR] urls[16] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/tycho-embedder-api/0.16.0-SNAPSHOT/tycho-embedder-api-0.16.0-SNAPSHOT.jar
[ERROR] urls[17] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.embedder.shared/0.16.0-SNAPSHOT/org.eclipse.tycho.embedder.shared-0.16.0-SNAPSHOT.jar
[ERROR] urls[18] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.core.shared/0.16.0-SNAPSHOT/org.eclipse.tycho.core.shared-0.16.0-SNAPSHOT.jar
[ERROR] urls[19] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/sisu-equinox-embedder/0.16.0-SNAPSHOT/sisu-equinox-embedder-0.16.0-SNAPSHOT.jar
[ERROR] urls[20] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/sisu-equinox-api/0.16.0-SNAPSHOT/sisu-equinox-api-0.16.0-SNAPSHOT.jar
[ERROR] urls[21] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.resolver.shared/0.16.0-SNAPSHOT/org.eclipse.tycho.p2.resolver.shared-0.16.0-SNAPSHOT.jar
[ERROR] urls[22] = file:/home/nboldt/.m2/repository/org/eclipse/tycho/org.eclipse.tycho.p2.tools.shared/0.16.0-SNAPSHOT/org.eclipse.tycho.p2.tools.shared-0.16.0-SNAPSHOT.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR] 
{code}


                
> Missing jpt.jaxb feature
> ------------------------
>
>                 Key: JBDS-2353
>                 URL: https://issues.jboss.org/browse/JBDS-2353
>             Project: Developer Studio (JBoss Developer Studio)
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Build
>    Affects Versions: 5.0.0.GA
>            Reporter: Mustafa Musaji
>            Assignee: Nick Boldt
>             Fix For: 6.0.0.Beta1
>
>         Attachments: JBDS2353.patch, newJunoTPbuilders.zip
>
>
> The ability to right click on .XSD file, Generate->JAXB Classes which was in JBDS4 is no longer available and was removed from JBDS 5.0
> [~nickboldt] wrote:
> JBT3.2/JBDS4 used a target platform with this feature in it from WTP 3.2:
> <unit id="org.eclipse.jpt.feature.feature.group" version="2.3.4.v201104192310-7N7UF77FD3wTgcVbmmf0cT"/>
> And that massive feature contains (among other things):
> ./features/org.eclipse.jpt.feature_2.3.4.v201104192310-7N7UF77FD3wTgcVbmmf0cT.jar
>         ./plugins/org.eclipse.jpt.jaxb.ui_1.0.1.v201006300000.jar
>         ./plugins/org.eclipse.jpt.jaxb.core.schemagen_1.0.1.v201006300000.jar
> ---
> In WTP 3.3, they refactored their uber-features into smaller features. 
> So, in JBT3.3/JBDS5, we used a target platform with these features:
> <unit id="org.eclipse.jpt.common.feature.feature.group" version="1.0.2.v201111103010-6-3AkF7BC9EBID797"/>
> <unit id="org.eclipse.jpt.common.eclipselink.feature.feature.group" version="1.0.1.v201108080010-3-08s73553F3G3343"/>
> <unit id="org.eclipse.jpt.jpa.feature.feature.group" version="3.0.2.v201110193010-7S7B7HFC7sRdlV6fmbQaRBF5"/>
> <unit id="org.eclipse.persistence.jpa.feature.group" version="2.3.2.v20111125-r10461"/>
> But since we did not include the new jpt.jaxb feature, we did not include these:
> ./features/org.eclipse.jpt.jaxb.feature_1.0.2.v201111103010-508cAkF7BC8GBGA78A.jar
>         ./plugins/org.eclipse.jpt.jaxb.ui_1.1.2.v201201260000.jar
>         ./plugins/org.eclipse.jpt.jaxb.core.schemagen_1.0.100.v201104110000.jar
> ---
> Similarly, in JBT4/JBDS6 (WTP 3.4), we have this:
> <unit id="org.eclipse.jpt.common.feature.feature.group" version="1.2.1.v201208222210-663AkF7BF7cFFFFB7"/>
> <unit id="org.eclipse.jpt.common.eclipselink.feature.feature.group" version="1.2.1.v201208222210-3318s73573J777753"/>
> <unit id="org.eclipse.jpt.jpa.eclipselink.feature.feature.group" version="3.2.1.v201208222210-7M7J78F7RZHQYJAQsS4SVFD7"/>
> <unit id="org.eclipse.jpt.jpa.feature.feature.group" version="3.2.1.v201208222210-7S7K8gFBBoPapQieUcW_TFD7"/>
> <unit id="org.eclipse.persistence.jpa.feature.group" version="2.4.0.v20120608-r11652"/>
> And we're therefore (still) missing these:
> ./features/org.eclipse.jpt.jaxb.feature_1.2.1.v201208222210-56ABAkF7BF7cFFFFB7.jar
>         ./plugins/org.eclipse.jpt.jaxb.ui_1.3.1.v201208222210.jar
>         ./plugins/org.eclipse.jpt.jaxb.core.schemagen_1.0.201.v201208222210.jar
> This JIRA is to track the addition of these plugins back in to JBDS.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list