Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » Cannot build p2.site containing xtext(Running buckmeister inside eclipse)
Cannot build p2.site containing xtext [message #671260] Tue, 17 May 2011 06:07 Go to next message
js Missing name is currently offline js Missing name
Messages: 73
Registered: July 2009
Member
I am using this guide to build a local p2site:

http://nirmalsasidharan.wordpress.com/2010/10/09/provisionin g-your-target-platform-as-local-p2-site/


This has worked fine before but now I need to add xtext to my p2 site. I have added:

<location includeAllPlatforms="true" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.xtext.sdk.feature.group" version="1.0.2.v201102150722"/>
<repository location="http://download.eclipse.org/releases/helios"/>
</location>

<location includeAllPlatforms="true" includeMode="slicer" type="InstallableUnit">
<unit id="org.eclipse.xtext.examples.feature.group" version="1.0.2.v201102150722"/>
<repository location="http://download.eclipse.org/modeling/tmf/updates/releases/"/>
</location>



to the .target file that I initialize a feature from (this target also contains the delta packet for eclipse 3.6.2). In the feature project I also have a buckmeister.properties file containing:

buckminster.output.root=${user.home}/project/site
buckminster.temp.root=${user.home}/project/tmp
qualifier.replacement.*=generator:lastRevision
target.os=*
target.ws=*
target.arch=* 


Now when I right-click the buckmeister.properties file and select the site.p2 action it starts building the p2 site but around 90% I get the error:

C:\programs\eclipse-modeling-helios-SR2-incubation-win32\eclipse\configuration\org.eclipse.osgi\bundles\486\1\.cp\org\eclipse\buckminster\pde\antscripts\build.xml:217: 

org.eclipse.core.runtime.CoreException: Unable to read C:\Users\mm\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
org.eclipse.core.runtime.CoreException: Unable to read C:\Users\mm\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar



Any ideas on why buckmeister cannot build (read the required bundle) the p2 site even tough the required plugins are available in the target/feature?

I have verified that the file:

C:\Users\mm\project\site\org.eclipse.xtext.xtext.ui.examples _1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1 .0.2.v201102150722.jar


does exist - but for some reason buckmeister cannot read it. The failing antscript line generated by buckmeister is:

		<buckminster.consolidateFeature inputFile="${sp:manifest}" outputFile="${sp:action.output}" generateVersionSuffix="${generateVersionSuffix}" propertiesFile="${sp:properties}">

[Updated on: Tue, 17 May 2011 06:53]

Report message to a moderator

Re: Cannot build p2.site containing xtext [message #671335 is a reply to message #671260] Tue, 17 May 2011 10:34 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3208
Registered: July 2009
Senior Member
Is the .target file usable in the IDE? I.e. does it provide the expected
target platform without problems using the PDE target platform mechanisms?

- thomas

On 2011-05-17 12:07, js wrote:
> I am using this guide to build a local p2site:
>
> http://nirmalsasidharan.wordpress.com/2010/10/09/provisionin g-your-target-platform-as-local-p2-site/
>
>
>
> This has worked fine before but now I need to add xtext to
> my p2 site. I have added:
>
>
> <location includeAllPlatforms="true" includeMode="slicer"
> type="InstallableUnit">
> <unit id="org.eclipse.xtext.sdk.feature.group"
> version="1.0.2.v201102150722"/>
> <repository
> location="http://download.eclipse.org/releases/helios"/>
> </location>
>
> <location includeAllPlatforms="true" includeMode="slicer"
> type="InstallableUnit">
> <unit id="org.eclipse.xtext.examples.feature.group"
> version="1.0.2.v201102150722"/>
> <repository
> location="http://download.eclipse.org/modeling/tmf/updates/releases/"/>
> </location>
>
>
>
> to the .target file that I initialize a feature from (this
> target also contains the delta packet for eclipse 3.6.2).
> In the feature project I also have a buckmeister.properties
> file containing:
>
> buckminster.output.root=${user.home}/project/site
> buckminster.temp.root=${user.home}/project/tmp
> qualifier.replacement.*=generator:lastRevision
> target.os=*
> target.ws=*
> target.arch=*
> Now when I right-click the buckmeister.properties file and
> select the site.p2 action it starts building the p2 site
> but around 90% I get the error:
>
>
> C:\programs\eclipse-modeling-helios-SR2-incubation-win32\ecl ipse\configuration\org.eclipse.osgi\bundles\486\1\.cp\org\ec lipse\buckminster\pde\antscripts\build.xml:217:
>
>
>
> org.eclipse.core.runtime.CoreException: Unable to read
> C:\Users\mm\project\site\org.eclipse.xtext.xtext.ui.examples _1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1 .0.2.v201102150722.jar
>
> org.eclipse.core.runtime.CoreException: Unable to read
> C:\Users\mm\project\site\org.eclipse.xtext.xtext.ui.examples _1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1 .0.2.v201102150722.jar
>
>
>
>
> Any ideas on why buckmeister cannot build (read the required
> bundle) the p2 site even tough the required plugins are
> available in the target/feature?
>
Re: Cannot build p2.site containing xtext [message #671498 is a reply to message #671335] Wed, 18 May 2011 02:46 Go to previous messageGo to next message
js Missing name is currently offline js Missing name
Messages: 73
Registered: July 2009
Member
Yes the .target file works in the workspace and my xtext projects are resolved without errors when I enable the .target definition.
Re: Cannot build p2.site containing xtext [message #671508 is a reply to message #671498] Wed, 18 May 2011 03:14 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3208
Registered: July 2009
Senior Member
Do you get any stack trace in the log? Did you run with loglevel DEBUG?

- thomas

On 2011-05-18 08:46, js wrote:
> Yes the .target file works in the workspace and my xtext
> projects are resolved without errors when I enable the
> target definition.
Re: Cannot build p2.site containing xtext [message #671520 is a reply to message #671508] Wed, 18 May 2011 04:04 Go to previous messageGo to next message
js Missing name is currently offline js Missing name
Messages: 73
Registered: July 2009
Member
Here is the error output when enabling DEBUG in the log:



org.eclipse.core.runtime.CoreException: C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configuration\org.eclipse.osgi\bundles\269\1\.cp\org\eclipse\buckminster\pde\antscripts\build.xml:217: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
org.eclipse.core.runtime.CoreException: C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configuration\org.eclipse.osgi\bundles\269\1\.cp\org\eclipse\buckminster\pde\antscripts\build.xml:217: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
	at org.eclipse.buckminster.ant.AntRunner.handleInvocationTargetException(AntRunner.java:167)
	at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322)
	at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:254)
	at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:186)
	at org.eclipse.buckminster.core.internal.actor.PerformManager$DirectActionInvocation.execute(PerformManager.java:143)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.internalPerform(PerformManager.java:454)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:293)
	at org.eclipse.buckminster.core.internal.actor.PerformManager.perform(PerformManager.java:305)
	at org.eclipse.buckminster.ui.InvokeAction$ActionJob.runInWorkspace(InvokeAction.java:81)
	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configuration\org.eclipse.osgi\bundles\269\1\.cp\org\eclipse\buckminster\pde\antscripts\build.xml:217: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
	at org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.execute(FeatureConsolidatorTask.java:94)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
	at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:357)
	at org.apache.tools.ant.Target.performTasks(Target.java:385)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:662)
	at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:495)
	at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318)
	... 9 more
Caused by: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
	at org.eclipse.buckminster.runtime.BuckminsterException.fromMessage(BuckminsterException.java:57)
	at org.eclipse.buckminster.pde.tasks.GroupConsolidator.getInput(GroupConsolidator.java:148)
	at org.eclipse.buckminster.pde.tasks.GroupConsolidator.<init>(GroupConsolidator.java:205)
	at org.eclipse.buckminster.pde.tasks.FeatureConsolidator.<init>(FeatureConsolidator.java:40)
	at org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.execute(FeatureConsolidatorTask.java:90)
	... 28 more
Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
	at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:221)
	at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)
	at java.util.jar.JarVerifier.update(JarVerifier.java:199)
	at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
	at java.util.jar.JarFile.getInputStream(JarFile.java:388)
	at org.eclipse.buckminster.pde.tasks.GroupConsolidator.getInput(GroupConsolidator.java:135)
	... 31 more
C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configuration\org.eclipse.osgi\bundles\269\1\.cp\org\eclipse\buckminster\pde\antscripts\build.xml:217: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar



This: Invalid signature file digest for Manifest main attributes has been up before:

http://www.eclipse.org/forums/index.php?t=tree&goto=3760 07&

seems related.

[Updated on: Wed, 18 May 2011 04:15]

Report message to a moderator

Re: Cannot build p2.site containing xtext [message #671558 is a reply to message #671520] Wed, 18 May 2011 05:46 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3208
Registered: July 2009
Senior Member
The jar seems to be corrupt. You'll probably get the same error if you run jarsigner -verify on the file.

- thomas

On 2011-05-18 10:04, js wrote:
> Here is the error output when enabling DEBUG in the log:
>
>
>
>
> org.eclipse.core.runtime.CoreException:
> C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configurati on\org.eclipse.osgi\bundles\269\1\.cp\org\eclipse\buckminste r\pde\antscripts\build.xml:217:
>
> org.eclipse.core.runtime.CoreException: Unable to read
> C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.example s_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_ 1.0.2.v201102150722.jar
>
> org.eclipse.core.runtime.CoreException:
> C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configurati on\org.eclipse.osgi\bundles\269\1\.cp\org\eclipse\buckminste r\pde\antscripts\build.xml:217:
>
> org.eclipse.core.runtime.CoreException: Unable to read
> C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.example s_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_ 1.0.2.v201102150722.jar
>
> at
> org.eclipse.buckminster.ant.AntRunner.handleInvocationTarget Exception(AntRunner.java:167)
> at
> org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322 )
> at
> org.eclipse.buckminster.ant.actor.AntActor.internalPerform(A ntActor.java:254)
> at
> org.eclipse.buckminster.core.actor.AbstractActor.perform(Abs tractActor.java:186)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager$D irectActionInvocation.execute(PerformManager.java:143)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.i nternalPerform(PerformManager.java:454)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:293)
> at
> org.eclipse.buckminster.core.internal.actor.PerformManager.p erform(PerformManager.java:305)
> at
> org.eclipse.buckminster.ui.InvokeAction$ActionJob.runInWorks pace(InvokeAction.java:81)
> at
> org.eclipse.core.internal.resources.InternalWorkspaceJob.run (InternalWorkspaceJob.java:38)
> at
> org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by:
> C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configurati on\org.eclipse.osgi\bundles\269\1\.cp\org\eclipse\buckminste r\pde\antscripts\build.xml:217:
>
> org.eclipse.core.runtime.CoreException: Unable to read
> C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.example s_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_ 1.0.2.v201102150722.jar
>
> at
> org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.exec ute(FeatureConsolidatorTask.java:94)
> at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.j ava:288)
> at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(Dispatch Utils.java:106)
> at org.apache.tools.ant.Task.perform(Task.java:348)
> at org.apache.tools.ant.Target.execute(Target.java:357)
> at
> org.apache.tools.ant.Target.performTasks(Target.java:385)
> at
> org.apache.tools.ant.Project.executeSortedTargets(Project.ja va:1337)
> at
> org.apache.tools.ant.Project.executeTarget(Project.java:1306 )
> at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(D efaultExecutor.java:41)
> at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.exe cuteTargets(EclipseDefaultExecutor.java:32)
> at
> org.apache.tools.ant.Project.executeTargets(Project.java:118 9)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:662)
> at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(Inte rnalAntRunner.java:495)
> at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown
> Source)
> at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
> at java.lang.reflect.Method.invoke(Method.java:597)
> at
> org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:318 )
> ... 9 more
> Caused by: org.eclipse.core.runtime.CoreException: Unable to
> read
> C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.example s_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_ 1.0.2.v201102150722.jar
>
> at
> org.eclipse.buckminster.runtime.BuckminsterException.fromMes sage(BuckminsterException.java:57)
> at
> org.eclipse.buckminster.pde.tasks.GroupConsolidator.getInput (GroupConsolidator.java:148)
> at
> org.eclipse.buckminster.pde.tasks.GroupConsolidator.<init>(GroupConsolidator.java:205)
> at
> org.eclipse.buckminster.pde.tasks.FeatureConsolidator.<init >(FeatureConsolidator.java:40)
> at
> org.eclipse.buckminster.pde.ant.FeatureConsolidatorTask.exec ute(FeatureConsolidatorTask.java:90)
> ... 28 more
> Caused by: java.lang.SecurityException: Invalid signature
> file digest for Manifest main attributes
> at
> sun.security.util.SignatureFileVerifier.processImpl(Signatur eFileVerifier.java:221)
> at
> sun.security.util.SignatureFileVerifier.process(SignatureFil eVerifier.java:176)
> at
> java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)
> at java.util.jar.JarVerifier.update(JarVerifier.java:199)
> at
> java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
> at java.util.jar.JarFile.getInputStream(JarFile.java:388)
> at
> org.eclipse.buckminster.pde.tasks.GroupConsolidator.getInput (GroupConsolidator.java:135)
> ... 31 more
> C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configurati on\org.eclipse.osgi\bundles\269\1\.cp\org\eclipse\buckminste r\pde\antscripts\build.xml:217:
>
> org.eclipse.core.runtime.CoreException: Unable to read
> C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.example s_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_ 1.0.2.v201102150722.jar:
>
> org.eclipse.core.runtime.CoreException: Unable to read
> C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.example s_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_ 1.0.2.v201102150722.jar
>
>
>
>
> This: Invalid signature file digest for Manifest main
> attributes has been up before:
>
> http://www.eclipse.org/forums/index.php?t=tree&goto=3760 07&
>
> seems related.
Re: Cannot build p2.site containing xtext [message #671567 is a reply to message #671558] Wed, 18 May 2011 06:53 Go to previous messageGo to next message
js Missing name is currently offline js Missing name
Messages: 73
Registered: July 2009
Member
Your are right. Running jarsigner -verify gives:

jarsigner -verify org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes


The content of the MANIFEST file is:

Manifest-Version: 1.0
Ant-Version: Apache Ant 1.7.1
Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.)
Bundle-ActivationPolicy: lazy
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.xtext.xtext.ui.examples;singleton:=tr
 ue
Require-Bundle: org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.em
 f.common.ui
Bundle-Version: 1.0.2.v201102150722
Bundle-ManifestVersion: 2

Name: contents/org.eclipse.xtext.example.gmf.zip
SHA1-Digest: Z8Cfe3zYHofCNxMZ1aBnxyt7gnY=

Name: contents/org.eclipse.xtext.example.domainmodel.ui.zip
SHA1-Digest: v4MBQdIdssgCromN18VKobaP0Pc=

Name: contents/org.eclipse.xtext.example.gmf.diagram.extensions.zip
SHA1-Digest: 27aRSiAfdE2iJKsMpcI1aom8KuQ=

Name: .settings/org.eclipse.pde.prefs
SHA1-Digest: +G2BTnCZrGaXRMsUlRS/L5YcTkQ=

Name: contents/org.eclipse.xtext.example.gmf.ui.zip
SHA1-Digest: i12KRryyWVblmG9hz3fnBRBM+uQ=

Name: contents/org.eclipse.xtext.example.arithmetics.zip
SHA1-Digest: 5NMQgGcvELA5jw/ks7/9ciJNsRA=

Name: plugin.properties
SHA1-Digest: O4uQ19FBGXOtxLRfzo4BZIedrQ4=

Name: contents/org.eclipse.xtext.example.fowlerdsl.zip
SHA1-Digest: 5XiDjxcvwcUrpSKYVxkITm0AUEY=

Name: .settings/org.eclipse.jdt.ui.prefs
SHA1-Digest: rNp42Wgcb35vqjoArDezzQkRuY8=

Name: plugin.xml
SHA1-Digest: YHIVuWAAV+t0qoU2ZMiScyynOS4=

Name: contents/org.eclipse.xtext.example.gmf.models.zip
SHA1-Digest: C+CPGA1oAQgY2YLLiB9pNZgzOXQ=

Name: contents/org.eclipse.xtext.example.arithmetics.ui.zip
SHA1-Digest: lyZg2WOX3LpbANrtovC/4kunQbk=

Name: META-INF/eclipse.inf
SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M=

Name: .settings/org.eclipse.jdt.core.prefs
SHA1-Digest: ARg9paDe0/+dH9Pgl+4ej6lLsCs=

Name: contents/org.eclipse.xtext.gmf.glue.zip
SHA1-Digest: 5507sm3Hj7U7SRE+ADareUuB/VE=

Name: contents/org.eclipse.xtext.example.domainmodel.zip
SHA1-Digest: ax5ecTe706iYHvvYvszeM0kXNs8=

Name: contents/org.eclipse.xtext.example.gmf.diagram.zip
SHA1-Digest: t4aqd22iyVNlYHAnUEMjdhcUJrY=

Name: .settings/org.eclipse.core.resources.prefs
SHA1-Digest: 2E2qRjtvZFlS88Cgae3gSezY7xE=

Name: contents/org.eclipse.xtext.example.ecoredsl.ui.zip
SHA1-Digest: oa9F+WB+nEuRH4m+S58bp5p95O0=

Name: .project
SHA1-Digest: yQwxx7TLL18E66ZRbVaVvAytlrs=

Name: about.html
SHA1-Digest: m//+sZd+LYcO5OY/bjEiZVm0dk0=

Name: .settings/org.eclipse.jdt.launching.prefs
SHA1-Digest: GqX86Abt8WJev48/i1uxlc010Cg=

Name: .classpath
SHA1-Digest: O0S7TJCdMK4HNf3SmoL02YbLUdU=

Name: build.properties
SHA1-Digest: WMWUNZUb0BgI2ip/WX2XL/HqgoQ=

Name: icons/genproject.gif
SHA1-Digest: SdcrJwsBbMUpP0oskAnvWoGYY64=

Name: contents/org.eclipse.xtext.example.domainmodel.ui.tests.zip
SHA1-Digest: AzjENRTcPCsL6aoP83ksBh2n1Dw=

Name: contents/org.eclipse.xtext.example.fowlerdsl.ui.zip
SHA1-Digest: DoyxA8vrm2siHwH14gfa59JWRrw=

Name: contents/org.eclipse.xtext.example.arithmetics.tests.zip
SHA1-Digest: QT2KWkHDzGkxVhleIXNHXTXwB2E=

Name: contents/org.eclipse.xtext.example.gmf.edit.zip
SHA1-Digest: 2uiizw9iP9+/VaD/yHR8qlaUwsI=

Name: contents/org.eclipse.xtext.example.ecoredsl.zip
SHA1-Digest: AqJky2lntpdHV4RS0XoBvj8vdhw=


So a solution would be to keep the xtext repo as remote repo - unless its possible to pass a parameter to buckmeister to ignore invalid signatures?
Re: Cannot build p2.site containing xtext [message #671594 is a reply to message #671567] Wed, 18 May 2011 08:10 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas Hallgren
Messages: 3208
Registered: July 2009
Senior Member
I think you should report the bad jar in a bugzilla to the xtext modeling project. Perhaps you could try using another
repository as input? The Helios or Indigo repositories are both unlikely to contain bad jars since they are checked and
verified.

Buckminster has no flag to avoid jar verification.

- thomas


On 2011-05-18 12:53, js wrote:
> Your are right. Running jarsigner -verify gives:
>
>
> jarsigner -verify
> org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
> jarsigner: java.lang.SecurityException: Invalid signature
> file digest for Manifest main attributes
>
>
> The content of the MANIFEST file is:
>
>
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.7.1
> Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.)
> Bundle-ActivationPolicy: lazy
> Bundle-Vendor: %providerName
> Bundle-Localization: plugin
> Bundle-RequiredExecutionEnvironment: J2SE-1.5
> Bundle-Name: %pluginName
> Bundle-SymbolicName:
> org.eclipse.xtext.xtext.ui.examples;singleton:=tr
> ue
> Require-Bundle:
> org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.em
> f.common.ui
> Bundle-Version: 1.0.2.v201102150722
> Bundle-ManifestVersion: 2
>
> Name: contents/org.eclipse.xtext.example.gmf.zip
> SHA1-Digest: Z8Cfe3zYHofCNxMZ1aBnxyt7gnY=
>
> Name: contents/org.eclipse.xtext.example.domainmodel.ui.zip
> SHA1-Digest: v4MBQdIdssgCromN18VKobaP0Pc=
>
> Name:
> contents/org.eclipse.xtext.example.gmf.diagram.extensions.zi p
> SHA1-Digest: 27aRSiAfdE2iJKsMpcI1aom8KuQ=
>
> Name: .settings/org.eclipse.pde.prefs
> SHA1-Digest: +G2BTnCZrGaXRMsUlRS/L5YcTkQ=
>
> Name: contents/org.eclipse.xtext.example.gmf.ui.zip
> SHA1-Digest: i12KRryyWVblmG9hz3fnBRBM+uQ=
>
> Name: contents/org.eclipse.xtext.example.arithmetics.zip
> SHA1-Digest: 5NMQgGcvELA5jw/ks7/9ciJNsRA=
>
> Name: plugin.properties
> SHA1-Digest: O4uQ19FBGXOtxLRfzo4BZIedrQ4=
>
> Name: contents/org.eclipse.xtext.example.fowlerdsl.zip
> SHA1-Digest: 5XiDjxcvwcUrpSKYVxkITm0AUEY=
>
> Name: .settings/org.eclipse.jdt.ui.prefs
> SHA1-Digest: rNp42Wgcb35vqjoArDezzQkRuY8=
>
> Name: plugin.xml
> SHA1-Digest: YHIVuWAAV+t0qoU2ZMiScyynOS4=
>
> Name: contents/org.eclipse.xtext.example.gmf.models.zip
> SHA1-Digest: C+CPGA1oAQgY2YLLiB9pNZgzOXQ=
>
> Name: contents/org.eclipse.xtext.example.arithmetics.ui.zip
> SHA1-Digest: lyZg2WOX3LpbANrtovC/4kunQbk=
>
> Name: META-INF/eclipse.inf
> SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M=
>
> Name: .settings/org.eclipse.jdt.core.prefs
> SHA1-Digest: ARg9paDe0/+dH9Pgl+4ej6lLsCs=
>
> Name: contents/org.eclipse.xtext.gmf.glue.zip
> SHA1-Digest: 5507sm3Hj7U7SRE+ADareUuB/VE=
>
> Name: contents/org.eclipse.xtext.example.domainmodel.zip
> SHA1-Digest: ax5ecTe706iYHvvYvszeM0kXNs8=
>
> Name: contents/org.eclipse.xtext.example.gmf.diagram.zip
> SHA1-Digest: t4aqd22iyVNlYHAnUEMjdhcUJrY=
>
> Name: .settings/org.eclipse.core.resources.prefs
> SHA1-Digest: 2E2qRjtvZFlS88Cgae3gSezY7xE=
>
> Name: contents/org.eclipse.xtext.example.ecoredsl.ui.zip
> SHA1-Digest: oa9F+WB+nEuRH4m+S58bp5p95O0=
>
> Name: .project
> SHA1-Digest: yQwxx7TLL18E66ZRbVaVvAytlrs=
>
> Name: about.html
> SHA1-Digest: m//+sZd+LYcO5OY/bjEiZVm0dk0=
>
> Name: .settings/org.eclipse.jdt.launching.prefs
> SHA1-Digest: GqX86Abt8WJev48/i1uxlc010Cg=
>
> Name: .classpath
> SHA1-Digest: O0S7TJCdMK4HNf3SmoL02YbLUdU=
>
> Name: build.properties
> SHA1-Digest: WMWUNZUb0BgI2ip/WX2XL/HqgoQ=
>
> Name: icons/genproject.gif
> SHA1-Digest: SdcrJwsBbMUpP0oskAnvWoGYY64=
>
> Name:
> contents/org.eclipse.xtext.example.domainmodel.ui.tests.zip
> SHA1-Digest: AzjENRTcPCsL6aoP83ksBh2n1Dw=
>
> Name: contents/org.eclipse.xtext.example.fowlerdsl.ui.zip
> SHA1-Digest: DoyxA8vrm2siHwH14gfa59JWRrw=
>
> Name:
> contents/org.eclipse.xtext.example.arithmetics.tests.zip
> SHA1-Digest: QT2KWkHDzGkxVhleIXNHXTXwB2E=
>
> Name: contents/org.eclipse.xtext.example.gmf.edit.zip
> SHA1-Digest: 2uiizw9iP9+/VaD/yHR8qlaUwsI=
>
> Name: contents/org.eclipse.xtext.example.ecoredsl.zip
> SHA1-Digest: AqJky2lntpdHV4RS0XoBvj8vdhw=
>
>
> So a solution would be to keep the xtext repo as remote repo
> - unless its possible to pass a parameter to buckmeister to
> ignore invalid signatures?
Re: Cannot build p2.site containing xtext [message #671757 is a reply to message #671594] Wed, 18 May 2011 17:22 Go to previous messageGo to next message
Eclipse User
Originally posted by:

Js,
both zipped [1] and promoted [2] xtext jars are valid.
Maybe you've just grabbed one from a corrupt mirror?

Regards,
Dennis.

[1]
http://www.eclipse.org/modeling/download.php?file=/modeling/tmf/xtext/downloads/drops/1.0.2/R201102150722/tmf-xtext-Update-1.0.2.zip
[2] http://download.eclipse.org/modeling/tmf/updates/

Am 18.05.11 14:10, schrieb Thomas Hallgren:
> I think you should report the bad jar in a bugzilla to the xtext
> modeling project. Perhaps you could try using another repository as
> input? The Helios or Indigo repositories are both unlikely to contain
> bad jars since they are checked and verified.
>
> Buckminster has no flag to avoid jar verification.
>
> - thomas
>
>
> On 2011-05-18 12:53, js wrote:
>> Your are right. Running jarsigner -verify gives:
>>
>>
>> jarsigner -verify
>> org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
>> jarsigner: java.lang.SecurityException: Invalid signature
>> file digest for Manifest main attributes
>>
>>
>> The content of the MANIFEST file is:
>>
>>
>> Manifest-Version: 1.0
>> Ant-Version: Apache Ant 1.7.1
>> Created-By: 1.5.0_22-b03 (Sun Microsystems Inc.)
>> Bundle-ActivationPolicy: lazy
>> Bundle-Vendor: %providerName
>> Bundle-Localization: plugin
>> Bundle-RequiredExecutionEnvironment: J2SE-1.5
>> Bundle-Name: %pluginName
>> Bundle-SymbolicName:
>> org.eclipse.xtext.xtext.ui.examples;singleton:=tr
>> ue
>> Require-Bundle:
>> org.eclipse.ui,org.eclipse.core.runtime,org.eclipse.em
>> f.common.ui
>> Bundle-Version: 1.0.2.v201102150722
>> Bundle-ManifestVersion: 2
>>
>> Name: contents/org.eclipse.xtext.example.gmf.zip
>> SHA1-Digest: Z8Cfe3zYHofCNxMZ1aBnxyt7gnY=
>>
>> Name: contents/org.eclipse.xtext.example.domainmodel.ui.zip
>> SHA1-Digest: v4MBQdIdssgCromN18VKobaP0Pc=
>>
>> Name:
>> contents/org.eclipse.xtext.example.gmf.diagram.extensions.zip
>> SHA1-Digest: 27aRSiAfdE2iJKsMpcI1aom8KuQ=
>>
>> Name: .settings/org.eclipse.pde.prefs
>> SHA1-Digest: +G2BTnCZrGaXRMsUlRS/L5YcTkQ=
>>
>> Name: contents/org.eclipse.xtext.example.gmf.ui.zip
>> SHA1-Digest: i12KRryyWVblmG9hz3fnBRBM+uQ=
>>
>> Name: contents/org.eclipse.xtext.example.arithmetics.zip
>> SHA1-Digest: 5NMQgGcvELA5jw/ks7/9ciJNsRA=
>>
>> Name: plugin.properties
>> SHA1-Digest: O4uQ19FBGXOtxLRfzo4BZIedrQ4=
>>
>> Name: contents/org.eclipse.xtext.example.fowlerdsl.zip
>> SHA1-Digest: 5XiDjxcvwcUrpSKYVxkITm0AUEY=
>>
>> Name: .settings/org.eclipse.jdt.ui.prefs
>> SHA1-Digest: rNp42Wgcb35vqjoArDezzQkRuY8=
>>
>> Name: plugin.xml
>> SHA1-Digest: YHIVuWAAV+t0qoU2ZMiScyynOS4=
>>
>> Name: contents/org.eclipse.xtext.example.gmf.models.zip
>> SHA1-Digest: C+CPGA1oAQgY2YLLiB9pNZgzOXQ=
>>
>> Name: contents/org.eclipse.xtext.example.arithmetics.ui.zip
>> SHA1-Digest: lyZg2WOX3LpbANrtovC/4kunQbk=
>>
>> Name: META-INF/eclipse.inf
>> SHA1-Digest: 09gN05tobgS/MdtqyTNQhOhB73M=
>>
>> Name: .settings/org.eclipse.jdt.core.prefs
>> SHA1-Digest: ARg9paDe0/+dH9Pgl+4ej6lLsCs=
>>
>> Name: contents/org.eclipse.xtext.gmf.glue.zip
>> SHA1-Digest: 5507sm3Hj7U7SRE+ADareUuB/VE=
>>
>> Name: contents/org.eclipse.xtext.example.domainmodel.zip
>> SHA1-Digest: ax5ecTe706iYHvvYvszeM0kXNs8=
>>
>> Name: contents/org.eclipse.xtext.example.gmf.diagram.zip
>> SHA1-Digest: t4aqd22iyVNlYHAnUEMjdhcUJrY=
>>
>> Name: .settings/org.eclipse.core.resources.prefs
>> SHA1-Digest: 2E2qRjtvZFlS88Cgae3gSezY7xE=
>>
>> Name: contents/org.eclipse.xtext.example.ecoredsl.ui.zip
>> SHA1-Digest: oa9F+WB+nEuRH4m+S58bp5p95O0=
>>
>> Name: .project
>> SHA1-Digest: yQwxx7TLL18E66ZRbVaVvAytlrs=
>>
>> Name: about.html
>> SHA1-Digest: m//+sZd+LYcO5OY/bjEiZVm0dk0=
>>
>> Name: .settings/org.eclipse.jdt.launching.prefs
>> SHA1-Digest: GqX86Abt8WJev48/i1uxlc010Cg=
>>
>> Name: .classpath
>> SHA1-Digest: O0S7TJCdMK4HNf3SmoL02YbLUdU=
>>
>> Name: build.properties
>> SHA1-Digest: WMWUNZUb0BgI2ip/WX2XL/HqgoQ=
>>
>> Name: icons/genproject.gif
>> SHA1-Digest: SdcrJwsBbMUpP0oskAnvWoGYY64=
>>
>> Name:
>> contents/org.eclipse.xtext.example.domainmodel.ui.tests.zip
>> SHA1-Digest: AzjENRTcPCsL6aoP83ksBh2n1Dw=
>>
>> Name: contents/org.eclipse.xtext.example.fowlerdsl.ui.zip
>> SHA1-Digest: DoyxA8vrm2siHwH14gfa59JWRrw=
>>
>> Name:
>> contents/org.eclipse.xtext.example.arithmetics.tests.zip
>> SHA1-Digest: QT2KWkHDzGkxVhleIXNHXTXwB2E=
>>
>> Name: contents/org.eclipse.xtext.example.gmf.edit.zip
>> SHA1-Digest: 2uiizw9iP9+/VaD/yHR8qlaUwsI=
>>
>> Name: contents/org.eclipse.xtext.example.ecoredsl.zip
>> SHA1-Digest: AqJky2lntpdHV4RS0XoBvj8vdhw=
>>
>>
>> So a solution would be to keep the xtext repo as remote repo
>> - unless its possible to pass a parameter to buckmeister to
>> ignore invalid signatures?
>
Re: Cannot build p2.site containing xtext [message #674082 is a reply to message #671757] Wed, 25 May 2011 14:48 Go to previous messageGo to next message
js Missing name is currently offline js Missing name
Messages: 73
Registered: July 2009
Member
The problem persist. I have verified that the:

org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar

from [1] pass the jarsigner -verify test.

So the problem must be related to how bucky process the bundles during some copy phase.

I have tried to put [1] on the defining target instead of the remote site. But when I build the p2.site with bucky I get the same error:


Base: C:\buck_test\project\site\org.eclipse.platform.doc.user_3.6.2-osgi.bundle\fragments: No such file or directory
Base: C:\buck_test\project\site\org.eclipse.equinox.p2.updatesite_1.0.201-osgi.bundle\fragments: No such file or directory
org.eclipse.core.runtime.CoreException: C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configuration\org.eclipse.osgi\bundles\270\1\.cp\org\eclipse\buckminster\pde\antscripts\build.xml:217: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
org.eclipse.core.runtime.CoreException: C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configuration\org.eclipse.osgi\bundles\270\1\.cp\org\eclipse\buckminster\pde\antscripts\build.xml:217: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar
	at org.eclipse.buckminster.ant.AntRunner.handleInvocationTargetException(AntRunner.java:167)
	at org.eclipse.buckminster.ant.AntRunner.run(AntRunner.java:322)
	at org.eclipse.buckminster.ant.actor.AntActor.internalPerform(AntActor.java:254)
	at org.eclipse.buckminster.core.actor.AbstractActor.perform(AbstractActor.java:186)
...
...
Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
	at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:221)
	at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:176)
	at java.util.jar.JarVerifier.processEntry(JarVerifier.java:245)
	at java.util.jar.JarVerifier.update(JarVerifier.java:199)
	at java.util.jar.JarFile.initializeVerifier(JarFile.java:323)
	at java.util.jar.JarFile.getInputStream(JarFile.java:388)
	at org.eclipse.buckminster.pde.tasks.GroupConsolidator.getInput(GroupConsolidator.java:135)
	... 31 more
C:\programs\eclipse-rcp-helios-SR1-win32\eclipse\configuration\org.eclipse.osgi\bundles\270\1\.cp\org\eclipse\buckminster\pde\antscripts\build.xml:217: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar: org.eclipse.core.runtime.CoreException: Unable to read C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar




From the above error messages it can be seen that its the copied version of:

org.eclipse.xtext.xtext.ui.examples_1.0.2.v201102150722.jar

located in:

C:\buck_test\project\site\org.eclipse.xtext.xtext.ui.examples_1.0.2-osgi.bundle\jar

that fails the jarsigner test and NOT the version from the local repo from [1].

So what happens when bucky copy bundles from the target definition to the 'buckminster.output.root' path specified in the buckmeister.properties file (in this case: C:/buck_test/project/site/.... )?


[1]
http://www.eclipse.org/modeling/download.php?file=/modeling/tmf/xtext/downloads/drops/1.0.2/R201102150722/tmf-xtext-Update-1.0.2.zip
Re: Cannot build p2.site containing xtext [message #674139 is a reply to message #674082] Wed, 25 May 2011 18:52 Go to previous messageGo to next message
Miles Parker is currently offline Miles Parker
Messages: 1338
Registered: July 2009
Senior Member
It really looks to me like there is an issue with the jar itself. Have you tried a different xtext build such as the latest RC1 build or the one on Itemis site? If you don't mind me asking, why are you using Heliios SR1? I know that Xtext has seen a lot of dependency changes so that's why I mention it. Finally a long shot but there have been some issues with com.google orbit package so you might be hitting that.
Re: Cannot build p2.site containing xtext [message #688075 is a reply to message #674139] Thu, 23 June 2011 17:11 Go to previous messageGo to next message
Miles Parker is currently offline Miles Parker
Messages: 1338
Registered: July 2009
Senior Member
OK, I'm having exactly this same error as well. Arghh.. I thought it might be a memory issue, but that doesn't seem to be the case. I'm building from Indigo now and it doesn't seem to make any difference.
Re: Cannot build p2.site containing xtext [message #688149 is a reply to message #688075] Thu, 23 June 2011 23:12 Go to previous messageGo to next message
Miles Parker is currently offline Miles Parker
Messages: 1338
Registered: July 2009
Senior Member
Fixed this one by removing org.eclipse.xtext.xtend2.sdk and org.eclipse.xtext.sdk and replacing them with other features. I'm sure that there are bits missing in there that I'll have to track down. Sigh.
Re: Cannot build p2.site containing xtext [message #688272 is a reply to message #688149] Fri, 24 June 2011 05:54 Go to previous messageGo to next message
Eclipse User
Originally posted by:

Hi Miles,
are you working with Windows FS?
The reason why I ask is that examples contains zipped projects. So maybe
buckminster tries to temporally unzip all the content somewhere and so
the whole path becomes to long for windows and the IO Exception will
interpreted as a SecurityException.
Just a thought...

Regards,
Dennis.

Am 24.06.11 05:12, schrieb Miles Parker:
> Fixed this one by removing org.eclipse.xtext.xtend2.sdk and
> org.eclipse.xtext.sdk and replacing them with other features. I'm sure
> that there are bits missing in there that I'll have to track down. Sigh.
Re: Cannot build p2.site containing xtext [message #688476 is a reply to message #688272] Fri, 24 June 2011 15:05 Go to previous messageGo to next message
Miles Parker is currently offline Miles Parker
Messages: 1338
Registered: July 2009
Senior Member
Interesting idea, but not this was on mac. But the unzip angle is an interesting one and those directories are deep. I wonder if I could get away with creating an advisory node to ignore just these...
Re: Cannot build p2.site containing xtext [message #725288 is a reply to message #688476] Wed, 14 September 2011 08:49 Go to previous messageGo to next message
js Missing name is currently offline js Missing name
Messages: 73
Registered: July 2009
Member
I have the same problem with indigo:

... Unable to read C:\Users\mm\project\site\org.eclipse.xtext.xtext.ui.examples_2.0.0-osgi.bundle\jar\org.eclipse.xtext.xtext.ui.examples_2.0.0.v201106070531.jar


and with jarsigner:

C:\Users\mm\project\site\org.eclipse.xtext.xtext.ui.examples_2.0.0-osgi.bundle\jar>jarsigner -verify org.eclipse.xtext.xtext.ui.examples_2.0.0.v201106070531.jar
jarsigner: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes



so still no p2 site with xtext (+ any features depending on xtext, eg. mwe2 ) Sad


EDIT: And I have tried to set:

buckminster.output.root=C:/bucky/site
buckminster.temp.root=C:/bucky/tmp


to reduce the dir depth but get the same error/corrupted jar. Notice that before running bucky the : org.eclipse.xtext.xtext.ui.examples_2.0.0.v201106070531 bundle is actually a folder and not a jar located in:

\.metadata\.plugins\org.eclipse.pde.core\.bundle_pool\plugins\org.eclipse.xtext.xtext.ui.examples_2.0.0.v201106070531

not sure but maybe buck does not like bundles extracted into folders.

[Updated on: Wed, 14 September 2011 09:59]

Report message to a moderator

Re: Cannot build p2.site containing xtext [message #1165815 is a reply to message #725288] Fri, 01 November 2013 11:08 Go to previous message
Jens Mising name is currently offline Jens Mising name
Messages: 12
Registered: March 2010
Location: Berlin
Junior Member
I came across this post looking for a solution to the same error message.

As there was no "solution" to the problem I though I might post my personal solution (just for reference if somebody else might stumble upon this in the future):

In my case a self-created plugin (using the eclipse wizard "New plugin from existing jar") led to the error message:

Caused by: java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
	at sun.security.util.SignatureFileVerifier.processImpl(SignatureFileVerifier.java:221)


I then found an answer on stackoverflow: http://stackoverflow.com/a/6743609/332248

which gave the idea to remove the
*.SF
and
*.RSA
files.
That helped.

Previous Topic:Does buckminster support jgit based Version Qualifiers?
Next Topic:p2.arch=* becomes resolved to file list
Goto Forum:
  


Current Time: Wed Apr 23 20:41:34 EDT 2014

Powered by FUDForum. Page generated in 0.02155 seconds