Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » Actions from PDE plugin not used?
Actions from PDE plugin not used? [message #549894] Wed, 28 July 2010 11:34 Go to next message
Thorsten Meinl is currently offline Thorsten MeinlFriend
Messages: 85
Registered: July 2009
Member
Hi all,

I stumbled upon several bugs in PDE/p2 (such as #280721 and #27883) for
which Thomas has written workarounds (EquinoxExecutableAction, ...).
However, I'm still seeing some of the problems, e.g. when adding a Mac-
product to an Update Site (see stacktrace below).
What I'm wondering, why are the original p2 classes used and not the ones
from Buckminster's PDE plugin that should contain fixes for the problems?
I'm using PDE support 1.2.1.r11512 and Core 1.3.1.r11517 for Helios.

Cheers,

Thorsten

--------------------

java.io.FileNotFoundException:
/tmp/p2.brandingIron3419713815157511588/knime.app/Contents/M acOS/knime.ini
(Datei oder Verzeichnis nicht gefunden)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at
org.eclipse.equinox.internal.p2.core.helpers.FileUtils.zipFi le(FileUtils.java:357)
at
org.eclipse.equinox.internal.p2.core.helpers.FileUtils.zip(F ileUtils.java:286)
at
org.eclipse.equinox.internal.p2.core.helpers.FileUtils.zip(F ileUtils.java:251)
at
org.eclipse.equinox.p2.publisher.AbstractPublisherAction.pub lishArtifact(AbstractPublisherAction.java:469)
at
org.eclipse.equinox.p2.publisher.eclipse.EquinoxExecutableAc tion.publishExecutableIU(EquinoxExecutableAction.java:129)
at
org.eclipse.equinox.p2.publisher.eclipse.EquinoxExecutableAc tion.perform(EquinoxExecutableAction.java:66)
at
org.eclipse.equinox.p2.publisher.eclipse.ApplicationLauncher Action.perform(ApplicationLauncherAction.java:68)
at
org.eclipse.equinox.p2.publisher.eclipse.ProductAction.perfo rm(ProductAction.java:91)
at
org.eclipse.buckminster.pde.tasks.ProductAction.perform(Prod uctAction.java:137)
at
org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.r un(Publisher.java:207)
at
org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.executeBatch(SimpleArtifactRepositor y.java:1034)
at
org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher .java:231)
at
org.eclipse.buckminster.pde.internal.actor.P2SiteGenerator.r un(P2SiteGenerator.java:333)
at
org.eclipse.buckminster.pde.internal.actor.P2SiteGenerator.i nternalPerform(P2SiteGenerator.java:430)
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)
Re: Actions from PDE plugin not used? [message #550099 is a reply to message #549894] Thu, 29 July 2010 06:57 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Thorsten,

On 07/28/2010 01:34 PM, Thorsten Meinl wrote:
> Hi all,
>
> I stumbled upon several bugs in PDE/p2 (such as #280721 and #27883) for
> which Thomas has written workarounds (EquinoxExecutableAction, ...).
> However, I'm still seeing some of the problems, e.g. when adding a Mac-
> product to an Update Site (see stacktrace below).
> What I'm wondering, why are the original p2 classes used and not the ones
> from Buckminster's PDE plugin that should contain fixes for the problems?
> I'm using PDE support 1.2.1.r11512 and Core 1.3.1.r11517 for Helios.
>
I distinctly see:

org.eclipse.buckminster.pde.tasks.ProductAction.perform(Prod uctAction.java:137)

in the stacktrace so the Buckminster workaround is in place. The workaround is in
EquinoxExecutableAction.fullBrandExecutables() and that method is called earlier in the process so this must be another
problem. A bugzilla with a sample that reproduces it is always helpful.

Regards,
Thomas Hallgren


> Cheers,
>
> Thorsten
>
> --------------------
>
> java.io.FileNotFoundException:
> /tmp/p2.brandingIron3419713815157511588/knime.app/Contents/M acOS/knime.ini
> (Datei oder Verzeichnis nicht gefunden)
> at java.io.FileInputStream.open(Native Method)
> at java.io.FileInputStream.<init>(FileInputStream.java:106)
> at
> org.eclipse.equinox.internal.p2.core.helpers.FileUtils.zipFi le(FileUtils.java:357)
> at
> org.eclipse.equinox.internal.p2.core.helpers.FileUtils.zip(F ileUtils.java:286)
> at
> org.eclipse.equinox.internal.p2.core.helpers.FileUtils.zip(F ileUtils.java:251)
> at
> org.eclipse.equinox.p2.publisher.AbstractPublisherAction.pub lishArtifact(AbstractPublisherAction.java:469)
> at
> org.eclipse.equinox.p2.publisher.eclipse.EquinoxExecutableAc tion.publishExecutableIU(EquinoxExecutableAction.java:129)
> at
> org.eclipse.equinox.p2.publisher.eclipse.EquinoxExecutableAc tion.perform(EquinoxExecutableAction.java:66)
> at
> org.eclipse.equinox.p2.publisher.eclipse.ApplicationLauncher Action.perform(ApplicationLauncherAction.java:68)
> at
> org.eclipse.equinox.p2.publisher.eclipse.ProductAction.perfo rm(ProductAction.java:91)
> at
> org.eclipse.buckminster.pde.tasks.ProductAction.perform(Prod uctAction.java:137)
> at
> org.eclipse.equinox.p2.publisher.Publisher$ArtifactProcess.r un(Publisher.java:207)
> at
> org.eclipse.equinox.internal.p2.artifact.repository.simple.S impleArtifactRepository.executeBatch(SimpleArtifactRepositor y.java:1034)
> at
> org.eclipse.equinox.p2.publisher.Publisher.publish(Publisher .java:231)
> at
> org.eclipse.buckminster.pde.internal.actor.P2SiteGenerator.r un(P2SiteGenerator.java:333)
> at
> org.eclipse.buckminster.pde.internal.actor.P2SiteGenerator.i nternalPerform(P2SiteGenerator.java:430)
> 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)
>
Previous Topic:Product builds in IDE, fails in Hudson
Next Topic:java.io.FileNotFoundException: /tmp/p2.brandingIron
Goto Forum:
  


Current Time: Sat Mar 30 07:21:53 GMT 2024

Powered by FUDForum. Page generated in 0.03320 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top