Skip to main content

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

Ed,

The Buckminster newsgroup would have been the right place to ask. You'll need 
to register for a separate newsgroup account under [1] for nntp access. You 
can also use the web front-end under [2], where your Bugzilla account should 
work. That said, I just noticed that I can't login with by Bugzilla account, 
either. Looks like a bug, see [3].

Regarding your question: If you want to materialize source bundles, you'll 
have to specify an explicit dependency. Buckminster analyzes the dependencies 
of all your artifacts and materializes exactly what is required - no more and 
no less.

I typically have an explicit definition (i.e. component) for my target platform 
that includes the SDK features of my required components,

Cheers,
 Achim

[1] http://eclipse.org/newsgroups/register.php
[2] http://www.eclipse.org/forums/
[3] https://bugs.eclipse.org/bugs/show_bug.cgi?id=304169

On Thursday 2010-03-04 15:50:21 Ed Kohlwey wrote:
> 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="workspace_and_target.cquery">
> <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"?>
> <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";>
> <searchPath name="org.eclipse.galileo.updates">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="
> http://download.eclipse.org/eclipse/updates/3.5?importType=source"; />
> </provider>
> </searchPath>
> <searchPath name="org.eclipse.galileo.download">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="true">
> <uri
>  format="http://download.eclipse.org/releases/galileo?importType=source"; />
> </provider>
> </searchPath>
> <searchPath name="org.eclipse.galileo.buckminster">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="
> http://download.eclipse.org/tools/buckminster/updates-3.5?importType=source
> " />
> </provider>
> </searchPath>
> <searchPath name="org.eclipse.galileo.epp">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="
> http://download.eclipse.org/technology/epp/packages/galileo?importType=sour
> ce" />
> </provider>
> </searchPath>
> <searchPath name="org.eclipse.swtbot">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri
> format="
> http://download.eclipse.org/technology/swtbot/galileo/dev-build/update-site
> ?importType=source" />
> </provider>
> </searchPath>
> <searchPath name="org.tigris.subclipse">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="http://subclipse.tigris.org/update_1.6.x?importType=source"; />
> </provider>
> </searchPath>
> <searchPath name="edu.umd.cs.findbugs">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="http://findbugs.cs.umd.edu/eclipse?importType=source"; />
> </provider>
> </searchPath>
> <searchPath name="org.eclipse.orbit">
> <provider readerType="eclipse.import"
> componentTypes="osgi.bundle,eclipse.feature"
> mutable="false" source="false">
> <uri format="
> http://download.eclipse.org/tools/orbit/downloads/drops/R20100114021427/upd
> ateSite?importType=source" />
> </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