Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » site.p2 not exporting feature?
site.p2 not exporting feature? [message #388010] Wed, 22 July 2009 13:07 Go to next message
Peter M. Murray is currently offline Peter M. MurrayFriend
Messages: 24
Registered: July 2009
Junior Member
I've been trying site.p2 (as well as various combinations of other
actions) to try to get a valid update site based on my feature. Whatever
I try, i seem to get:

artifacts.jar
content.jar
plugins (with all my plugins inside)

The feature itself is not there. When I ask buckminster to listsite on
the result it reports no features. When I try to use the import.eclipse
reader in an rmap file it doesn't find any of the contained binary plugins.

I added category.* magic dust to my build.properties and that didn't
change the result.

What am I missing?

-pete
Re: site.p2 not exporting feature? [message #388011 is a reply to message #388010] Wed, 22 July 2009 13:59 Go to previous messageGo to next message
Achim Demelt is currently offline Achim DemeltFriend
Messages: 160
Registered: July 2009
Senior Member
Pete,

The feature for which you invoke site.p2 is actually a "pseudo"-feature. It
defines the site itself, but not a "real" Eclipse feature. So the feature
itself is deliberately not included in the resulting site.

So to solve your problem: Just define a new "site" feature that includes
your actual feature. Building "site.p2" for that new feature should then
produce an update site that includes your original feature.

Achim

Peter M. Murray wrote:

>
> I've been trying site.p2 (as well as various combinations of other
> actions) to try to get a valid update site based on my feature. Whatever
> I try, i seem to get:
>
> artifacts.jar
> content.jar
> plugins (with all my plugins inside)
>
> The feature itself is not there. When I ask buckminster to listsite on
> the result it reports no features. When I try to use the import.eclipse
> reader in an rmap file it doesn't find any of the contained binary
> plugins.
>
> I added category.* magic dust to my build.properties and that didn't
> change the result.
>
> What am I missing?
>
> -pete
Re: site.p2 not exporting feature? [message #388013 is a reply to message #388011] Wed, 22 July 2009 15:03 Go to previous messageGo to next message
Peter M. Murray is currently offline Peter M. MurrayFriend
Messages: 24
Registered: July 2009
Junior Member
Thanks a lot, Achim! That gets me a bit further. I have two questions
now:

1) Is there a way to suppress building source plugins / features (minor
point)?

2) When materializing from my update site, it appears that somewhere along
the line, the port given in the URL in the rmap is dropped (see error
messages below). Is that a bug?

Cheers,

pete

--------------------------------------------------
Provider
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
materializing to
/data/home/build-script/.hudson/jobs/com.quantrix.applicatio n/workspace/plugins/org.codehaus.janino/
Provider
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
materializing to
/data/home/build-script/.hudson/jobs/com.quantrix.applicatio n/workspace/plugins/com.bluecast.piccolo/
Provider
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
materializing to
/data/home/build-script/.hudson/jobs/com.quantrix.applicatio n/workspace/plugins/net.sf.cglib/
Provider
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
materializing to
/data/home/build-script/.hudson/jobs/com.quantrix.applicatio n/workspace/plugins/HTTPClient/
ERROR [0010] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR: No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
Provider
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
materializing to
/data/home/build-script/.hudson/jobs/com.quantrix.applicatio n/workspace/plugins/com.subx.general.core/
ERROR [0010] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR: No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR [0010] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR: No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR [0010] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR: No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR [0009] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR: No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
ERROR: Errors and Warnings
org.eclipse.core.runtime.CoreException: Errors and Warnings
at
org.eclipse.buckminster.runtime.BuckminsterException.wrap(Bu ckminsterException.java:109)
at
org.eclipse.buckminster.core.materializer.MaterializationJob .internalRun(MaterializationJob.java:175)
at
org.eclipse.buckminster.core.materializer.MaterializationJob .run(MaterializationJob.java:144)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Contains: [0010] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
Contains: [0010] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
Contains: [0010] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
Contains: [0010] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
Contains: [0009] : No repository found at
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
Re: site.p2 not exporting feature? [message #388014 is a reply to message #388013] Wed, 22 July 2009 15:37 Go to previous messageGo to next message
Achim Demelt is currently offline Achim DemeltFriend
Messages: 160
Registered: July 2009
Senior Member
Pete,

Comments inline.

>
> Thanks a lot, Achim! That gets me a bit further. I have two questions
> now:
>
> 1) Is there a way to suppress building source plugins / features (minor
> point)?
>

There's a property to suppress that:

cbi.include.source=false


> 2) When materializing from my update site, it appears that somewhere along
> the line, the port given in the URL in the rmap is dropped (see error
> messages below). Is that a bug?
>

Sounds like a bug to me. Thomas, what do you think?

Achim

> Cheers,
>
> pete
>
> --------------------------------------------------
> Provider
>
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
> materializing to
> /data/home/build-
script/.hudson/jobs/com.quantrix.application/workspace/plugi ns/org.codehaus.janino/
> Provider
>
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
> materializing to
> /data/home/build-
script/.hudson/jobs/com.quantrix.application/workspace/plugi ns/com.bluecast.piccolo/
> Provider
>
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
> materializing to
> /data/home/build-
script/.hudson/jobs/com.quantrix.application/workspace/plugi ns/net.sf.cglib/
> Provider
>
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
> materializing to
> /data/home/build-
script/.hudson/jobs/com.quantrix.application/workspace/plugi ns/HTTPClient/
> ERROR [0010] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR: No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> Provider
>
eclipse.import( http://build.host:8085/job/com.subx.feature/lastSuccessfulBu ild/artifact/site.p2):
> materializing to
> /data/home/build-
script/.hudson/jobs/com.quantrix.application/workspace/plugi ns/com.subx.general.core/
> ERROR [0010] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR: No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR [0010] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR: No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR [0010] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR: No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR [0009] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR: No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> ERROR: Errors and Warnings
> org.eclipse.core.runtime.CoreException: Errors and Warnings
> at
>
org.eclipse.buckminster.runtime.BuckminsterException.wrap(Bu ckminsterException.java:109)
> at
>
org.eclipse.buckminster.core.materializer.MaterializationJob .internalRun(MaterializationJob.java:175)
> at
>
org.eclipse.buckminster.core.materializer.MaterializationJob .run(MaterializationJob.java:144)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Contains: [0010] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> Contains: [0010] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> Contains: [0010] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> Contains: [0010] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
> Contains: [0009] : No repository found at
>
http://build.host/job/com.subx.feature/lastSuccessfulBuild/a rtifact/site.p2/.
Re: site.p2 not exporting feature? [message #388018 is a reply to message #388014] Thu, 23 July 2009 07:34 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Achim Demelt wrote:
>> 2) When materializing from my update site, it appears that somewhere along
>> the line, the port given in the URL in the rmap is dropped (see error
>> messages below). Is that a bug?
>>
>
> Sounds like a bug to me. Thomas, what do you think?
>
Yes, that's a bug. I think it's the same problem as this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=250722

Regards,
Thomas Hallgren
Previous Topic:url.zipped
Next Topic:Materializing a target platform
Goto Forum:
  


Current Time: Tue Apr 23 07:32:46 GMT 2024

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

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

Back to the top