Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Buckminster » How to change default materialize to plugins and features directory within workspace
How to change default materialize to plugins and features directory within workspace [message #551201] Thu, 05 August 2010 15:04 Go to next message
Geejay is currently offline GeejayFriend
Messages: 160
Registered: February 2010
Senior Member
I am materializing to a workspace inside Eclipse, and I have noticed
Buckminster places features in a "features" subdirectory and plugins to a
"plugins" subdirectory. Whats the best way to change this behaviour so
plugins and features are all just placed into the workspace root?

--Buckminster 3.6, Eclipse 3.6
Re: How to change default materialize to plugins and features directory within workspace [message #551337 is a reply to message #551201] Fri, 06 August 2010 05:16 Go to previous messageGo to next message
Thomas Hallgren is currently offline Thomas HallgrenFriend
Messages: 3240
Registered: July 2009
Senior Member
On 08/05/2010 05:04 PM, geejay wrote:
> I am materializing to a workspace inside Eclipse, and I have noticed
> Buckminster places features in a "features" subdirectory and plugins to
> a "plugins" subdirectory. Whats the best way to change this behaviour so
> plugins and features are all just placed into the workspace root?
>
You can alter the materialization behavior using the mspec. The reason for the physical placement is to avoid collisions
when features and plugins have the same names.

HTH,
- thomas
Re: How to change default materialize to plugins and features directory within workspace [message #735171 is a reply to message #551337] Tue, 11 October 2011 07:18 Go to previous messageGo to next message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
Thomas Hallgren wrote on Fri, 06 August 2010 01:16
On 08/05/2010 05:04 You can alter the materialization behavior using the mspec.


I was trying to find an example for this, but couldn't.
Looking at the simple mspec

<?xml version="1.0" encoding="UTF-8"?>
<md:mspec xmlns:md="http://www.eclipse.org/buckminster/MetaData-1.0" materializer="workspace" name="Materialize_components" url="Materialize.cquery" conflictResolution="UPDATE">
</md:mspec>


What changes are needed to materialize directly into the workspace root without creating plugins/features folders?

Once the mspec works: is it possible to bind the rmap to a cquery in a way that I just open the cquery, change the 'component name' and hit 'resolve and materialize'? Would be easier than changing the cquery, saving, import mspec.
Re: How to change default materialize to plugins and features directory within workspace [message #736063 is a reply to message #735171] Thu, 13 October 2011 13:32 Go to previous messageGo to next message
Matthew Webber is currently offline Matthew WebberFriend
Messages: 198
Registered: December 2010
Senior Member
We looked at using an mspec at one point, but it was all a bit messy. I think that Buckminster only imports to features/ and plugins/ when it's importing from subversion. We're in the process of moving to Git, which doesn't behave like that.
Matthew
Re: How to change default materialize to plugins and features directory within workspace [message #736703 is a reply to message #736063] Fri, 14 October 2011 08:46 Go to previous message
Christian Pontesegger is currently offline Christian PonteseggerFriend
Messages: 250
Registered: July 2009
Location: Graz, Austria
Senior Member
Matthew Webber wrote on Thu, 13 October 2011 09:32
We're in the process of moving to Git, which doesn't behave like that.


Unfortunately this isn't an option for me as I am stuck with SVN. I guess I will try the mailing list. If this isn't possible with svn then I'll file a bug for that.

Previous Topic:Associate sites
Next Topic:StackOverflowError
Goto Forum:
  


Current Time: Tue Mar 19 09:38:52 GMT 2024

Powered by FUDForum. Page generated in 0.02548 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top