Bug 239094 - XSD Cheatsheets are still v2.3.0
Summary: XSD Cheatsheets are still v2.3.0
Status: RESOLVED WORKSFORME
Alias: None
Product: EMF
Classification: Modeling
Component: XSD (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2008-07-01 06:12 EDT by Chris CLA
Modified: 2023-01-12 11:53 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chris CLA 2008-07-01 06:12:39 EDT
Build ID: I20080617-2000

Steps To Reproduce:
1.Download emf-sdo-xsd-SDK-2.4.0.zip
2.Install into Eclipse 3.4
3.Open XSD file in Sample Schema Editor
4.Notice lack of syntax highlighting
5.Look in Error Log
Note warnings:
"Unable to satisfy dependency from org.eclipse.xsd.cheatsheets 2.3.0.v200806091234 to requiredCapability: osgi.bundle/org.eclipse.xsd.ecore.importer/[2.4.0,3.0.0)."
"Unable to satisfy dependency from org.eclipse.xsd.cheatsheets 2.3.0.v200806091234 to requiredCapability: osgi.bundle/org.eclipse.emf.cheatsheets/[2.4.0,3.0.0)."


More information:
The SDK zip includes EMF cheatsheets 2.4.0 but only XSD cheatsheets 2.3.0. I can't find the cheatsheets in CVS to determine if it's just a problem with that zip or something more global.  Is it just a matter of updating the version number in the XSD cheatsheets?
Comment 1 Ed Merks CLA 2008-07-01 07:53:34 EDT
Nick,

The cheatsheet itself didn't change so it's still 2.3.0.qualifier (which should be fine).  And the dependencies aren't committed in CVS but they should properly be the 2.4.0 version, which should be available in that build.  Do you know that's going wrong?
Comment 2 Ed Merks CLA 2008-07-06 14:40:28 EDT
Dave,

I haven't heard back from Nick yet if this is a problem in the build...
Comment 3 Nick Boldt CLA 2008-07-11 14:50:05 EDT
Cannot reproduce this error. Here's my eclipse startup script:

#!/bin/bash
workspace=/tmp/workspace-clean-34
pushd ~/eclipse/34clean >/dev/null
if [[ $# -eq 0 ]]; then
        rm -fr eclipse $workspace emf-unpacked
        eclipse=eclipse-SDK-3.4-linux-gtk.tar.gz
        echo "Unpack $eclipse...";
        tar xzf $eclipse
        echo "Unpack $emf...";
        emf=emf-sdo-xsd-SDK-2.4.0.zip
        unzip -q $emf -d eclipse/dropins/emf
fi

vm=/opt/sun-java2-5.0/bin/java

echo "Using vm=$vm and workspace=$workspace"; ./eclipse/eclipse -vm $vm \
  -data $workspace -consolelog -clean -debug -console -noexit -vmargs -Xms128M -Xmx256M \
  -XX:PermSize=128M -XX:MaxPermSize=256M
popd >/dev/null

And the console log shows nothing about EMF, just JDT:

!ENTRY org.eclipse.osgi 2 0 2008-07-11 13:18:24.602
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-07-11 13:18:24.602
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.apt.pluggable.core_1.0.100.v20080407-1345.jar [87] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-07-11 13:18:24.602
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-07-11 13:18:24.603
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-07-11 13:18:24.603
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2008-07-11 13:18:24.603
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-07-11 13:18:24.603
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.compiler.apt_1.0.100.v20080513-1235.jar [89] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2008-07-11 13:18:24.603
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2008-07-11 13:18:24.603
!MESSAGE Bundle reference:file:plugins/org.eclipse.jdt.compiler.tool_1.0.100.v_874.jar [90] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.tool 2 0 2008-07-11 13:18:24.604
!MESSAGE Missing Constraint: Bundle-RequiredExecutionEnvironment: JavaSE-1.6
Starting application: 17699
Application Started: 25544

Running though the whole EMF from XSD cheatsheet, I encountered no problems or errors in the console.

Closing as WORKSFORME with needinfo keyword. If you can provide more details about your OS, java version, or whether you started with a clean Eclipse or an already-been-used one, you can reopen this.