Cannot build p2.site containing xtext [message #671260] |
Tue, 17 May 2011 10:07 |
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 10: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 14:34 |
|
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 #671508 is a reply to message #671498] |
Wed, 18 May 2011 07:14 |
|
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 08:04 |
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 08: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 09:46 |
|
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 #671594 is a reply to message #671567] |
Wed, 18 May 2011 12:10 |
|
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 21:22 |
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 #688272 is a reply to message #688149] |
Fri, 24 June 2011 09:54 |
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.
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 7.62100 seconds