Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » The main feature is not found when buckminster build(Altough the cquery and the project is found the feature is not found)
The main feature is not found when buckminster build [message #541443] Mon, 21 June 2010 08:21 Go to next message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
Hi,

I am trying to build an RCP product, but at the beginning of the build, just after having downloaded everything locally in my Hudson workspace, Buckminster does not find my main feature, however the feature is well there:
No materialization found for com.ena.swift.feature.site:eclipse.feature com.ena.swift.feature.site:eclipse.feature: Trying provider local(workspace) No open workspace project found that corresponds to com.ena.swift.feature.site:eclipse.feature com.ena.swift.feature.site:eclipse.feature: Trying provider local(target) com.ena.swift.feature.site:eclipse.feature: Rejecting provider eclipse.platform(feature/${buckminster.component}): No component match was found Downloading file:/var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.feature.site/swiftV2.rmap
com.ena.swift.feature.site:eclipse.feature: Using resource map file:/var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.feature.site/swiftV2.rmap com.ena.swift.feature.site:eclipse.feature: Using search path resources com.ena.swift.feature.site:eclipse.feature: Trying provider local(file:///{0}/{1}/) com.ena.swift.feature.site:eclipse.feature: Found match com.ena.swift.feature.site:eclipse.feature: Using provider local(file:///{0}/{1}/) com.ena.swift.feature.site:eclipse.feature: Resolution attempt ended with exception: CSpec com.ena.swift.feature.site has no action, group, or local artifact named buckminster.clean com.ena.swift.feature.site:eclipse.feature: No provider was found that could resolve the request ERROR [0001] : No suitable provider for component com.ena.swift.feature.site:eclipse.feature was found in resourceMap file:/var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.feature.site/swiftV2.rmap ERROR [0001] : No suitable provider for component com.ena.swift.feature.site:eclipse.feature was found in searchPath resources ERROR [0001] : Resolution attempt ended with exception: CSpec com.ena.swift.feature.site has no action, group, or local artifact named buckminster.clean ERROR CSpec com.ena.swift.feature.site has no action, group, or local artifact named buckminster.clean INFO: TAG-ID 0001 = Query for com.ena.swift.feature.site:eclipse.feature 


and the Rmap contains the right reference:

<?xml version="1.0" encoding="UTF-8"?>
<rmap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.eclipse.org/buckminster/RMap-1.0"
	xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0" xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
	xmlns:pp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0">
	<!-- Place your RMAP content here -->

	<searchPath name="resources">
		<provider readerType="local" componentTypes="osgi.bundle,eclipse.feature"
			mutable="true" source="true">
			<uri format="file:///{0}/{1}/">
				<bc:propertyRef key="workspace.root" />
				<bc:propertyRef key="buckminster.component" />
			</uri>
		</provider>
	</searchPath>
	<!--
		<searchPath name="cdo"> <provider readerType="cvs"
		componentTypes="osgi.bundle,eclipse.feature" mutable="true"
		source="true"> <uri
		format=":pserver:anonymous@dev.eclipse.org:/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.cdo/plugins/{0}">
		<bc:propertyRef key="buckminster.component" /> </uri> </provider>
		</searchPath>
	-->
	<searchPath name="cdo">
		<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
			mutable="false" source="false">
			<uri
				format="http://download.eclipse.org/modeling/emf/updates/releases?importType=binary">
			</uri>
		</provider>
	</searchPath>
	<searchPath name="net4j.plus">
		<provider componentTypes="eclipse.feature,osgi.bundle"
			readerType="p2" source="false" mutable="false" resolutionFilter="">
			<uri format="http://net4j.sourceforge.net/update" />
		</provider>
	</searchPath>
	<searchPath name="eclipse.derby">
		<provider componentTypes="eclipse.feature,osgi.bundle"
			readerType="local" source="false" mutable="false" resolutionFilter="">
			<uri format="file:///home/manager/eclipse.derby/{0}" >
				<bc:propertyRef key="buckminster.component" />
			</uri>
		</provider>
	</searchPath>
	
	<searchPath name="eclipse">
		<provider componentTypes="eclipse.feature,osgi.bundle"
			readerType="p2" source="false" mutable="false">
			<uri format="{0}/tools/gef/updates/milestones/">
				<bc:propertyRef key="eclipse.downloads" />
			</uri>
		</provider>
		<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
			mutable="true" source="false">
			<uri
				format="http://download.eclipse.org/technology/epp/packages/galileo?importType=binary" />
		</provider>
		<provider readerType="eclipse.import"
			componentTypes="osgi.bundle,eclipse.feature,buckminster" mutable="true"
			source="false">
			<uri format="http://download.eclipse.org/releases/galileo?importType=binary" />
		</provider>
		<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
			mutable="false" source="false">
			<uri
				format="http://download.eclipse.org/eclipse/updates/3.5?importType=binary" />
		</provider>


	</searchPath>

	<locator searchPathRef="resources" pattern="^com\.ena(\..+)?" />
	<locator searchPathRef="resources" pattern="^com\.swift(\..+)?" />
	<locator searchPathRef="resources" pattern="^com\.ena\.swift(\..+)?" />
	<locator searchPathRef="resources" pattern="^net\.sf\.dataprofiler(\..+)?"/>
	<locator pattern="^org\.apache\.derby.*" searchPathRef="eclipse.derby" />
	<locator searchPathRef="cdo" pattern="^org\.eclipse\.emf\.cdo(\..+)?" />
	<locator pattern="^org\.eclipse\.net4j\.db\.derby*"
		searchPathRef="eclipse.derby" />
	<locator searchPathRef="eclipse" pattern="org\.eclipse\.core\.(\..+)?"/>
	<locator searchPathRef="eclipse" pattern=".*" />
</rmap>


The hudson workspace contains the feature:
sskhiri@demoena1-laptop:/var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.feature.site$ ls
buckminster.cspex       build.properties                   ISOEditorRCP.product      swiftV2.rmap       swiftV2.rmap.updatesite
buckminster.properties  com.ena.swift.feature.site.cquery  linux.target              swiftV2.rmap.back  traces.txt
build                   feature.xml                        plugin_customization.ini  swiftV2.rmap.CVS   win_rcp.target


What could be the problem ?

Thanks for your help !

Sabri.
Re: The main feature is not found when buckminster build [message #541461 is a reply to message #541443] Mon, 21 June 2010 09:11 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Sabri,

My guess is that the feature project is somehow corrupt. What does the feature.xml look like? The error:

"CSpec com.ena.swift.feature.site has no action, group, or local artifact named buckminster.clean"

suggests that Buckminster was unable to parse needed information from feature.xml or build.properties.

Regards,
Thomas Hallgren

On 06/21/2010 10:21 AM, Sabri Skhiri wrote:
> Hi,
>
> I am trying to build an RCP product, but at the beginning of the build,
> just after having downloaded everything locally in my Hudson workspace,
> Buckminster does not find my main feature, however the feature is well
> there:
>
> No materialization found for com.ena.swift.feature.site:eclipse.feature
> com.ena.swift.feature.site:eclipse.feature: Trying provider
> local(workspace) No open workspace project found that corresponds to
> com.ena.swift.feature.site:eclipse.feature
> com.ena.swift.feature.site:eclipse.feature: Trying provider
> local(target) com.ena.swift.feature.site:eclipse.feature: Rejecting
> provider eclipse.platform(feature/${buckminster.component}): No
> component match was found Downloading
> file:/var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.f eature.site/swiftV2.rmap
>
> com.ena.swift.feature.site:eclipse.feature: Using resource map
> file:/var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.f eature.site/swiftV2.rmap
> com.ena.swift.feature.site:eclipse.feature: Using search path resources
> com.ena.swift.feature.site:eclipse.feature: Trying provider
> local(file:///{0}/{1}/) com.ena.swift.feature.site:eclipse.feature:
> Found match com.ena.swift.feature.site:eclipse.feature: Using provider
> local(file:///{0}/{1}/) com.ena.swift.feature.site:eclipse.feature:
> Resolution attempt ended with exception: CSpec
> com.ena.swift.feature.site has no action, group, or local artifact named
> buckminster.clean com.ena.swift.feature.site:eclipse.feature: No
> provider was found that could resolve the request ERROR [0001] : No
> suitable provider for component
> com.ena.swift.feature.site:eclipse.feature was found in resourceMap
> file:/var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.f eature.site/swiftV2.rmap
> ERROR [0001] : No suitable provider for component
> com.ena.swift.feature.site:eclipse.feature was found in searchPath
> resources ERROR [0001] : Resolution attempt ended with exception: CSpec
> com.ena.swift.feature.site has no action, group, or local artifact named
> buckminster.clean ERROR CSpec com.ena.swift.feature.site has no action,
> group, or local artifact named buckminster.clean INFO: TAG-ID 0001 =
> Query for com.ena.swift.feature.site:eclipse.feature
>
> and the Rmap contains the right reference:
>
>
> <?xml version="1.0" encoding="UTF-8"?>
> <rmap xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns="http://www.eclipse.org/buckminster/RMap-1.0"
> xmlns:bc="http://www.eclipse.org/buckminster/Common-1.0"
> xmlns:mp="http://www.eclipse.org/buckminster/MavenProvider-1.0"
> xmlns:pp="http://www.eclipse.org/buckminster/PDEMapProvider-1.0">
> <!-- Place your RMAP content here -->
>
> <searchPath name="resources">
> <provider readerType="local" componentTypes="osgi.bundle,eclipse.feature"
> mutable="true" source="true">
> <uri format="file:///{0}/{1}/">
> <bc:propertyRef key="workspace.root" />
> <bc:propertyRef key="buckminster.component" />
> </uri>
> </provider>
> </searchPath>
> <!--
> <searchPath name="cdo"> <provider readerType="cvs"
> componentTypes="osgi.bundle,eclipse.feature" mutable="true"
> source="true"> <uri
> format=":pserver:anonymous@dev.eclipse.org :/cvsroot/modeling,org.eclipse.emf/org.eclipse.emf.cdo/plugi ns/{0} ">
>
> <bc:propertyRef key="buckminster.component" /> </uri> </provider>
> </searchPath>
> -->
> <searchPath name="cdo">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri
> format=" http://download.eclipse.org/modeling/emf/updates/releases?im portType=binary">
>
> </uri>
> </provider>
> </searchPath>
> <searchPath name="net4j.plus">
> <provider componentTypes="eclipse.feature,osgi.bundle"
> readerType="p2" source="false" mutable="false" resolutionFilter="">
> <uri format="http://net4j.sourceforge.net/update" />
> </provider>
> </searchPath>
> <searchPath name="eclipse.derby">
> <provider componentTypes="eclipse.feature,osgi.bundle"
> readerType="local" source="false" mutable="false" resolutionFilter="">
> <uri format="file:///home/manager/eclipse.derby/{0}" >
> <bc:propertyRef key="buckminster.component" />
> </uri>
> </provider>
> </searchPath>
>
> <searchPath name="eclipse">
> <provider componentTypes="eclipse.feature,osgi.bundle"
> readerType="p2" source="false" mutable="false">
> <uri format="{0}/tools/gef/updates/milestones/">
> <bc:propertyRef key="eclipse.downloads" />
> </uri>
> </provider>
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="true" source="false">
> <uri
> format=" http://download.eclipse.org/technology/epp/packages/galileo? importType=binary"
> />
> </provider>
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature,buckminster" mutable="true"
> source="false">
> <uri
> format=" http://download.eclipse.org/releases/galileo?importType=bina ry" />
> </provider>
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri
> format=" http://download.eclipse.org/eclipse/updates/3.5?importType=b inary"
> />
> </provider>
>
>
> </searchPath>
>
> <locator searchPathRef="resources" pattern="^com\.ena(\..+)?" />
> <locator searchPathRef="resources" pattern="^com\.swift(\..+)?" />
> <locator searchPathRef="resources" pattern="^com\.ena\.swift(\..+)?" />
> <locator searchPathRef="resources"
> pattern="^net\.sf\.dataprofiler(\..+)?"/>
> <locator pattern="^org\.apache\.derby.*" searchPathRef="eclipse.derby" />
> <locator searchPathRef="cdo" pattern="^org\.eclipse\.emf\.cdo(\..+)?" />
> <locator pattern="^org\.eclipse\.net4j\.db\.derby*"
> searchPathRef="eclipse.derby" />
> <locator searchPathRef="eclipse" pattern="org\.eclipse\.core\.(\..+)?"/>
> <locator searchPathRef="eclipse" pattern=".*" />
> </rmap>
>
>
> The hudson workspace contains the feature:
> sskhiri@demoena1-laptop :/var/lib/hudson/jobs/SWIFT_V2/workspace/com.ena.swift.featu re.site$
> ls
> buckminster.cspex build.properties ISOEditorRCP.product swiftV2.rmap
> swiftV2.rmap.updatesite
> buckminster.properties com.ena.swift.feature.site.cquery linux.target
> swiftV2.rmap.back traces.txt
> build feature.xml plugin_customization.ini swiftV2.rmap.CVS win_rcp.target
>
> What could be the problem ?
>
> Thanks for your help !
>
> Sabri.
Re: The main feature is not found when buckminster build [message #541471 is a reply to message #541461] Mon, 21 June 2010 09:52 Go to previous messageGo to next message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
Hi,

It does not seem corrupted, my feature references the feature which contains all the plugins as susggested in the tutorial:
<?xml version="1.0" encoding="UTF-8"?>
<feature
      id="com.ena.swift.feature.site"
      label="com.ena.swift.feature.site"
      version="1.0.0.qualifier"
      provider-name="ENA"
      os="linux,win32"
      ws="gtk,win32"
      arch="x86">

   <description url="http://www.example.com/description">
      [Enter Feature Description here.]
   </description>

   <copyright url="http://www.example.com/copyright">
      [Enter Copyright Description here.]
   </copyright>

   <license url="http://www.example.com/license">
      [Enter License Description here.] 
   </license>

   <includes
         id="com.ena.swift.feature"
         version="0.0.0"/>

   <requires>
      <import feature="com.ena.swift.feature" version="1.0.0.qualifier"/>
   </requires>

</feature>

Do you see something wrong ?

Sabri.
Re: The main feature is not found when buckminster build [message #541500 is a reply to message #541471] Mon, 21 June 2010 11:43 Go to previous messageGo to next message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
Actually you are problably right, in my eclipse workspace I see those lines in the console when I save a file and that a refresh is executed:
Project refresh on com.ena.swift.feature.site failed: CSpec com.ena.swift.feature.site has no  action, group, or local artifact named buckminster.clean
ERROR   [0001] : CSpec com.ena.swift.feature.site has no  action, group, or local artifact named buckminster.clean


And from my cquery when I right click buckminster->import, now it does not manage to resolve the feature.
But the strange thing is that from this same feature and feature project I can build an update site. So what do you think is wrong with buckminster ?

Sabri.
Re: The main feature is not found when buckminster build [message #541512 is a reply to message #541471] Mon, 21 June 2010 11:40 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
It looks a bit odd. Why do you both require and include the feature? It should be enough to include it.

I noticed that you have a buckminster.cspex file too. Perhaps that's the one that's causing trouble. Some thing is
preventing Buckminster from creating a correct cspec.

- thomas

On 06/21/2010 11:52 AM, Sabri Skhiri wrote:
> Hi,
>
> It does not seem corrupted, my feature references the feature which
> contains all the plugins as susggested in the tutorial:
> <?xml version="1.0" encoding="UTF-8"?>
> <feature
> id="com.ena.swift.feature.site"
> label="com.ena.swift.feature.site"
> version="1.0.0.qualifier"
> provider-name="ENA"
> os="linux,win32"
> ws="gtk,win32"
> arch="x86">
>
> <description url="http://www.example.com/description">
> [Enter Feature Description here.]
> </description>
>
> <copyright url="http://www.example.com/copyright">
> [Enter Copyright Description here.]
> </copyright>
>
> <license url="http://www.example.com/license">
> [Enter License Description here.] </license>
>
> <includes
> id="com.ena.swift.feature"
> version="0.0.0"/>
>
> <requires>
> <import feature="com.ena.swift.feature" version="1.0.0.qualifier"/>
> </requires>
>
> </feature>
> Do you see something wrong ?
>
> Sabri.
Re: The main feature is not found when buckminster build [message #541513 is a reply to message #541500] Mon, 21 June 2010 12:38 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 06/21/2010 01:43 PM, Sabri Skhiri wrote:
> But the strange thing is that from this same feature and feature project
> I can build an update site. So what do you think is wrong with
> buckminster ?
>
Perhaps Buckminster could be more clear about where it encounters a problem when extracting meta-data. Since I don't
know what the resulting cspec looks like or what the actual build result contains, it's hard to guess what actually happens.

I suggest you right-click and use "Buckminster" -> "View Cspec" on the project in question in order to verify that it
looks correct.

HTH,

- thomas
Re: The main feature is not found when buckminster build [message #541535 is a reply to message #541513] Mon, 21 June 2010 13:35 Go to previous messageGo to next message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
Hi Thomas,

Yes I know for the feature included and in dependencies, I was trying a lot things when I was desperate, but notice that I am still. I have removed the dep.
The Cspec looks good:
<?xml version="1.0" encoding="UTF-8"?>
<cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0" name="com.ena.swift.feature.site" componentType="eclipse.feature" version="1.0.0.qualifier">
    <cs:dependencies>
        <cs:dependency name="com.ena.swift.feature" componentType="eclipse.feature"/>
    </cs:dependencies>
    <cs:generators>
        <cs:generator generates="com.ena.swift.feature.site.source" attribute="source.feature.jar" generatesType="eclipse.feature"/>
    </cs:generators>
    <cs:artifacts>
        <cs:private name="build.properties" path="build.properties"/>
        <cs:private name="raw.manifest" path="feature.xml"/>
    </cs:artifacts>
    <cs:actions>
        <cs:public name="buckminster.clean" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="delete.dir"/>
            </cs:actorProperties>
            <cs:properties>
                <cs:property key="dir.to.delete" value="${buckminster.output}/"/>
            </cs:properties>
            <cs:prerequisites>
                <cs:attribute name="buckminster.clean" component="com.ena.swift.feature"/>
            </cs:prerequisites>
        </cs:public>
        <cs:public name="manifest" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="expand.feature.version"/>
            </cs:actorProperties>
            <cs:prerequisites>
                <cs:attribute name="raw.manifest" alias="manifest"/>
                <cs:attribute name="bundle.jars" alias="bundles"/>
                <cs:attribute name="feature.references" alias="features"/>
                <cs:attribute name="build.properties" alias="properties"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/temp/">
                <cs:path path="feature.xml"/>
            </cs:products>
        </cs:public>
        <cs:public name="site.p2" actor="p2SiteGenerator">
            <cs:prerequisites>
                <cs:attribute name="site.feature.exports" alias="site" filter="(&amp;(!(site.pack200=true))(!(site.signing=true)))"/>
                <cs:attribute name="site.packed" alias="site" filter="(site.pack200=true)"/>
                <cs:attribute name="site.signed" alias="site" filter="(&amp;(site.signing=true)(!(site.pack200=true)))"/>
                <cs:attribute name="manifest" alias="site.definer"/>
                <cs:attribute name="product.configuration.exports" alias="product.configs"/>
            </cs:prerequisites>
            <cs:products base="${buckminster.output}/site.p2/"/>
        </cs:public>
        <cs:public name="site.p2.zip" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="create.site.zip"/>
            </cs:actorProperties>
            <cs:prerequisites>
                <cs:attribute name="manifest" alias="manifest"/>
                <cs:attribute name="site.p2" alias="action.requirements"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/"/>
        </cs:public>
        <cs:public name="site.packed" actor="jarProcessor" always="true">
            <cs:properties>
                <cs:property key="command" value="pack"/>
            </cs:properties>
            <cs:prerequisites>
                <cs:attribute name="site.feature.exports" alias="jar.folder" filter="(!(site.signing=true))"/>
                <cs:attribute name="site.signed" alias="jar.folder" filter="(site.signing=true)"/>
            </cs:prerequisites>
            <cs:products base="${buckminster.output}/site.packed/"/>
        </cs:public>
        <cs:public name="site.signed" actor="ant" always="true">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.signing"/>
                <cs:property key="targets" value="sign.jars"/>
            </cs:actorProperties>
            <cs:prerequisites alias="action.requirements">
                <cs:attribute name="site.repacked" filter="(site.pack200=true)"/>
                <cs:attribute name="site.feature.exports" filter="(!(site.pack200=true))"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/site.signed/"/>
        </cs:public>
        <cs:public name="source.manifest" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="create.source.feature"/>
            </cs:actorProperties>
            <cs:prerequisites>
                <cs:attribute name="manifest" alias="manifest"/>
                <cs:attribute name="source.bundle.jars" alias="bundles"/>
                <cs:attribute name="source.feature.references" alias="features"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/temp/source/">
                <cs:path path="feature.xml"/>
            </cs:products>
        </cs:public>
        <cs:private name="copy.features" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="copy.group"/>
            </cs:actorProperties>
            <cs:prerequisites alias="action.requirements">
                <cs:attribute name="feature.jars"/>
                <cs:attribute name="source.feature.jars"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
        </cs:private>
        <cs:private name="copy.plugins" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="copy.group"/>
            </cs:actorProperties>
            <cs:prerequisites alias="action.requirements">
                <cs:attribute name="bundle.jars"/>
                <cs:attribute name="source.bundle.jars"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/site/plugins/" upToDatePolicy="MAPPER"/>
        </cs:private>
        <cs:private name="copy.subfeatures" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="copy.group"/>
            </cs:actorProperties>
            <cs:prerequisites alias="action.requirements">
                <cs:attribute name="feature.references"/>
                <cs:attribute name="source.feature.references"/>
                <cs:attribute name="feature.jar" filter="(site.include.top=true)"/>
                <cs:attribute name="source.feature.jar" filter="(&amp;(site.include.top=true)(!(cbi.include.source=false)))"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
        </cs:private>
        <cs:private name="feature.jar" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="create.feature.jar"/>
            </cs:actorProperties>
            <cs:prerequisites alias="action.requirements">
                <cs:attribute name="manifest" alias="manifest"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/jar/" fileCount="1" upToDatePolicy="COUNT"/>
        </cs:private>
        <cs:private name="site.repacked" actor="jarProcessor" always="true">
            <cs:properties>
                <cs:property key="command" value="repack"/>
            </cs:properties>
            <cs:prerequisites>
                <cs:attribute name="site.feature.exports" alias="jar.folder"/>
            </cs:prerequisites>
            <cs:products base="${buckminster.output}/site.repacked/"/>
        </cs:private>
        <cs:private name="source.feature.jar" actor="ant">
            <cs:actorProperties>
                <cs:property key="buildFileId" value="buckminster.pdetasks"/>
                <cs:property key="targets" value="create.feature.jar"/>
            </cs:actorProperties>
            <cs:prerequisites alias="action.requirements">
                <cs:attribute name="source.manifest" alias="manifest"/>
            </cs:prerequisites>
            <cs:products alias="action.output" base="${buckminster.output}/source.jar/" fileCount="1" upToDatePolicy="COUNT"/>
        </cs:private>
    </cs:actions>
    <cs:groups>
        <cs:public name="bundle.jars">
            <cs:attribute name="bundle.jars" component="com.ena.swift.feature"/>
        </cs:public>
        <cs:public name="feature.exports" rebase="${buckminster.output}/site/">
            <cs:attribute name="copy.features"/>
            <cs:attribute name="copy.plugins"/>
        </cs:public>
        <cs:public name="feature.jars">
            <cs:attribute name="feature.jar"/>
            <cs:attribute name="feature.references"/>
        </cs:public>
        <cs:public name="feature.references">
            <cs:attribute name="feature.jars" component="com.ena.swift.feature"/>
        </cs:public>
        <cs:public name="product.configuration.exports">
            <cs:attribute name="product.configuration.exports" component="com.ena.swift.feature"/>
        </cs:public>
        <cs:public name="site.feature.exports" rebase="${buckminster.output}/site/">
            <cs:attribute name="copy.subfeatures"/>
            <cs:attribute name="copy.plugins"/>
        </cs:public>
        <cs:public name="source.bundle.jars" filter="(!(cbi.include.source=false))">
            <cs:attribute name="source.bundle.jars" component="com.ena.swift.feature"/>
        </cs:public>
        <cs:public name="source.feature.jars">
            <cs:attribute name="source.feature.jar"/>
            <cs:attribute name="source.feature.references"/>
        </cs:public>
        <cs:public name="source.feature.references" filter="(!(cbi.include.source=false))">
            <cs:attribute name="source.feature.jars" component="com.ena.swift.feature"/>
        </cs:public>
    </cs:groups>
</cs:cspec>


I have re-created a new project, I have removed the cpsecx, but still the same error.

Any clue ?

Sabri.
Re: The main feature is not found when buckminster build [message #541546 is a reply to message #541535] Mon, 21 June 2010 13:49 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
Hi Sabri,

Perhaps some info is cached somewhere. This cspec definitely includes the 'buckminster.clean' action. Did you try
restarting your IDE?

- thomas


On 06/21/2010 03:35 PM, Sabri Skhiri wrote:
> Hi Thomas,
>
> Yes I know for the feature included and in dependencies, I was trying a
> lot things when I was desperate, but notice that I am still. I have
> removed the dep. The Cspec looks good:
> <?xml version="1.0" encoding="UTF-8"?>
> <cs:cspec xmlns:cs="http://www.eclipse.org/buckminster/CSpec-1.0"
> name="com.ena.swift.feature.site" componentType="eclipse.feature"
> version="1.0.0.qualifier">
> <cs:dependencies>
> <cs:dependency name="com.ena.swift.feature"
> componentType="eclipse.feature"/>
> </cs:dependencies>
> <cs:generators>
> <cs:generator generates="com.ena.swift.feature.site.source"
> attribute="source.feature.jar" generatesType="eclipse.feature"/>
> </cs:generators>
> <cs:artifacts>
> <cs:private name="build.properties" path="build.properties"/>
> <cs:private name="raw.manifest" path="feature.xml"/>
> </cs:artifacts>
> <cs:actions>
> <cs:public name="buckminster.clean" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="delete.dir"/>
> </cs:actorProperties>
> <cs:properties>
> <cs:property key="dir.to.delete" value="${buckminster.output}/"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="buckminster.clean" component="com.ena.swift.feature"/>
> </cs:prerequisites>
> </cs:public>
> <cs:public name="manifest" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="expand.feature.version"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="raw.manifest" alias="manifest"/>
> <cs:attribute name="bundle.jars" alias="bundles"/>
> <cs:attribute name="feature.references" alias="features"/>
> <cs:attribute name="build.properties" alias="properties"/>
> </cs:prerequisites>
> <cs:products alias="action.output" base="${buckminster.output}/temp/">
> <cs:path path="feature.xml"/>
> </cs:products>
> </cs:public>
> <cs:public name="site.p2" actor="p2SiteGenerator">
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports" alias="site"
> filter="(&(!(site.pack200=true))(!(site.signing=true))) "/>
> <cs:attribute name="site.packed" alias="site"
> filter="(site.pack200=true)"/>
> <cs:attribute name="site.signed" alias="site"
> filter="(&(site.signing=true)(!(site.pack200=true)))"/ >
> <cs:attribute name="manifest" alias="site.definer"/>
> <cs:attribute name="product.configuration.exports"
> alias="product.configs"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.p2/"/>
> </cs:public>
> <cs:public name="site.p2.zip" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.site.zip"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="manifest" alias="manifest"/>
> <cs:attribute name="site.p2" alias="action.requirements"/>
> </cs:prerequisites>
> <cs:products alias="action.output" base="${buckminster.output}/"/>
> </cs:public>
> <cs:public name="site.packed" actor="jarProcessor" always="true">
> <cs:properties>
> <cs:property key="command" value="pack"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports" alias="jar.folder"
> filter="(!(site.signing=true))"/>
> <cs:attribute name="site.signed" alias="jar.folder"
> filter="(site.signing=true)"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.packed/"/>
> </cs:public>
> <cs:public name="site.signed" actor="ant" always="true">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.signing"/>
> <cs:property key="targets" value="sign.jars"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="site.repacked" filter="(site.pack200=true)"/>
> <cs:attribute name="site.feature.exports" filter="(!(site.pack200=true))"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site.signed/"/>
> </cs:public>
> <cs:public name="source.manifest" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.source.feature"/>
> </cs:actorProperties>
> <cs:prerequisites>
> <cs:attribute name="manifest" alias="manifest"/>
> <cs:attribute name="source.bundle.jars" alias="bundles"/>
> <cs:attribute name="source.feature.references" alias="features"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/temp/source/">
> <cs:path path="feature.xml"/>
> </cs:products>
> </cs:public>
> <cs:private name="copy.features" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="feature.jars"/>
> <cs:attribute name="source.feature.jars"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="copy.plugins" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="bundle.jars"/>
> <cs:attribute name="source.bundle.jars"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/plugins/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="copy.subfeatures" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="copy.group"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="feature.references"/>
> <cs:attribute name="source.feature.references"/>
> <cs:attribute name="feature.jar" filter="(site.include.top=true)"/>
> <cs:attribute name="source.feature.jar"
> filter="(&(site.include.top=true)(!(cbi.include.source=false))) "/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/site/features/" upToDatePolicy="MAPPER"/>
> </cs:private>
> <cs:private name="feature.jar" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.feature.jar"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="manifest" alias="manifest"/>
> </cs:prerequisites>
> <cs:products alias="action.output" base="${buckminster.output}/jar/"
> fileCount="1" upToDatePolicy="COUNT"/>
> </cs:private>
> <cs:private name="site.repacked" actor="jarProcessor" always="true">
> <cs:properties>
> <cs:property key="command" value="repack"/>
> </cs:properties>
> <cs:prerequisites>
> <cs:attribute name="site.feature.exports" alias="jar.folder"/>
> </cs:prerequisites>
> <cs:products base="${buckminster.output}/site.repacked/"/>
> </cs:private>
> <cs:private name="source.feature.jar" actor="ant">
> <cs:actorProperties>
> <cs:property key="buildFileId" value="buckminster.pdetasks"/>
> <cs:property key="targets" value="create.feature.jar"/>
> </cs:actorProperties>
> <cs:prerequisites alias="action.requirements">
> <cs:attribute name="source.manifest" alias="manifest"/>
> </cs:prerequisites>
> <cs:products alias="action.output"
> base="${buckminster.output}/source.jar/" fileCount="1"
> upToDatePolicy="COUNT"/>
> </cs:private>
> </cs:actions>
> <cs:groups>
> <cs:public name="bundle.jars">
> <cs:attribute name="bundle.jars" component="com.ena.swift.feature"/>
> </cs:public>
> <cs:public name="feature.exports" rebase="${buckminster.output}/site/">
> <cs:attribute name="copy.features"/>
> <cs:attribute name="copy.plugins"/>
> </cs:public>
> <cs:public name="feature.jars">
> <cs:attribute name="feature.jar"/>
> <cs:attribute name="feature.references"/>
> </cs:public>
> <cs:public name="feature.references">
> <cs:attribute name="feature.jars" component="com.ena.swift.feature"/>
> </cs:public>
> <cs:public name="product.configuration.exports">
> <cs:attribute name="product.configuration.exports"
> component="com.ena.swift.feature"/>
> </cs:public>
> <cs:public name="site.feature.exports"
> rebase="${buckminster.output}/site/">
> <cs:attribute name="copy.subfeatures"/>
> <cs:attribute name="copy.plugins"/>
> </cs:public>
> <cs:public name="source.bundle.jars"
> filter="(!(cbi.include.source=false))">
> <cs:attribute name="source.bundle.jars" component="com.ena.swift.feature"/>
> </cs:public>
> <cs:public name="source.feature.jars">
> <cs:attribute name="source.feature.jar"/>
> <cs:attribute name="source.feature.references"/>
> </cs:public>
> <cs:public name="source.feature.references"
> filter="(!(cbi.include.source=false))">
> <cs:attribute name="source.feature.jars"
> component="com.ena.swift.feature"/>
> </cs:public>
> </cs:groups>
> </cs:cspec>
>
> I have re-created a new project, I have removed the cpsecx, but still
> the same error.
>
> Any clue ?
>
> Sabri.
>
Re: The main feature is not found when buckminster build [message #541547 is a reply to message #541546] Mon, 21 June 2010 14:06 Go to previous message
Sabri Skhiri is currently offline Sabri SkhiriFriend
Messages: 43
Registered: February 2010
Member
Hi Thomas,

This is not the problem. Actually I have the issue from my IDE, I see in the console
Project refresh on com.ena.swift.feature.site failed: CSpec com.ena.swift.feature.site has no  action, group, or local artifact named buckminster.clean

But I manage to create the cspec, but my main point is whithin hudson and Buckminster in headless. The error I mentioned at the beginning of the thread was extracted from hudson, then, this is not a cache problem. Notice that I have already wiped out the workspace in hudson to be sure nothing is cached.
I am a bit lost.

Sabri.
Previous Topic:More than one rootRequest in the cquery-file?
Next Topic:product.ant where can I find example ?
Goto Forum:
  


Current Time: Fri Apr 26 14:41:13 GMT 2024

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

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

Back to the top