[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [buckminster-dev] Component Reader for Locally stored Java projects
|
Hi Sharma,
There are two readers that you can use depending on what behavior that
you desire:
'local'
is a reader that will do no materialization at all. It will just bind
what it finds to the workspace. I.e. no copying will be performed. This
reader is ideal when Buckminster takes part as a slave in a larger
build-system and the larger system already has checked everything out to
your local system.
Here's an example of a provider set up to use a local reader set up to
use the value of the 'mc.root' property as the root.
<rm:searchPath name="default">
<rm:provider readerType="local" componentType="eclipse-project"
mutable="true" source="true">
<pv:uri format="{0}/{1}">
<bc:propertyRef key="mc.root" />
<bc:propertyRef key="buckminster.component" />
</pv:uri>
</rm:provider>
</rm:searchPath>
'url.catalog'
Assumes that your component is found using a URL root. If you use 'file'
as the protocol for this URL, you will get a reader that will
materialize from your filesystem. In contrast to the 'local' reader,
this reader will perform a true materialization, i.e. copy the material.
Example:
<rm:searchPath name="default">
<rm:provider readerType="url.catalog"
componentType="eclipse.project" mutable="true" source="true">
<pv:uri format="file:/localhome/components/{0}">
<bc:propertyRef key="buckminster.component" />
</pv:uri>
</rm:provider>
</rm:searchPath>
Kind Regards,
Thomas Hallgren
Sharma, Jaikumar wrote:
Dear All,
I have a java project stored locally on my disk. I want to resolve and
materialize that project in eclipse.
My question is which Component Reader is to be used to resolve and
materialize the project ? Does anybody has any example of acheiving this ?
http://wiki.eclipse.org/index.php/Buckminster_Component_Reader
I can see many component readers, but no exmples yet.
Thanks for pointers!
Regards
- - - - - - - 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.
------------------------------------------------------------------------
_______________________________________________
buckminster-dev mailing list
buckminster-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/buckminster-dev