Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319237 - [releng] javax.xml plug-in missing from weekly site
Summary: [releng] javax.xml plug-in missing from weekly site
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: dev   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.5   Edit
Assignee: Steffen Pingel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-08 05:02 EDT by Tomasz Zarna CLA
Modified: 2011-01-13 23:20 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Zarna CLA 2010-07-08 05:02:49 EDT
I'm using p2 agent to manage Eclipse profiles. With http://download.eclipse.org/tools/mylyn/update/weekly/e3.4 everything worked fine, but as soon as I switched to http://download.eclipse.org/tools/mylyn/update/weekly I started to receive the following error during the install:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Mylyn Commons 3.5.0.I20100626-2300-e3x (org.eclipse.mylyn.commons.feature.group 3.5.0.I20100626-2300-e3x)
  Missing requirement: Mylyn Commons 3.5.0.I20100626-2300-e3x (org.eclipse.mylyn.commons.feature.group 3.5.0.I20100626-2300-e3x) requires 'javax.xml [1.3.4.v201005080400]' but it could not be found

Prior installing Mylyn my profile contains: org.eclipse.sdk.ide, org.eclipse.pde.api.tools.ee.fragments.feature.group and org.eclipse.releng.tools.feature.group. All brand new, taken from 3.7 I-builds update site.
Comment 1 Steffen Pingel CLA 2010-07-08 22:36:52 EDT
Thanks for letting us know. Looks like the 3.6 based build did not fetch the Orbit jar and hence did not include it on the site. You can work around it by adding the Orbit update site http://download.eclipse.org/tools/orbit/downloads/drops/R20100519200754/repository or by de-selecting/uninstalling the commons feature. It is only needed for old UM compatibility and build purposes but does not need to be installed.

I'll try to fix this for the next build but it could take another two weeks since we are currently making a number of changes.
Comment 2 Tomasz Zarna CLA 2010-07-12 03:57:27 EDT
Skipping the commons feature didn't work since I ended up with a similar error, but this time the Connector was missing javax.xml.bind:

Cannot complete the install because one or more required items could not be found.
  Software being installed: Mylyn Connector: Bugzilla 3.5.0.I20100626-2300-e3x (org.eclipse.mylyn.bugzilla_feature.feature.group 3.5.0.I20100626-2300-e3x)
  Missing requirement: XML Binding for Java 2.2.0.v201005080402 (javax.xml.bind 2.2.0.v201005080402) requires 'package javax.xml [1.3.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Mylyn Connector: Bugzilla 3.5.0.I20100626-2300-e3x (org.eclipse.mylyn.bugzilla_feature.feature.group 3.5.0.I20100626-2300-e3x)
    To: javax.xml.bind [2.2.0.v201005080402]

Fortunately the workaround with the Orbit update site did the job.
Comment 3 Steffen Pingel CLA 2010-07-12 12:41:30 EDT
Good to know. I'll need to find a way to convince the build system to publish the javax.xml Orbit jar. Out of curiosity, which version of Java are you running?
Comment 4 Tomasz Zarna CLA 2010-07-13 06:16:09 EDT
c:\> java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
Comment 5 Steffen Pingel CLA 2010-08-05 00:24:15 EDT
The plug-in is now copied to the weekly site as part of the build.