Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » list of internal properties?
list of internal properties? [message #647102] Tue, 04 January 2011 15:45 Go to next message
Eric Gwin is currently offline Eric GwinFriend
Messages: 10
Registered: July 2009
Junior Member
Where can I find a list of built in properties? The manual talks about "buckminster.component" and I've seen reference on the forum to another, but I have been unable to find a list so far.

Thanks.

-Eric
Re: list of internal properties? [message #647129 is a reply to message #647102] Tue, 04 January 2011 16:57 Go to previous messageGo to next message
Henrik Lindberg is currently offline Henrik LindbergFriend
Messages: 2509
Registered: July 2009
Senior Member
If I remember correctly, they are documented in the Bucky Book. There is
no aggregated list, they are explained in context.

- henrik

On 1/4/11 4:45 PM, Eric Gwin wrote:
> Where can I find a list of built in properties? The manual talks about
> "buckminster.component" and I've seen reference on the forum to another,
> but I have been unable to find a list so far.
>
> Thanks.
>
> -Eric
Re: list of internal properties? [message #647138 is a reply to message #647129] Tue, 04 January 2011 17:54 Go to previous messageGo to next message
Eric Gwin is currently offline Eric GwinFriend
Messages: 10
Registered: July 2009
Junior Member
Then perhaps I should approach this differently. I'm trying to materialize bundles (binary) from a URL.
I cannot seem to use buckminster.component and a regular expression to identify the exact URL, I did try to find a property that holds the value of the component being searched for, and found buckminster.componentVersion.
However it does not seem to be set while materializing.
The property ${ buckminster.componentVersion } has not been set and will default to null
ERROR   [0002] : No suitable provider for component javax.persistence:osgi.bundle/[2.0.3.v201010191057,2.0.3.v201010191057] was found in resourceMap http://download.eclipse.org/rt/eclipselink/bucktest/eclipselink.rmap
  ERROR   [0002] : No suitable provider for component javax.persistence:osgi.bundle/[2.0.3.v201010191057,2.0.3.v201010191057] was found in searchPath javax
    ERROR   [0002] : Resolution attempt ended with exception: java.io.FileNotFoundException: File not found: http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/bmpc/plugins/javax.persistence_null.jar
      ERROR   java.io.FileNotFoundException: File not found: http://dev.eclipse.org/svnroot/rt/org.eclipse.persistence/bmpc/plugins/javax.persistence_null.jar


Rmap section:
    <rm:provider componentTypes="osgi.bundle,jar" readerType="url" source="false" mutable="false" resolutionFilter="">
      <rm:uri format="{0}/rt/org.eclipse.persistence/bmpc/plugins/{1}_{2}.jar">
        <bc:propertyRef key="eclipse.svn.prefix"/>
        <bc:propertyRef key="buckminster.component"/>
        <bc:propertyRef key="buckminster.componentVersion"/>
      </rm:uri>
    </rm:provider>


Is there some other variable that hold the version range, or some way to specify to search a range of URLs (I'm having other issues with the matcher)?

Thanks

-Eric
Re: list of internal properties? [message #647185 is a reply to message #647102] Tue, 04 January 2011 21:40 Go to previous messageGo to next message
Alan Underwood is currently offline Alan UnderwoodFriend
Messages: 37
Registered: October 2010
Member
Eric

There's a buckminster.version.designator property that contains the version range requested e.g. [1.0.2,1.0.5)

Note the brackets in the example are inclusive and exclusive respectively.

I think the version that is going to be fetched is not known until the resolver has completed searching all possible urls in the base page based on a matcher. I've tried doing a 'direct' url, like you, because I couldn't get the matcher to work, but couldn't because of the version property not existing. Eventually I got the matcher to work but only by looking at the source code for Buckminster!

If you depend on the version number in the url you have to use a matcher.

Use a <version> element within the matcher to define how the version is shown in the url. This part of the bucky book I find unclear.

In summary, the version is derived from the url to see if it is going to be valid (given the version designator). The version isn't an existing property so you can't create a url from it.

I will be happily corrected if wrong.

Alan

P.S. you can look here for buckminster constants but they are used in different contexts and are not always available/non-null
http://dev.eclipse.org/viewcvs/viewvc.cgi/branches/helios-ma intenance/org.eclipse.buckminster.core/src/java/org/eclipse/ buckminster/core/KeyConstants.java?view=markup&root=TOOL S_BUCKMINSTER
Re: list of internal properties? [message #647267 is a reply to message #647102] Wed, 05 January 2011 13:35 Go to previous message
Eric Gwin is currently offline Eric GwinFriend
Messages: 10
Registered: July 2009
Junior Member
Thanks Alan!

Any idea if a bug has been logged for the matcher?

I'm in a situation where I cannot put all the compiler dependencies into Orbit, and setting up a private p2 repo is simply too mainenance intensive (in addition to adding another point of failure for the process). Unless there is another 'standard' methodology for getting binaries from version control, I need the url matcher.

-Eric
Previous Topic:SVN update during materialization
Next Topic:proper matcher syntax?
Goto Forum:
  


Current Time: Sun Jan 26 13:20:40 GMT 2025

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

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

Back to the top