Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[buckminster-dev] Downloading source jars

Hi,
First of all, I apologize if this is not the correct place to ask this question. I attempted to ask this question via the newsgroup, but was unable to get my bugzilla account to log in to them.

I would like to materialize all of the projects my organization is maintaining to the workspace, and materialize the dependency jars (including source jars) to an external target installation. Presently, my scheme works, except I have been unable to materialize the source jars to the target. Buckminster is being invoked by right clicking on the mspec file and selecting "Import". The rmap below is one of two rmaps thats aggregated to actually run the query. The other rmap uses a filter pattern for "com\.myArtifacts\.", and the eclipse plugins rmap is used as a "catch all". The other files (and the rmap). The dependencies on eclipse artifacts are declared in the bundle MANIFEST.MF's for my artifacts. I have tried setting "cbi.include.source=true" in the CQUERY properties section as well.

<?xml version="1.0" encoding="UTF-8"?>
<md:mspec xmlns:md="http://www.eclipse.org/buckminster/MetaData-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.eclipse.org/buckminster/MetaData-1.0 http://www.eclipse.org/buckminster/schemas/metadata-1.0.xsd"
materializer="p2"
installLocation="${user.home}/my-target"
name="com.myArtifacts.root:osgi.bundle:1.0.0.qualifier"
url="">
<md:mspecNode materializer="workspace"  conflictResolution="UPDATE" namePattern="com\.myArtifacts\.*">
</md:mspecNode>
</md:mspec>

and the CQUERY

<?xml version="1.0" encoding="UTF-8"?>
<cq:componentQuery xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0" resourceMap="workspace_and_target.rmap" properties="testapp_locations.properties" shortDesc="Using This CQUERY">
    <cq:documentation xmlns="http://www.w3.org/1999/xhtml"></cq:documentation>
    <cq:rootRequest name="com.myArtifacts.root" componentType="osgi.bundle"/>
    <cq:property key="target.arch" value="*"/>
    <cq:property key="target.os" value="*"/>
    <cq:property key="target.ws" value="*"/>
    <cq:advisorNode namePattern=".*" sourceLevel="DESIRE" useTargetPlatform="false" useWorkspace="false"/>
    <cq:advisorNode namePattern="com\.myArtifacts\..*" mutableLevel="REQUIRE" sourceLevel="REQUIRE" useTargetPlatform="false"/>
</cq:componentQuery>

and finally, the relevant RMAP

<?xml version="1.0" encoding="UTF-8"?>
<searchPath name="org.eclipse.galileo.updates">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
mutable="false" source="false">
</provider>
</searchPath>
<searchPath name="org.eclipse.galileo.download">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
mutable="false" source="true">
</provider>
</searchPath>
<searchPath name="org.eclipse.galileo.buckminster">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
mutable="false" source="false">
</provider>
</searchPath>
<searchPath name="org.eclipse.galileo.epp">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
mutable="false" source="false">
</provider>
</searchPath>
<searchPath name="org.eclipse.swtbot">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
mutable="false" source="false">
<uri
</provider>
</searchPath>
<searchPath name="org.tigris.subclipse">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
mutable="false" source="false">
</provider>
</searchPath>
<searchPath name="edu.umd.cs.findbugs">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
mutable="false" source="false">
</provider>
</searchPath>
<searchPath name="org.eclipse.orbit">
<provider readerType="eclipse.import" componentTypes="osgi.bundle,eclipse.feature"
mutable="false" source="false">
</provider>
</searchPath>
<locator searchPathRef="org.eclipse.galileo.buckminster"
pattern="org\.eclipse\.buckminster(\..*)?" />
<locator searchPathRef="org.eclipse.swtbot"
pattern="org\.eclipse\.swtbot(\..*)?" />
<locator searchPathRef="org.tigris.subclipse" pattern="org\.tigris(\..*)?" />
<locator searchPathRef="edu.umd.cs.findbugs" pattern="edu\.umd\.cs\.findbugs(\..*)?" />
<locator searchPathRef="org.eclipse.galileo.epp" failOnError="false" />
<locator searchPathRef="org.eclipse.galileo.updates"
failOnError="false" />
<locator searchPathRef="org.eclipse.galileo.download" failOnError="false" />
<locator searchPathRef="org.eclipse.orbit" />
</rmap>


Back to the top