Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » readerType url can't materialize "buckminster" component type
readerType url can't materialize "buckminster" component type [message #690289] Wed, 29 June 2011 10:17
Matthew Webber is currently offline Matthew WebberFriend
Messages: 198
Registered: December 2010
Senior Member
I'm attempting to materialize a component of type "buckminster", using a readerType of "url". The relevant part of the rmap looks like this:
    <rm:provider componentTypes="buckminster" resolutionFilter="(!(option_Diamond_subversion_access=true))" readerType="url" mutable="false">
      <rm:property key="buckminster.mutable" value="false"/>
      <rm:uri format="http://www.opengda.org/downloads/gda/${GDA_branch}/{0}.zip">
        <bc:propertyRef key="buckminster.component"/>
      </rm:uri>
    </rm:provider>

The .zip file is a zipped directory which includes a buckminster.cspec file. However, materialization fails with the following error messages:

    ERROR   [0001] : Resolution attempt ended with exception: org.xml.sax.SAXParseException: Content is not allowed in prolog.: http://www.opengda.org/downloads/gda/v8.14/builder.zip at line: 1 column: 1
      ERROR   org.xml.sax.SAXParseException: Content is not allowed in prolog.: http://www.opengda.org/downloads/gda/v8.14/builder.zip at line: 1 column: 1

I have no problems if I do the same thing with a component type of "osgi.bundle" in a zip file. It looks like the url reader is not handling the zip file correctly for this component type "buckminster". I tried several different zip files with component type "buckminster", all had the same failure.

Is this a bug (I didn't find any existing report in Bugzilla), or is there something else I need to do? This is Eclipse Helios 3.6.2 (IDE Buckminster, not headless Buckminster).

Thanks
Matthew
Previous Topic:Buckminster code generation in IDE/Headless
Next Topic:Buckminster code-base has moved to Git
Goto Forum:
  


Current Time: Fri Apr 26 06:33:40 GMT 2024

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

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

Back to the top