Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [buckminster-dev] New version of Buckminster Book available (rev0.5)

When talking about svn branches i read that one should use the versionOverride (1) in combination with the rmap (2) of this form (see below).
This is very slow because it seems like buckminster visits all branches in order to find the best match, which is useless as i typically want one single branch (no need to do a find-best-match).
So it's much faster to have a specific rmap for each branch this (3) (and leave the .cquery alone, without the advisor nodes).
Can you comment on this please? Is it okay to do so, or not?

(3) my faster branch-specific rmap

	<rm:searchPath name="bundle">
		<rm:provider readerType="svn" componentTypes="osgi.bundle" mutable="false" source="true">
			<rm:uri format="http://.../svn/software/branches/branchname/{0}?moduleAfterBranch";>
				<bc:propertyRef key="buckminster.component" />
			</rm:uri>
		</rm:provider>
	</rm:searchPath>



(1) the example from the documentation

    <cq:advisorNode namePattern="com.mycompany.*" useTargetPlatform="false" versionOverride="raw:['branchname','branchname']/format(S):branchname,branchname"/>

(2)

	<rm:searchPath name="cspec">
		<rm:provider readerType="svn" componentTypes="buckminster" mutable="false" source="true">
			<rm:uri format="http://.../svn/software/trunk/{0}?moduleAfterBranch";>
				<bc:propertyRef key="buckminster.component" />
			</rm:uri>
			<rm:versionConverter type="branch">
				<rm:transform fromPattern="^(.*)$" fromReplacement="$1" toPattern="^(.*)$" toReplacement="$1" />
			</rm:versionConverter>
		</rm:provider>
		<rm:provider readerType="svn" componentTypes="buckminster" mutable="false" source="true">
			<rm:uri format="http://.../svn/software/trunk/{0}?moduleAfterTag";>
				<bc:propertyRef key="buckminster.component" />
			</rm:uri>
			<rm:versionConverter type="tag">
				<rm:transform fromPattern="^(.*)$" fromReplacement="$1" toPattern="^(.*)$" toReplacement="$1" />
			</rm:versionConverter>
		</rm:provider>
	</rm:searchPath>


DISCLAIMER:
Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.

<<winmail.dat>>


Back to the top