Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » More than one rootRequest in the cquery-file?
More than one rootRequest in the cquery-file? [message #531979] Thu, 06 May 2010 16:28 Go to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi,
I want to materialize n plugins in my workspace, which have no common topic.
They are completely independent.
Do I have to call buckminster for every request or can I request more features at once?

Didn't find any examples

Thanks for help

Greeting
markus
Re: More than one rootRequest in the cquery-file? [message #531994 is a reply to message #531979] Thu, 06 May 2010 17:17 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
I am not sure if a query can have multiple roots (I know we talked about
adding this some time ago).

You can always create a component with prerequisites /dependencies on
the things you need (using a cspec file) and then have a query that
requests this component.

Often, the "assortment of things" is the top level in a build system,
and there is typical other things that are wanted at this level. Many
create an Eclipse feature for this purpose, and just add the bundles
they want as requirements in this feature. This gives you the additional
advantages of being able to construct a p2 update site out of all the
bundles as well as other build releated functionality that is
automatically available for a feature.

In the examples, there is often a "releng" or "site", or "meta"
project/feature where these things are described.

I hope that helps.

Regards
- henrik


On 5/6/10 6:28 PM, Markus Oley wrote:
> Hi, I want to materialize n plugins in my workspace, which have no
> common topic. They are completely independent. Do I have to call
> buckminster for every request or can I request more features at once?
> Didn't find any examples
>
> Thanks for help
>
> Greeting
> markus
Re: More than one rootRequest in the cquery-file? [message #532022 is a reply to message #531994] Thu, 06 May 2010 19:14 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi again,

thanks for your fast answer,
I think I should explain what I want to do, so perhaps it becomes clearer.

I want to implement a feature which installs several features from several updatesites on a given workspace. That means.

1. I unpack an distribution (e.g. J2EE)
2. than I add several plugins from internal or external updatesites
3. I preconfigure some things for the convinience of the developers in our company.
4. Than I upload the preconfigured distribution on our internal downloadsite.

For this purpose I use Buckminster.
I create an rmap-file with all those updatesites in it an tried to create a cquery file, with which buckminster can materialize all the wanted features in my unpacked distribution. I call buckminster in this way:
buckminster -L DEBUG -data demo/eclipse/ resolve demo.cquery

So I didn't create a cspec file. Do I need this one?

This is part of my example-cquery-file:

<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="/home/..../rmap.xml">
<cq:rootRequest name="haltso" componentType="eclipse.feature" />
<cq:advisorNode namePattern="net.sf.jautodoc.feature" componentType="eclipse.feature" />
<cq:advisorNode namePattern=" features/edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821.j ar " componentType="eclipse.feature" />
....
</cq:componentQuery>




Re: More than one rootRequest in the cque ry-file? [message #532046 is a reply to message #532022] Thu, 06 May 2010 21:48 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Sounds like you are primarily interested in producing your own eclipse
distribution. The best way to do this is to use the b3 aggregator
(former buckminster aggregator) to produce a p2 site containing the
things you want developers to have convenient access to. In addition,
you can define your own packaging (you could start with the j2ee
definition in epp) and build this into a p2 repository.

Next step is to produce zip files (ready to run installations) from the
two update sites. This
Can be done with the p2 director.

Alternatively you can use the epp wizard to allow users to configure a
suitable IDE install, if everyone should not use everything all of the
time.

Buckminster provides most value when you want to build from source, and
get a complete target platform, API baseline, tests etc. configured
correctly for a particular version/stream of development. Then doing
this in headless fashion on a ci-server.

- henrik

You then combine th
Markus Oley <markus.oley@t-online.de> wrote:
> Hi again,
> thanks for your fast answer, I think I should explain what I want to
> do, so perhaps it becomes clearer.
> I want to implement a feature which installs several features from
> several updatesites on a given workspace. That means.
> 1. I unpack an distribution (e.g. J2EE)
> 2. than I add several plugins from internal or external updatesites
> 3. I preconfigure some things for the convinience of the developers in
> our company. 4. Than I upload the preconfigured distribution on our
> internal downloadsite.
> For this purpose I use Buckminster. I create an rmap-file with all
> those updatesites in it an tried to create a cquery file, with which
> buckminster can materialize all the wanted features in my unpacked
> distribution. I call buckminster in this way: buckminster -L DEBUG
> -data demo/eclipse/ resolve demo.cquery
> So I didn't create a cspec file. Do I need this one?
> This is part of my example-cquery-file:
> <cq:componentQuery
> xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
> resourceMap="/home/..../rmap.xml">
> <cq:rootRequest name="haltso" componentType="eclipse.feature" />
> <cq:advisorNode namePattern="net.sf.jautodoc.feature"
> componentType="eclipse.feature" />
> <cq:advisorNode namePattern="
> features/edu.umd.cs.findbugs.plugin.eclipse_1.3.9.20090821.j ar "
> componentType="eclipse.feature" />
> ...
> </cq:componentQuery>
>
>
>
>
>
>


--
- henrik
Re: More than one rootRequest in the cque ry-file? [message #532425 is a reply to message #532046] Sun, 09 May 2010 21:25 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Henrik,

thank you for your answer.

I want to provide more than one preconfigured distribution. We have many different use cases (modeling, web and normal j2ee developers). So I want to create different types of distributions.
I wrote an rcp-program to admin them, having such things like inheritance of distributions.
In addition to that I want to mirror the base-distributions itself, on which my distributions are based on, I implemented the mirrors using the mirror-app. Is this a correct way?

I thought I can add plugins to a certain eclipse-installations with buckminster resolving all dependencies, don't I? With a simple example it worked already and if it works in principle I would like to use my already partially implemented solution.
May I use the b3 aggregator as well for such a use case? What's the advantage of each solution?

Thank you for your answer

Greetings Markus
Re: More than one rootRequest in the cque ry-file? [message #532429 is a reply to message #532425] Sun, 09 May 2010 22:10 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Hi,
The b3 aggregator is the best tool for creating an aggregated/mirrored
repository. It gives you a lot more control over the aggregation, and it
has an editor for the aggregation definition, and it performs validation
of the result.

Buckminster is not a p2 installer - it resolves dependencies and
materialized bundles but does not run the actual installation. The
primary use case is to materialize to a target platform where bundles
are used to build against. Buckminster uses the "p2 materializer" to
produce a "p2 artifact repository in runnable form".
In order to actually install something (and not just copy it to a
location on disk) you need to run the director.
I assume that the director can use the "p2 artifact repository in
runnable form" created by the p2 materializer when installing (as an
artifact repository), but I have not tried this (Thomas, feel free to
jump in here :)).

The EPP project (which creates the standard distributions from Eclipse)
is using Buckminster to build. Basically this is done by defining
features that define what the distributions should contain, then
building these using Buckminster into a p2 repository.

Now, since everything is in a p2 repository, the final step is just to
aggregate everything into one repository (which currently is done with
an earlier version of the b3 aggregator). The final repository has
everything that is required to either produce ready to run zip files for
a specific platform (built with Buckminster), or to install the same
definitions dynamically (using the director, p2 installer, or some other
p2 agent).

So, to you question if what you are doing is the "correct way" or not,
is a bit difficult to answer - if you end up with a solution that works
well for you then I guess it can be labeled as being correct ;)

- henrik

On 5/9/10 11:25 PM, Markus Oley wrote:
> Hi Henrik,
> thank you for your answer.
> I want to provide more than one preconfigured distribution. We have many
> different use cases (modeling, web and normal j2ee developers). So I
> want to create different types of distributions. I wrote an rcp-program
> to admin them, having such things like inheritance of distributions. In
> addition to that I want to mirror the base-distributions itself, on
> which my distributions are based on, I implemented the mirrors using the
> mirror-app. Is this a correct way?
>
> I thought I can add plugins to a certain eclipse-installations with
> buckminster resolving all dependencies, don't I? With a simple example
> it worked already and if it works in principle I would like to use my
> already partially implemented solution.
> May I use the b3 aggregator as well for such a use case? What's the
> advantage of each solution?
>
> Thank you for your answer
>
> Greetings Markus
>
Re: More than one rootRequest in the cque ry-file? [message #532745 is a reply to message #532429] Tue, 11 May 2010 06:29 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
OK, thank you for your answer,

so I think the b3 aggregator would be the best choice for my needs.
So if I use it, I would just use the headless version, because the administrating of my distributions is done by my app.
I would create necessary documents to fill the aggregator to to the things I want to do. That's the medium-term solution I would like to implement.

But I got very far with my current solution, so to have a solution in short term I would like to try out, if it works. Because for one request I already had success.
So back to my initial question: Do I have the opportunity to request more than one thing at once or do I have to call all my requests by a seperate call?

Thank you for all your help
Greetings

Markus

Re: More than one rootRequest in the cque ry-file? [message #533162 is a reply to message #532429] Wed, 12 May 2010 13:19 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi again,

OK, I want to implement the right way.
I tried out the aggregator, which has a really nice gui.

I think building a mirror is really well done with this,
but I can't imagine how to use it for creating my distributions.

I have a certain base-distribution, e.g. Gallileo J2EE and want to create a zip-file-distribution with some additional plugins, let's say Checkstyle.

What's the way I have to act to get a complete distribution from my mirrored sites?

Thanks in advance

Markus
Re: More than one rootRequest in the cque ry-file? [message #533201 is a reply to message #533162] Wed, 12 May 2010 14:12 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Look at how this is done in the EPP project:
http://www.eclipse.org/projects/project_summary.php?projecti d=technology.packaging

There is a description for the packages for Galileo (how to find where
they are defined in CVS etc.) - http://wiki.eclipse.org/EPP/Galileo_Packages

Sorry for not having a more direct pointer to a package to look at for
Helios like the J2EE package.

Let me know if you need help finding it.

Regards
- henrik


On 5/12/10 3:19 PM, Markus Oley wrote:
> Hi again,
>
> OK, I want to implement the right way. I tried out the aggregator, which
> has a really nice gui.
> I think building a mirror is really well done with this, but I can't
> imagine how to use it for creating my distributions.
> I have a certain base-distribution, e.g. Gallileo J2EE and want to
> create a zip-file-distribution with some additional plugins, let's say
> Checkstyle.
> What's the way I have to act to get a complete distribution from my
> mirrored sites?
> Thanks in advance
>
> Markus
>
Re: More than one rootRequest in the cque ry-file? [message #533202 is a reply to message #533162] Wed, 12 May 2010 14:18 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi Markus,

once all your materials are available within a p2 repository, you can
assemble any kind of distribution with the p2 director (exactly the same
way how you install headless buckminster).
director
-r http://example.org/your/aggregated/site
-d /here/goes/your/stuff
-p YourArbitraryProfile
-i org.example.your.product.id,
org.example.additional.stuff.feature.group,
org.example.more.additional.stuff.feature.group

Once the director is done, simply put everything into a zip and you're
good to go.
Of course this kind of stuff can be done as part of a buckminster build
process, but the actual work is done by the director.
Since you don't want to use the resulting product directly, but zip it
as a distribution you probably want to add some additional parameters
like '-roaming' but that's the general approach.
More on the p2 director application:
http://help.eclipse.org/galileo/index.jsp?topic=/org.eclipse .platform.doc.isv/guide/p2_director.html

Best regards,
Johannes
Re: More than one rootRequest in the cque ry-file? [message #533258 is a reply to message #533202] Wed, 12 May 2010 18:36 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Oh, I think buckminster and p2 are really cool once understood.
Thank you for your answer, I'll do a try and report the result Smile

By
Markus
Re: More than one rootRequest in the cque ry-file? [message #533932 is a reply to message #533258] Mon, 17 May 2010 14:06 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Johannes

I tried setting up the mirror by the following build-model:

<?xml version="1.0" encoding="UTF-8"?>
<aggregator:Aggregator xmlns:aggregator="http://www.eclipse.org/buckminster/2009/aggregator" label="VSA-UpdatesiteMirror" buildRoot="${user.home}/entwicklung/sitecache3.5/">
<configurations operatingSystem="win32" windowSystem="win32" />
<configurations operatingSystem="linux" windowSystem="gtk" />
<configurations operatingSystem="linux" windowSystem="gtk" />
<configurations operatingSystem="macosx" windowSystem="cocoa" />
<contributions label="GALLILEO">
<repositories location="http://download.eclipse.org/releases/galileo">
<metadataRepository href=" p2:http://download.eclipse.org/releases/galileo#//@metadataR epository" />
</repositories>
</contributions>
<contributions label="SWTBot fuer Test">
<repositories location=" http://download.eclipse.org/technology/swtbot/galileo/dev-bu ild/update-site">
<metadataRepository href=" p2:http://download.eclipse.org/technology/swtbot/galileo/dev -build/update-site#//@metadataRepository" />
</repositories>
</contributions>
<contributions label="Subversion">
<repositories location=" http://download.eclipse.org/technology/subversive/0.7/update -site/">
<metadataRepository href=" p2:http://download.eclipse.org/technology/subversive/0.7/upd ate-site/#//@metadataRepository" />
</repositories>
</contributions>
<contributions label="Multi-Clipboard">
<repositories location="http://www.bastian-bergerhoff.com/eclipse/features">
<metadataRepository href=" p2:http://www.bastian-bergerhoff.com/eclipse/features#//@met adataRepository" />
</repositories>
</contributions>
<contributions label="AnyEdit">
<repositories location="http://andrei.gmxhome.de/eclipse">
<metadataRepository href="p2:http://andrei.gmxhome.de/eclipse#//@metadataRepository" />
</repositories>
</contributions>
<contributions label="Subversion-Connectoren">
<repositories location=" http://community.polarion.com/projects/subversive/download/e clipse/2.0/update-site/">
<metadataRepository href=" p2:http://community.polarion.com/projects/subversive/downloa d/eclipse/2.0/update-site/#//@metadataRepository" />
</repositories>
</contributions>
<contributions label="MyLyn-Jira-Extension">
<repositories location="http://download.eclipse.org/tools/mylyn/update/extras">
<metadataRepository href=" p2:http://download.eclipse.org/tools/mylyn/update/extras#//@ metadataRepository" />
</repositories>
</contributions>
<contributions label="JAutoDoc">
<repositories location="http://jautodoc.sourceforge.net/update/">
<metadataRepository href=" p2:http://jautodoc.sourceforge.net/update/#//@metadataReposi tory" />
</repositories>
</contributions>
</aggregator:Aggregator>


then I get a exception like:


[Fatal Error] :145080:2920: Premature end of file.
2010-05-17 16:02:43,743 ERROR [Thread-5] distributor.BuckminsterAdapter - ERROR: Unable to load repository http://download.eclipse.org/releases/galileo
2010-05-17 16:02:43,793 ERROR [Thread-5] distributor.BuckminsterAdapter - org.eclipse.equinox.internal.provisional.p2.core.ProvisionEx ception: No repository found at http://download.eclipse.org/releases/galileo/200909241140.
2010-05-17 16:02:43,794 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.fail(AbstractRepositoryManager.java:380)
2010-05-17 16:02:43,794 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.internal.p2.repository.helpers.AbstractR epositoryManager.loadRepository(AbstractRepositoryManager.ja va:606)
2010-05-17 16:02:43,794 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:92)
2010-05-17 16:02:43,794 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.internal.p2.metadata.repository.Metadata RepositoryManager.loadRepository(MetadataRepositoryManager.j ava:88)
2010-05-17 16:02:43,794 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.aggregator.p2.impl.MetadataRepositor yImpl.addRepositoryReferences(MetadataRepositoryImpl.java:33 3)
2010-05-17 16:02:43,795 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.aggregator.p2.util.P2RepositoryLoade r.load(P2RepositoryLoader.java:176)
2010-05-17 16:02:43,795 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.aggregator.p2.util.P2RepositoryLoade r.load(P2RepositoryLoader.java:78)
2010-05-17 16:02:43,795 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.aggregator.p2.util.MetadataRepositor yResourceImpl$RepositoryLoaderJob.run(MetadataRepositoryReso urceImpl.java:233)
2010-05-17 16:02:43,795 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
2010-05-17 16:02:47,739 ERROR [Thread-5] distributor.BuckminsterAdapter - ERROR: The feature 'metadataRepository' of 'org.eclipse.buckminster.aggregator.impl.MappedRepositoryImp l @79b177 {file:/home/oleym/entwicklung/pluginseclipse_1/rcpdistributo r/conf/mirror3.5.build#//@contributions[label='GALLILEO']/@r epositories.0}' contains an unresolved proxy ' org.eclipse.buckminster.aggregator.p2.impl.MetadataRepositor yImpl@1723c7f{p2:http://download.eclipse.org/releases/galile o#//@metadataRepository}'
2010-05-17 16:02:47,741 ERROR [Thread-5] distributor.BuckminsterAdapter - ERROR: Build failed! Exception was org.eclipse.core.runtime.CoreException: Build model validation failed: Diagnosis of org.eclipse.buckminster.aggregator.impl.AggregatorImpl@639bf1 {file:/home/oleym/entwicklung/pluginseclipse_1/rcpdistributo r/conf/mirror3.5.build#/}
2010-05-17 16:02:47,741 ERROR [Thread-5] distributor.BuckminsterAdapter - org.eclipse.core.runtime.CoreException: Build model validation failed: Diagnosis of org.eclipse.buckminster.aggregator.impl.AggregatorImpl@639bf1 {file:/home/oleym/entwicklung/pluginseclipse_1/rcpdistributo r/conf/mirror3.5.build#/}
2010-05-17 16:02:47,742 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.runtime.BuckminsterException.fromMes sage(BuckminsterException.java:64)
2010-05-17 16:02:47,742 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.runtime.BuckminsterException.fromMes sage(BuckminsterException.java:59)
2010-05-17 16:02:47,742 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.aggregator.engine.Builder.runTransfo rmation(Builder.java:1241)
2010-05-17 16:02:47,742 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.aggregator.engine.Builder.run(Builde r.java:635)
2010-05-17 16:02:47,742 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.aggregator.engine.Builder.run(Builde r.java:1059)
2010-05-17 16:02:47,743 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.cmdline.AbstractCommand.basicRun(Abs tractCommand.java:155)
2010-05-17 16:02:47,743 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:3 41)
2010-05-17 16:02:47,743 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.cmdline.Headless.run(Headless.java:1 35)
2010-05-17 16:02:47,743 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.buckminster.cmdline.Headless.start(Headless.java :189)
2010-05-17 16:02:47,743 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.java:194)
2010-05-17 16:02:47,744 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplication(EclipseAppLauncher.java:110)
2010-05-17 16:02:47,744 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(EclipseAppLauncher.java:79)
2010-05-17 16:02:47,744 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:368)
2010-05-17 16:02:47,744 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:179)
2010-05-17 16:02:47,745 ERROR [Thread-5] distributor.BuckminsterAdapter - at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2010-05-17 16:02:47,745 ERROR [Thread-5] distributor.BuckminsterAdapter - at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
2010-05-17 16:02:47,745 ERROR [Thread-5] distributor.BuckminsterAdapter - at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
2010-05-17 16:02:47,745 ERROR [Thread-5] distributor.BuckminsterAdapter - at java.lang.reflect.Method.invoke(Method.java:597)
2010-05-17 16:02:47,745 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java: 559)
2010-05-17 16:02:47,746 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
2010-05-17 16:02:47,746 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
2010-05-17 16:02:47,746 ERROR [Thread-5] distributor.BuckminsterAdapter - at org.eclipse.equinox.launcher.Main.main(Main.java:1287)



What's the failure?

Greetings
Markus
Re: More than one rootRequest in the cque ry-file? [message #533944 is a reply to message #533932] Mon, 17 May 2010 14:17 Go to previous messageGo to next message
Johannes Utzig is currently offline Johannes UtzigFriend
Messages: 329
Registered: July 2009
Senior Member
Hi Markus,

I would say most likely you hit a bad mirror or there was a temporary
problem with the update site.

Best regards,
Johannes
Re: More than one rootRequest in the cque ry-file? [message #534161 is a reply to message #533944] Tue, 18 May 2010 09:15 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
I am behind a proxy-server.
Do I have to tell the aggregator this circumstance?
If yes, please tell me how

Greetings
Markus

Re: More than one rootRequest in the cque ry-file? [message #534275 is a reply to message #533944] Tue, 18 May 2010 14:45 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
I think this is not the problem,
because the problems exists on a galileo-updatesite and a helios-updatesite.

Perhaps it's a proxy or timeout-problem.
How can I set both using the aggregator?

Greetings
Markus
Re: More than one rootRequest in the cque ry-file? [message #534309 is a reply to message #534275] Tue, 18 May 2010 15:20 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Please note that there has been a major problem with the mirrorsURL in the last (m7a) Helios release repository. Since
this repository is included in the release composite, it's highly likely that you were hit by this. The error was
corrected just a few hours ago. See:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=313050

Regards,
Thomas Hallgren



On 05/18/2010 04:45 PM, Markus Oley wrote:
> I think this is not the problem, because the problems exists on a
> galileo-updatesite and a helios-updatesite.
> Perhaps it's a proxy or timeout-problem. How can I set both using the
> aggregator?
>
> Greetings
> Markus
Re: More than one rootRequest in the cque ry-file? [message #534419 is a reply to message #534309] Wed, 19 May 2010 06:34 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Sorry, but my problem isn't resolved by the mentioned bugfix.

Did I create the build-model in a correct way?
Re: More than one rootRequest in the cque ry-file? [message #534422 is a reply to message #533944] Wed, 19 May 2010 06:48 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi again,

I think the problem is the following:



With
<contributions label="GALLILEO">
<repositories location="http://download.eclipse.org/releases/galileo">
<metadataRepository href=" p2:http://download.eclipse.org/releases/galileo#//@metadataR epository" />
</repositories>
</contributions>


The searched site is http://download.eclipse.org/releases/galileo/200909241140.


The 200909241140 is automatically appended by aggregator.
And this site doesn't exist (my browser says Smile )

Do I have to configure the galileo-site in another way?

Greetings
Markus
Re: More than one rootRequest in the cque ry-file? [message #534450 is a reply to message #534422] Wed, 19 May 2010 09:10 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Checking repo existence with a browser usually does not work as p2 by
default does not have an index. HTML file at the repo URL location. You
have to know which type of repo it is and ask for a specific file.

Try the URL in an eclipse IDE instead.

- henrik
Markus Oley <markus.oley@t-online.de> wrote:
> Hi again,
> I think the problem is the following:
>
>
> With
> <contributions label="GALLILEO">
> <repositories
> location="http://download.eclipse.org/releases/galileo">
> <metadataRepository
> href=" p2:http://download.eclipse.org/releases/galileo#//@metadataR epository"
> />
> </repositories>
> </contributions>
>
>
> The searched site is
> http://download.eclipse.org/releases/galileo/200909241140
>
>
> The 200909241140 is automatically appended by aggregator. And this
> site doesn't exist (my browser says :) )
>
> Do I have to configure the galileo-site in another way?
>
> Greetings
> Markus
>
>


--
- henrik
Re: More than one rootRequest in the cque ry-file? [message #534721 is a reply to message #534450] Thu, 20 May 2010 06:49 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Ok, you are right, eclipse can handle this url...

what could be the problem?
I first tried the p2-mirrorapp to mirror the side and had the problem that I ran in an timeout. So I increased the timeout to read this side with this,

but not knowing how to increase the timeout in the aggregator

Greetings
Markus
Re: More than one rootRequest in the cque ry-file? [message #535157 is a reply to message #534450] Fri, 21 May 2010 12:54 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Henrik,

I try to start from beginning.....

I downloaded helios M7,
downloaded aggregator and buckminster,
and tried to mirror the example
http://dev.eclipse.org/svnroot/tools/org.eclipse.buckminster /trunk/org.eclipse.buckminster.aggregator/samples/buckminste r_galileo_mirrored.build
in the aggregator editor.

Now I'm not behind a proxy, because I'm not at work, and it can't complte building the side:

Cannot complete the install because one or more required items could not be found.
Software being installed: all.contributed.content.feature.group 1.0.0
Missing requirement: Buckminster Subclipse Support Plug-in 1.0.0.r11436 (org.eclipse.buckminster.subclipse 1.0.0.r11436) requires 'bundle org.tigris.subversion.subclipse.core 1.4.8' but it could not be found
Cannot satisfy dependency:
From: all.contributed.content.feature.group 1.0.0
To: org.eclipse.buckminster.subclipse.feature.feature.group 0.0.0
Cannot satisfy dependency:
From: Buckminster - Subclipse support 1.1.0.r11440 (org.eclipse.buckminster.subclipse.feature.feature.group 1.1.0.r11440)
To: org.eclipse.buckminster.subclipse [1.0.0,1.1.0)

What's the problem?

Greetings
Markus




Re: More than one rootRequest in the cque ry-file? [message #535255 is a reply to message #535157] Fri, 21 May 2010 18:27 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
I am not familiar with the example, but the message basically says that
the subclipse plugin is missing.

When exactly do you get this?
- Henrik

Markus Oley <markus.oley@t-online.de> wrote:
> Hi Henrik,
> I try to start from beginning.....
>
> I downloaded helios M7, downloaded aggregator and buckminster, and
> tried to mirror the example
> http://dev.eclipse.org/svnroot/tools/org.eclipse.buckminster /trunk/org.eclipse.buckminster.aggregator/samples/buckminste r_galileo_mirrored.build
> in the aggregator editor.
> Now I'm not behind a proxy, because I'm not at work, and it can't
> complte building the side:
> Cannot complete the install because one or more required items could
> not be found.
> Software being installed: all.contributed.content.feature.group 1.0.0
> Missing requirement: Buckminster Subclipse Support Plug-in
> 1.0.0.r11436 (org.eclipse.buckminster.subclipse 1.0.0.r11436) requires
> 'bundle org.tigris.subversion.subclipse.core 1.4.8' but it could not
> be found
> Cannot satisfy dependency:
> From: all.contributed.content.feature.group 1.0.0
> To: org.eclipse.buckminster.subclipse.feature.feature.group 0.0.0
> Cannot satisfy dependency:
> From: Buckminster - Subclipse support 1.1.0.r11440
> (org.eclipse.buckminster.subclipse.feature.feature.group 1.1.0.r11440)
> To: org.eclipse.buckminster.subclipse [1.0.0,1.1.0)
>
> What's the problem?
>
> Greetings Markus
>
>
>
>
>
>


--
- henrik
Re: More than one rootRequest in the cque ry-file? [message #535328 is a reply to message #535255] Sat, 22 May 2010 11:22 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
I get this error building the site in the aggregator editor,

Re: More than one rootRequest in the cque ry-file? [message #535373 is a reply to message #535328] Sat, 22 May 2010 21:21 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
Did you look at this page:
http://wiki.eclipse.org/Eclipse_b3/aggregator/manual ?

It suggest using
http://dev.eclipse.org/svnroot/modeling/org.eclipse.emft.b3/ trunk/org.eclipse.b3.aggregator.samples/buckminster_helios_m irrored.b3aggr


as a starting point for trying something out.
If I understand it correctly, this is essentially the same as the older
demo, but more likely to work ;)

The "buckminster aggregator" is the precursor to the "b3 aggregator",
the older version is not maintained. (I noticed the URL to the example
you tried is for the old aggregator).

The b3 aggregator is putting Helios together, and manages to put
together Buckminster as well for Helios (including support for
subversion with both subversive and subclipse) so I am hoping that we
just managed to confuse you with information on older wiki pages that we
should have updated.

- henrik

On 5/22/10 1:22 PM, Markus Oley wrote:
> I get this error building the site in the aggregator editor,
>
Re: More than one rootRequest in the cque ry-file? [message #535647 is a reply to message #535373] Tue, 25 May 2010 06:42 Go to previous messageGo to next message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Henrik,

sorry, but even this example doesn't work for me.

It seems that the updatesites thereself are not consistent ?
Or do I have to configure some redirects or really perhaps some timeouts?
This messages appears with the example:


Cannot complete the install because of a conflicting dependency.
Software being installed: all.contributed.content.feature.group 1.0.0
Only one of the following can be installed at once:
GMF Geometric Shapes 1.2.0.v20100511-1355 (org.eclipse.gmf.examples.runtime.diagram.geoshapes 1.2.0.v20100511-1355)
GMF Geometric Shapes 1.2.0.v20090403-1720 (org.eclipse.gmf.examples.runtime.diagram.geoshapes 1.2.0.v20090403-1720)
Cannot satisfy dependency:
From: all.contributed.content.feature.group 1.0.0
To: org.eclipse.gmf.examples.feature.group 0.0.0
Cannot satisfy dependency:
From: all.contributed.content.feature.group 1.0.0
To: org.eclipse.gmf.examples.runtime.feature.group 0.0.0
Cannot satisfy dependency:
From: Graphical Modeling Framework Examples 1.4.0.v20100428-2359-7B7H8_F8NcJLZJvMm9THaJ (org.eclipse.gmf.examples.feature.group 1.4.0.v20100428-2359-7B7H8_F8NcJLZJvMm9THaJ)
To: org.eclipse.gmf.examples.runtime.diagram.geoshapes [1.2.0.v20090403-1720]
Cannot satisfy dependency:
From: Graphical Modeling Framework Runtime Examples 1.4.0.v20100511-1355-7B7L0F8NcJP-JxPc9U1oc (org.eclipse.gmf.examples.runtime.feature.group 1.4.0.v20100511-1355-7B7L0F8NcJP-JxPc9U1oc)
To: org.eclipse.gmf.examples.runtime.diagram.geoshapes [1.2.0.v20100511-1355]

Re: More than one rootRequest in the cque ry-file? [message #535702 is a reply to message #535647] Tue, 25 May 2010 10:38 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
This has started to happen recently, as Helios now contains old releases
as well for dec prposes. See the thread B3 Aggregator + Helios in the b3
forum.
- henrik

Markus Oley <markus.oley@t-online.de> wrote:
> Hi Henrik,
> sorry, but even this example doesn't work for me.
> It seems that the updatesites thereself are not consistent ?
> Or do I have to configure some redirects or really perhaps some
> timeouts?
> This messages appears with the example:
>
>
> Cannot complete the install because of a conflicting dependency.
> Software being installed: all.contributed.content.feature.group 1.0.0
> Only one of the following can be installed at once: GMF Geometric
> Shapes 1.2.0.v20100511-1355
> (org.eclipse.gmf.examples.runtime.diagram.geoshapes
> 1.2.0.v20100511-1355)
> GMF Geometric Shapes 1.2.0.v20090403-1720
> (org.eclipse.gmf.examples.runtime.diagram.geoshapes
> 1.2.0.v20090403-1720)
> Cannot satisfy dependency:
> From: all.contributed.content.feature.group 1.0.0
> To: org.eclipse.gmf.examples.feature.group 0.0.0
> Cannot satisfy dependency:
> From: all.contributed.content.feature.group 1.0.0
> To: org.eclipse.gmf.examples.runtime.feature.group 0.0.0
> Cannot satisfy dependency:
> From: Graphical Modeling Framework Examples
> 1.4.0.v20100428-2359-7B7H8_F8NcJLZJvMm9THaJ
> (org.eclipse.gmf.examples.feature.group
> 1.4.0.v20100428-2359-7B7H8_F8NcJLZJvMm9THaJ)
> To: org.eclipse.gmf.examples.runtime.diagram.geoshapes
> [1.2.0.v20090403-1720]
> Cannot satisfy dependency:
> From: Graphical Modeling Framework Runtime Examples
> 1.4.0.v20100511-1355-7B7L0F8NcJP-JxPc9U1oc
> (org.eclipse.gmf.examples.runtime.feature.group
> 1.4.0.v20100511-1355-7B7L0F8NcJP-JxPc9U1oc)
> To: org.eclipse.gmf.examples.runtime.diagram.geoshapes
> [1.2.0.v20100511-1355]
>
>
>


--
- henrik
Re: More than one rootRequest in the cque ry-file? [message #541248 is a reply to message #535702] Fri, 18 June 2010 22:04 Go to previous message
Markus Oley is currently offline Markus OleyFriend
Messages: 304
Registered: July 2009
Location: Germany
Senior Member
Hi Henrik,

I'm happy, now it works.
I use the Aggregator programmatically, I use the plugins of my eclipse, not downloading director anymore and try to load the correct version of aggregator and use a program call, but call the API in Java.

Thanx for all
Previous Topic:Product IU generated to require org.eclipse.core.runtime bundles
Next Topic:The main feature is not found when buckminster build
Goto Forum:
  


Current Time: Sat Apr 20 14:47:28 GMT 2024

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

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

Back to the top