[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [buckminster-dev] CQuery and "svn update" operation
|
Thanks, Thomas.
I just want to say that Buckminster has turned our eclipse headless
build from a nightmare to set up to nearly a pleasure. It took us about
two man-weeks to set up the traditional Eclipse headless build. It took
us about one man-day to reach the same state with Buckminster. Thanks!
Keep up the good work.
-----Original Message-----
From: buckminster-dev-bounces@xxxxxxxxxxx
[mailto:buckminster-dev-bounces@xxxxxxxxxxx] On Behalf Of Thomas
Hallgren
Sent: Wednesday, September 24, 2008 3:24 AM
To: Buckminster developer discussions
Subject: Re: [buckminster-dev] CQuery and "svn update" operation
Hi Mark,
The MSPEC approach does not work properly at present (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=192657) but you can still
make it happen. If
you define an AdvisorNode in you cquery that covers the components in
question and where
you prohibit resolution against the workspace, then SVN check-outs will
be made always.
The check-out command will detect the current content and perform an
update.
Regards,
Thomas Hallgren
Addleman, Mark J wrote:
> Hi, folks -
>
>
>
> We're trying to hook up Buckminster to do our headless build. We'd
like
> Buckminster to control as much of the process as possible including
> checking out from Subversion. It appears that Buckminster does a
great
> job of checking out from Subversion into a clean workspace but it does
> not perform the equivalent of an "svn update" if the necessary
projects
> already exist in the workspace.
>
>
>
> From the documentation, it looks like an MSpec has a
conflictResolution
> node that will perform an update, but we can't get that to work,
either.
>
>
>
> Below is our CQuery:
>
>
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <cq:componentQuery
> xmlns:cq="http://www.eclipse.org/buckminster/CQuery-1.0"
>
resourceMap="file:/C:/Documents%20and%20Settings/ADDMA03/Desktop/m365.rm
ap">
>
> <cq:rootRequest name="m365.reports" componentType="osgi.bundle"/>
>
> </cq:componentQuery>
>
>
>
> Here is our RMap:
>
> <?xml version="1.0" encoding="UTF-8"?>
>
> <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:bc="http://www.eclipse.org/buckminster/Common-1.0">
>
>
>
> <searchPath name="m365">
>
> <provider
>
> readerType="svn"
>
> componentTypes="eclipse.feature,osgi.bundle"
>
> source="true" mutable="true">
>
> <uri
>
> format="https://machine/svn/m365subversion/trunk/{0}">
>
> <bc:propertyRef key="buckminster.component" />
>
> </uri>
>
> </provider>
>
> </searchPath>
>
>
>
> <locator searchPathRef="m365" pattern="^lib.*" />
>
> <locator searchPathRef="m365" pattern="^m365.*" />
>
> <locator searchPathRef="m365" pattern="^com.*" />
>
> <locator searchPathRef="m365" pattern="^org.apache.commons.dbcp" />
>
> <locator searchPathRef="m365" pattern="^wily.*" />
>
>
>
> <redirect
>
>
href="http://www.eclipse.org/buckminster/samples/rmaps/dogfood2.rmap"
>
> pattern=".*" />
>
> </rmap>
>
>
>
>
>
>
>
>
>
_______________________________________________
buckminster-dev mailing list
buckminster-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/buckminster-dev