Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361206 - workspace materializer creates in wrong location
Summary: workspace materializer creates in wrong location
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Buckminster (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: buckminster.core-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 02:59 EDT by Christian Pontesegger CLA
Modified: 2019-02-25 14:41 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Pontesegger CLA 2011-10-18 02:59:12 EDT
Build Identifier: 20110916-0149

The workspace materializer creates features/projects within subfolders plugins/features. These subfolders are generated all the time and there seems no way to suppress them. Using an RMAP like this

<?xml version="1.0" encoding="UTF-8"?>
<md:mspec xmlns:md="http://www.eclipse.org/buckminster/MetaData-1.0" materializer="workspace" name="Materialize_components" url="Materialize.cquery" conflictResolution="UPDATE">
    <md:mspecNode workspaceLocation="C:/workspace" installLocation="C:/workspace" materializer="workspace" namePattern="^\Qcom.example.plugin\E$" componentType="osgi.bundle"/>
</md:mspec>

should materialize everything within 'installLocation' and not within a subfolder plugins.

The Cquery used is:
<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="file:/C:/workspace/com.example.releng.import/local.rmap">
    <cq:rootRequest name="com.example.plugin" componentType="osgi.bundle"/>
</cq:componentQuery>


...and the rmap
<?xml version="1.0" encoding="UTF-8"?>
<rm:rmap xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns:rm="http://www.eclipse.org/buckminster/RMap-1.0">
  <rm:locator searchPathRef="SVN_plugins" failOnError="false"/>
  <rm:searchPath name="SVN_plugins">
    <rm:provider componentTypes="osgi.bundle" readerType="svn" source="true">
      <rm:uri format="https://svnserver/svn/Eclipse_RCP/trunk/bundles/{0}">
        <bc:propertyRef key="buckminster.component"/>
      </rm:uri>
    </rm:provider>
  </rm:searchPath>
</rm:rmap>



Reproducible: Always