Bug 424342 - Cannot link to Xbase because of broken digest
Summary: Cannot link to Xbase because of broken digest
Status: NEW
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.5.0   Edit
Hardware: PC Mac OS X
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-18 10:05 EST by Jan Koehnlein CLA
Modified: 2014-01-09 14:27 EST (History)
0 users

See Also:


Attachments
Stack trace from error log (3.06 KB, text/plain)
2013-12-18 10:06 EST, Jan Koehnlein CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Koehnlein CLA 2013-12-18 10:05:49 EST
I have installed Xtext 2.4.3 with Xbase in my working Eclipse.
I get link errors when I try to refer to EClasses from Xbase/Xtype.
It seems that is due to a broken SHA-1 digest Xtype.ecore cannot be loaded (see stack trace from my error log). As a result, I cannot refer to Xtype and only to the first 6 types from Xbase.ecore as they are not indexed. 

The plug-in is org.eclipse.xtext.xbase_2.4.3.v201309030823.jar

  jarsigner -verify \
    eclipse/plugins/org.eclipse.xtext.xbase_2.4.3.v201309030823.jar 
yields
  jarsigner: java.lang.SecurityException: SHA1 digest error for model/Xbase.ecore
Comment 1 Jan Koehnlein CLA 2013-12-18 10:06:31 EST
Created attachment 238443 [details]
Stack trace from error log
Comment 2 Jan Koehnlein CLA 2013-12-18 10:42:47 EST
I compared this to Sven's installation and his version of the jar: It i perfectlys 20 bytes bigger and the signature validates fine.
Moritz has the same issue as I have, so there seem to be some broken versions around :-(
Comment 3 Jan Koehnlein CLA 2014-01-09 14:26:22 EST
It happened again, this time with 
  org.eclipse.xtext.xbase_2.5.0.v201312110906.jar
downloaded into my target platform.
Comment 4 Jan Koehnlein CLA 2014-01-09 14:27:44 EST
At the same time, my eclipse installation is fine. So it looks like only some mirrors provide broken versions of the plug-ins :-(