Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » mspec to target platform and workspace
mspec to target platform and workspace [message #510603] Wed, 27 January 2010 13:06
Martin Taal is currently offline Martin Taal
Messages: 5329
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------070909070509050702070708
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,
I am trying out buckminster and starting as a real newbie... I want to specify the mspec so that the dependencies
(non-source plugins/features) all go into a target platform directory and the source plugins and features go into the
workspace.

With the attached mspec I have achieved that the dependencies indeed go somewhere else than the source plugins. However
the source plugins/features do not appear in the workspace (when opening the workspace in eclipse). After importing the
mytmp/buckminster/workspace directory has a subdirectory features and a subdirectory plugins each containing the source
feature/plugins. But they are not linked to the workspace present in the mytmp/buckminster/workspace folder (it is a
valid workspace with a .metadata directory). Meaning that when I open the workspace in eclipse I don't see the
plugins/feature.

The reason probably is that I get this error message:
ERROR [0001] : Resource '/org.eclipse.core.runtime' does not exist.
TAG-ID 0001 = Query for org.eclipse.emf.texo:eclipse.feature
The error log does not show a stack trace or something.

The org.eclipse.core.runtime plugin is present in the target platform output directory.

This happens after it seems that everything has been created but before the link to workspace step.

I am using Eclipse 3.5.1 with Buckminster 1.1.350.r11101.

Attached you can find my mspec, cquery and rmap files.

Is there maybe something wrong with my setup?

Thanks for any help on this!

--

With Regards, Martin Taal

Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Cell: +31 (0)6 288 48 943
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org

--------------070909070509050702070708
Content-Type: text/xml;
name="texo.cquery"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="texo.cquery"

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="texo.rmap" properties="buckminster.properties">
<cq:rootRequest name="org.eclipse.emf.texo" componentType="eclipse.feature"/>
</cq:componentQuery>

--------------070909070509050702070708
Content-Type: text/xml;
name="texo.rmap"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="texo.rmap"

<?xml version="1.0" encoding="UTF-8"?>
<!--
(c) 2010
Martin Taal
The code, documentation and other materials contained herein have been
licensed under the Eclipse Public License - v 1.0 by the individual
copyright holders listed above, as Initial Contributors under such license.
The text of such license is available at www.eclipse.org.
-->
<rmap xmlns="http://www.eclipse.org/buckminster/RMap-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
xmlns:pmp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0"
xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0">

<property key="build.type" mutable="true" value="N"/>

<searchPath name="texo.plugins">
<provider componentTypes="osgi.bundle" readerType="cvs" source="true">
<uri format=":pserver:anonymous@dev.eclipse.org :/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/plug ins/{0} ">
<bc:propertyRef key="buckminster.component" />
</uri>
</provider>
</searchPath>

<searchPath name="texo.features">
<provider componentTypes="eclipse.feature" readerType="cvs" source="true" mutable="false">
<uri format=":pserver:anonymous@dev.eclipse.org :/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.texo/feat ures/{0}-feature ">
<bc:propertyRef key="buckminster.component"/>
</uri>
</provider>
</searchPath>

<searchPath name="target.platform">
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="eclipse.import" source="false" mutable="false" resolutionFilter="(build.type=R)">
<uri format=" http://download.eclipse.org/eclipse/updates/3.5/R-3.5.1-2009 09170800"/>
</provider>
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="eclipse.import" source="false" mutable="false" resolutionFilter="(build.type=R)">
<uri format="http://download.eclipse.org/releases/galileo"/>
</provider>
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="eclipse.import" source="false" mutable="false" resolutionFilter="(build.type=N)">
<uri format="http://download.eclipse.org/eclipse/updates/3.6milestones"/>
</provider>
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="eclipse.import" source="false" mutable="false" resolutionFilter="(build.type=N)">
<uri format="http://download.eclipse.org/releases/helios"/>
</provider>
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="eclipse.import" source="false" mutable="false" resolutionFilter="(build.type=N)">
<uri format="http://download.eclipse.org/modeling/emf/updates/milestones"/>
</provider>
<provider componentTypes="eclipse.feature,osgi.bundle" readerType="eclipse.import" source="false" mutable="false" resolutionFilter="">
<uri format="http://www.elver.org/eclipse/update"/>
</provider>
</searchPath>

<locator searchPathRef="texo.features" pattern="^org\.eclipse\.emf\.texo([\.\-].+)?" failOnError="false"/>
<locator searchPathRef="texo.plugins" pattern="^org\.eclipse\.emf\.texo(\..+)?"/>
<locator searchPathRef="target.platform"/>

</rmap>

--------------070909070509050702070708
Content-Type: text/xml;
name="texo_target.mspec"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
filename="texo_target.mspec"

<?xml version="1.0" encoding="UTF-8"?>
<mspec:mspec xmlns:mspec="http://www.eclipse.org/buckminster/MetaData-1.0" installLocation="${user.home}/mytmp/buckminster/targetPlatform " materializer="p2" name="texo_target.mspec" url="texo.cquery" conflictResolution="UPDATE">
<mspec:property key="target.os" value="*"/>
<mspec:property key="target.ws" value="*"/>
<mspec:property key="target.arch" value="*"/>
<mspec:mspecNode
namePattern="org\.eclipse\.emf\.texo([\.\-].+)?"
workspaceLocation="${user.home}/mytmp/buckminster/workspace "
installLocation="${user.home}/mytmp/buckminster/workspace"
materializer="workspace"/>
</mspec:mspec>

--------------070909070509050702070708--
Previous Topic:Globally extending generated Cspecs
Next Topic:examples of eclipse.org projects using buckminster and central hudson
Goto Forum:
  


Current Time: Thu Aug 21 14:18:12 EDT 2014

Powered by FUDForum. Page generated in 0.02675 seconds