Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pde-dev] problem with p2.gathering

While completing the build setup I got a few more questions:

1. Do I have to concern about the following echos:

    [java] mirrorArchive:
    [java] [p2.mirror] Problems resolving provisioning plan.
[java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.gtk.solaris.x86 [1.0.200.v20090519]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.motif.solaris.sparc [1.0.200.HEAD]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.carbon.macosx [1.0.200.v20090520-1835]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.gtk.linux.ppc [1.0.200.v20090519]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.motif.aix.ppc [1.0.200.v20090519]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.motif.hpux.PA_RISC [1.0.100.v20090306-1900]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.motif.hpux.ia64_32 [1.0.100.v20090519]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.motif.linux.x86 [1.0.200.v20090520]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.win32.win32.ia64 0.0.0. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.wpf.win32.x86 [1.0.200.v20090519]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.gtk.linux.s390 [1.0.100.v20090426-1530]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.equinox.executable.feature.group 3.3.200.v20090521-1800-7M-Fm-FI3UouOe61h3BYGC to org.eclipse.equinox.launcher.gtk.linux.s390x [1.0.100.v20090426-1530]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.platform.feature.group 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ to org.eclipse.core.filesystem.hpux.ia64_32 [1.0.0.v20080604-1400]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.platform.feature.group 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ to org.eclipse.core.filesystem.hpux.PA_RISC [1.0.0.v20080604-1400]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.platform.feature.group 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ to org.eclipse.core.filesystem.linux.ppc [1.0.100.v20080604-1400]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.platform.feature.group 3.5.0.v20090611a-9gEeG1HFtQcmRThO4O3aR_fqSMvJR2sJ to org.eclipse.core.filesystem.qnx.x86 [1.0.0.v20080604-1400]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11 to org.eclipse.ui.carbon [4.0.0.I20090525-2000]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11 to org.eclipse.swt.wpf.win32.x86 [3.5.0.v3550b]. [java] [p2.mirror] Unable to satisfy dependency from org.eclipse.rcp.feature.group 3.5.0.v20090519-9SA0FwxFv6x089WEf-TWh11 to org.eclipse.swt.gtk.linux.


The build results are working, anyway.


2. Due to our nightly build (on demand, i.e. on change) some features of our updatesite will be build more frequently. However, I just want to have the latest build to be available at the updatesite.

Is there a way to remove older builds from the metadata repository or should I better rebuild the repository after all potential builds are done?

Best,
Christian


Andrew Niefer wrote:

Currently there is no real different between the two files as far as category generation is concerned. The both end up going through the same parser and we get the same information out of them.

Category.xml is really just a subset of the site.xml that we care about for categories. Though this could conceivably change in the future.

-Andrew


From: 	Christian Schneider <chsch@xxxxxxxxxxxxxxxxxxxxxx>
To: 	"Eclipse PDE general developers list." <pde-dev@xxxxxxxxxxx>
Date: 	08/17/2009 01:36 PM
Subject: 	Re: [pde-dev] problem with p2.gathering
Sent by: 	pde-dev-bounces@xxxxxxxxxxx


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



Hi Andrew,

thanks for your answer!
Luckily I got it on my own and publishing features works fine so far.

Btw.:
Is there a significant difference in introducing categories by means of
a tranditional update site (site.xml)
or by means of a category definition file (category.xml)?

Thanks a lot!
Christian

Andrew Niefer wrote:
>
> p2.build.repo should be a url:
>  p2.build.repo=file:${buildDirectory}/buildRepo.
>
> You don't even have to define it yourself, since that is the default
> value.
>
> -Andrew
>
>
> From: Christian Schneider <chsch@xxxxxxxxxxxxxxxxxxxxxx>
> To:                  pde-dev@xxxxxxxxxxx
> Date:                  08/15/2009 06:45 PM
> Subject:                  [pde-dev] problem with p2.gathering
> Sent by:                  pde-dev-bounces@xxxxxxxxxxx
>
>
> ------------------------------------------------------------------------
>
>
>
> Hi all,
>
> I've a tricky problem while trying to set up a feature build publishing
> p2 metadata.
>
> The necessary properties are defined as follows:
>
> p2.build.repo=${buildDirectory}buildRepo
> p2.metadata.repo=file:${updatesite.autobuild}
> p2.artifact.repo=file:${updatesite.autobuild}
> p2.metadata.repo.name=KIELER Meta Data Repo
> p2.artifact.repo.name=KIELER Artifact Data Repo
> p2.compress="false"
> p2.flavor=tooling
>
> (updatesite.autobuild is defined properly!)
>
> Due to my previous setup I generate the build scripts by means of
>
> <ant antfile="${eclipse.pdebuild.scripts}/build.xml" target="generate"/>
>
> To publish the artifacts I call:
>
> <ant antfile="${buildDirectory}/assemble.de.cau.cs.kieler.core.p2.xml"/>
>
> However the resulting output is:
>
>     [java] main:
>     [java]
>     [java] gather.bin.parts:
>     [java]
>     [java] properties:
>     [java]
>     [java] init:
>     [java]
>     [java] publish.bin.parts:
>     [java]      [copy] Copying 1 file to
> /var/lib/tomcat5.5/webapps/hudson/jobs/KIELER_core/workspace/plugins/de.cau.cs.kieler.core
>     [java]
>     [java] apitools.generation:
>     [java] [eclipse.gatherBundle] java.lang.IllegalArgumentException:
> Location must be absolute:
> /var/lib/tomcat5.5/webapps/hudson/jobs/KIELER_core/workspace/buildRepo
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.checkValidLocation(AbstractRepositoryManager.java:659)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.contains(AbstractRepositoryManager.java:237)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.p2.publisher.Publisher.loadArtifactRepository(Publisher.java:142)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.p2.publisher.Publisher.createArtifactRepository(Publisher.java:104)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.initializeRepositories(AbstractPublisherApplication.java:98)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.initialize(AbstractPublisherApplication.java:89)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.p2.publisher.AbstractPublisherApplication.run(AbstractPublisherApplication.java:284)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.pde.internal.build.publisher.GatherBundleTask.execute(GatherBundleTask.java:71)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java] [eclipse.gatherBundle]                  at
> java.lang.reflect.Method.invoke(Method.java:597)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Task.perform(Task.java:348)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Target.execute(Target.java:357)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Target.performTasks(Target.java:385)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java] [eclipse.gatherBundle]                  at
> java.lang.reflect.Method.invoke(Method.java:597)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Task.perform(Task.java:348)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:62)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java] [eclipse.gatherBundle]                  at
> java.lang.reflect.Method.invoke(Method.java:597)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Task.perform(Task.java:348)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.taskdefs.MacroInstance.execute(MacroInstance.java:394)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java] [eclipse.gatherBundle]                  at
> java.lang.reflect.Method.invoke(Method.java:597)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Task.perform(Task.java:348)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Target.execute(Target.java:357)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Target.performTasks(Target.java:385)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java] [eclipse.gatherBundle]                  at
> java.lang.reflect.Method.invoke(Method.java:597)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Task.perform(Task.java:348)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Target.execute(Target.java:357)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Target.performTasks(Target.java:385)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.ant.internal.core.ant.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java] [eclipse.gatherBundle]                  at
> java.lang.reflect.Method.invoke(Method.java:597)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Task.perform(Task.java:348)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Target.execute(Target.java:357)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Target.performTasks(Target.java:385)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeTarget(Project.java:1306)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
>     [java] [eclipse.gatherBundle]                  at
> org.apache.tools.ant.Project.executeTargets(Project.java:1189)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:622)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:494)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java] [eclipse.gatherBundle]                  at
> java.lang.reflect.Method.invoke(Method.java:597)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.ant.core.AntRunner.run(AntRunner.java:513)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.ant.core.AntRunner.start(AntRunner.java:600)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [java] [eclipse.gatherBundle]                  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java] [eclipse.gatherBundle]                  at
> java.lang.reflect.Method.invoke(Method.java:597)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.launcher.Main.run(Main.java:1311)
>     [java] [eclipse.gatherBundle]                  at
> org.eclipse.equinox.launcher.Main.main(Main.java:1287)
>
> IMO is the path absolute - there are no linux links or other stuff
> involved.
>
> To sketch the context in a nutshell:
>
> We want to build a bunch of features for
> a) publishing them on an update site
> b) and reusing those builds for assembling a product (rich client
> application) for several target platforms
>
> Disregarding the metadata stuff this approach works fine ...
>
> Hope anybody has an idea!
>
> cheers
> christian
> _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-dev
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> pde-dev mailing list
> pde-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/pde-dev
>
_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev


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

_______________________________________________
pde-dev mailing list
pde-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pde-dev



Back to the top