Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361206

Summary: workspace materializer creates in wrong location
Product: z_Archived Reporter: Christian Pontesegger <christian.pontesegger>
Component: BuckminsterAssignee: buckminster.core-inbox <buckminster.core-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

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