Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Buckminster » headless build fails resolving (however works in IDE)
headless build fails resolving (however works in IDE) [message #533097] Wed, 12 May 2010 08:42 Go to next message
Bernhard Merkle is currently offline Bernhard MerkleFriend
Messages: 88
Registered: July 2009
Member
This is a multi-part message in MIME format.
--------------010104070304080508070904
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

buckminster runs in the IDE successfully but it fails as headless
process and I do not know why. Here is the relevant part:

1. imported my.target (attached) worked

2. import site.cquery (attached) fails

can you help ? Ideally I would like to resolve locally and not via p2
because of performance/firewalls/proxies etc.
the target platform already contains xpand and the relevant stuff so i
am not clear why this fails..

thanks for your help,
Berni.


C:\ide\ibm\buckminster-headless-3.5>buckminster.bat -consoleLog -L DEBUG
-data file:///W:/Buckminster_SopasGenerator import
file:///W:/Buckminster_SopasGenerato
r/de.sick.sopas.generator.srt.buckminster/site.cquery


!ENTRY org.eclipse.buckminster.core 0 293 2010-05-12 10:25:28.609
!MESSAGE org.eclipse.emf.mwe.core:osgi.bundle/0.7.2: No provider was
found that could resolve the request
org.eclipse.emf.mwe.core:osgi.bundle/0.7.2: No provider was found that
could resolve the request

!ENTRY org.eclipse.buckminster.core 4 293 2010-05-12 10:25:28.609
!MESSAGE ERROR [0000] : No suitable provider for component
org.eclipse.emf.mwe.core:osgi.bundle/0.7.2 was found in resourceMap
file:/W:/Buckminster_SopasGener
ator/de.sick.sopas.generator.srt.buckminster/site.rmap
ERROR [0000] : No suitable provider for component
org.eclipse.emf.mwe.core:osgi.bundle/0.7.2 was found in searchPath mwe
ERROR [0000] : Rejecting provider
p2(http://download.eclipse.org/modeling/emft/updates/releases/): No
component match was found
ERROR No reader type with id p2 has been registered with
extension-point org.eclipse.buckminster.core.readerTypes
ERROR [0000] : No suitable provider for component
org.eclipse.emf.mwe.core:osgi.bundle/0.7.2 was found in resourceMap
file:/W:/Buckminster_SopasGenerator/de.s
ick.sopas.generator.srt.buckminster/site.rmap
ERROR [0000] : No suitable provider for component
org.eclipse.emf.mwe.core:osgi.bundle/0.7.2 was found in searchPath mwe
ERROR [0000] : Rejecting provider
p2(http://download.eclipse.org/modeling/emft/updates/releases/): No
component match was found
ERROR No reader type with id p2 has been registered with
extension-point org.eclipse.buckminster.core.readerTypes


--------------010104070304080508070904
Content-Type: text/xml;
name="my.target"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="my.target"

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde version="3.5"?>

<target name="MyTarget">
<locations>
<location path="${eclipse_home}" type="Profile"/>
</locations>
<environment>
<os>win32</os>
<ws>win32</ws>
<arch>x86</arch>
<nl>de_DE</nl>
</environment>
<launcherArgs>
<vmArgs>-Xms40m -Xmx256m</vmArgs>
</launcherArgs>
</target>

--------------010104070304080508070904
Content-Type: text/xml;
name="site.rmap"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="site.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 pattern="^de\.itemis\.xtext(\..+)?" searchPathRef="itemis"/>
<rm:locator pattern="^org\.antlr(\..+)?" searchPathRef="itemis"/>
<rm:locator pattern="^org\.eclipse\.xtext" searchPathRef="itemis"/>
<rm:locator pattern="^org\.eclipse\.xtend" searchPathRef="itemis"/>
<rm:locator pattern="^org\.eclipse\.xpand(\..+)?" searchPathRef="itemis" failOnError="false"/>
<rm:locator pattern="^org\.eclipse\.emf\.mwe(\..+)?" searchPathRef="mwe"/>
<rm:locator pattern="^org\.apache\.commons(\..+)?" searchPathRef="mwe"/>
<rm:locator searchPathRef="resources"/>
<rm:searchPath name="itemis">
<rm:provider componentTypes="osgi.bundle,eclipse.feature" readerType="p2" source="false" mutable="false" resolutionFilter="">
<rm:uri format="http://download.itemis.com/updates/releases"/>
</rm:provider>
</rm:searchPath>
<rm:searchPath name="mwe">
<rm:provider componentTypes="osgi.bundle,eclipse.feature" readerType="p2" source="false" mutable="false" resolutionFilter="">
<rm:uri format="http://download.eclipse.org/modeling/emft/updates/releases/"/>
</rm:provider>
</rm:searchPath>
<rm:searchPath name="resources">
<rm:provider componentTypes="osgi.bundle,eclipse.feature" readerType="local" source="false">
<rm:uri format="file:///{0}/{1}/">
<bc:propertyRef key="workspace.root"/>
<bc:propertyRef key="buckminster.component"/>
<bc:propertyRef key="eclipse.home"/>
</rm:uri>
</rm:provider>
</rm:searchPath>
</rm:rmap>

--------------010104070304080508070904
Content-Type: text/xml;
name="site.cquery"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="site.cquery"

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="site.rmap">
<cq:rootRequest name="de.sick.sopas.generator.srt.buckminster" componentType="eclipse.feature"/>
</cq:componentQuery>

--------------010104070304080508070904--
Re: headless build fails resolving (however works in IDE) [message #533103 is a reply to message #533097] Wed, 12 May 2010 09:02 Go to previous message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3232
Registered: July 2009
Senior Member
Hi Bernhard,
This message:

No reader type with id p2 has been registered with extension-point org.eclipse.buckminster.core.readerTypes

suggests that you are using a 3.5 version of Buckminster. The p2 reader type was introduced in Buckminster 3.6. You can
solve this in one of two ways:

1. Change your RMAP to use reader type 'eclipse.import'. This will work for both 3.5 and 3.6 but will give you a
deprecatoin warning in 3.6.
2. Use a 3.6 version of Buckminster instead (that's probably what you have in your IDE.

Regards,
Thomas Hallgren



On 05/12/2010 10:42 AM, Bernhard Merkle wrote:
> Hi,
>
> buckminster runs in the IDE successfully but it fails as headless
> process and I do not know why. Here is the relevant part:
>
> 1. imported my.target (attached) worked
>
> 2. import site.cquery (attached) fails
>
> can you help ? Ideally I would like to resolve locally and not via p2
> because of performance/firewalls/proxies etc.
> the target platform already contains xpand and the relevant stuff so i
> am not clear why this fails..
>
> thanks for your help,
> Berni.
>
>
> C:\ide\ibm\buckminster-headless-3.5>buckminster.bat -consoleLog -L DEBUG
> -data file:///W:/Buckminster_SopasGenerator import
> file:///W:/Buckminster_SopasGenerato
> r/de.sick.sopas.generator.srt.buckminster/site.cquery
>
>
> !ENTRY org.eclipse.buckminster.core 0 293 2010-05-12 10:25:28.609
> !MESSAGE org.eclipse.emf.mwe.core:osgi.bundle/0.7.2: No provider was
> found that could resolve the request
> org.eclipse.emf.mwe.core:osgi.bundle/0.7.2: No provider was found that
> could resolve the request
>
> !ENTRY org.eclipse.buckminster.core 4 293 2010-05-12 10:25:28.609
> !MESSAGE ERROR [0000] : No suitable provider for component
> org.eclipse.emf.mwe.core:osgi.bundle/0.7.2 was found in resourceMap
> file:/W:/Buckminster_SopasGener
> ator/de.sick.sopas.generator.srt.buckminster/site.rmap
> ERROR [0000] : No suitable provider for component
> org.eclipse.emf.mwe.core:osgi.bundle/0.7.2 was found in searchPath mwe
> ERROR [0000] : Rejecting provider
> p2(http://download.eclipse.org/modeling/emft/updates/releases/): No
> component match was found
> ERROR No reader type with id p2 has been registered with extension-point
> org.eclipse.buckminster.core.readerTypes
> ERROR [0000] : No suitable provider for component
> org.eclipse.emf.mwe.core:osgi.bundle/0.7.2 was found in resourceMap
> file:/W:/Buckminster_SopasGenerator/de.s
> ick.sopas.generator.srt.buckminster/site.rmap
> ERROR [0000] : No suitable provider for component
> org.eclipse.emf.mwe.core:osgi.bundle/0.7.2 was found in searchPath mwe
> ERROR [0000] : Rejecting provider
> p2(http://download.eclipse.org/modeling/emft/updates/releases/): No
> component match was found
> ERROR No reader type with id p2 has been registered with extension-point
> org.eclipse.buckminster.core.readerTypes
>
Previous Topic:headless 3.6 lost its feature names
Next Topic:building buckminster from source
Goto Forum:
  


Current Time: Sat Dec 20 08:10:00 GMT 2014

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

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