It's all about the answers!

Ask a question

Repository Workspace -- machine specific files?


Joseph Firebaugh (61) | asked Oct 28 '09, 12:56 p.m.
I am new to RTC and am trying to setup a local build environment for our project. I was currious if there was a way to have versions of files or new unique files that are only "members" of a personal Repoitory Workspace.

Say we have an ANT build with a properties file that points to the location of pre-reqs and the like -- would it be possible for our team to have different versions of that file only in their Repository Workspace? And lets say a few of them write some personal productivity scripts unique to their environment -- can they also check those in and they not be part of the main stream?

Thanks in advance,
Joe

4 answers



permanent link
David Olsen (5237) | answered Oct 29 '09, 5:58 p.m.
JAZZ DEVELOPER
jfirebau wrote:
I am new to RTC and am trying to setup a local build environment for
our project. I was currious if there was a way to have versions of
files or new unique files that are only "members" of a
personal Repoitory Workspace.

Say we have an ANT build with a properties file that points to the
location of pre-reqs and the like -- would it be possible for our
team to have different versions of that file only in their Repository
Workspace? And lets say a few of them write some personal
productivity scripts unique to their environment -- can they also
check those in and they not be part of the main stream?

Not easily. In theory you could remember to never deliver the change
set with your workspace specific changes. But that's too annoying and
too error prone to be practical.

If you could keep all the workspace specific change in a single SCM
component dedicated for that purpose, you could configure your workspace
to not flow that component with your stream. So RTC wouldn't prompt you
to deliver those changes. The setup is a little complicated, but it's a
one-time only setup. But I still don't think it will work well enough
to be worth doing unless you are desperate.

permanent link
Evan Hughes (2.4k1318) | answered Oct 30 '09, 10:17 a.m.
JAZZ DEVELOPER
I am new to RTC and am trying to setup a local build environment for our project. I was currious if there was a way to have versions of files or new unique files that are only "members" of a personal Repoitory Workspace.


Hi Joe,

It depends on your filesystem layout, but it could be really easy.

For example, many of the RTC developers have their own .launch files for eclipse. We don't want to share these with other users, because they have machine-specific paths or settings in them. The way we handle that is to create a 'Launches' remote workspace. We create a 'launches' project in RTC and share that with the workspace. Since the workspace doesn't flow anywhere, there's no risk of the changes ever leaking to other developers.

Would that work for you?

e

permanent link
Andrew Hoo (1.0k1) | answered Oct 30 '09, 10:21 a.m.
JAZZ DEVELOPER
What I do is I keep a second Repository Workspace and component just for
myself that contains nothing except for my own eclipse launches, etc. This
repository workspace does not flow to any streams. So in my pending
changes view I have both my 'Personal Repository Workspace' and my normal
'Development Repository Workspace -> flows to stream' loaded.

But my launches do not need to nested in the same folder hierarchy as the
rest of my other development repository workspace, which keeps things
simple.

On Wed, 28 Oct 2009 13:08:00 -0400, jfirebau
<jfirebau> wrote:

I am new to RTC and am trying to setup a local build environment for
our project. I was currious if there was a way to have versions of
files or new unique files that are only "members" of a
personal Repoitory Workspace.

Say we have an ANT build with a properties file that points to the
location of pre-reqs and the like -- would it be possible for our
team to have different versions of that file only in their Repository
Workspace? And lets say a few of them write some personal
productivity scripts unique to their environment -- can they also
check those in and they not be part of the main stream?

Thanks in advance,
Joe



--

permanent link
Joseph Firebaugh (61) | answered Oct 30 '09, 10:43 a.m.
Andrew,

This sounds like an interesting approach ... I'm going to have to try to digest it though as I'm still a newbie with the RTC jargon. If you got this idea from some web based help I would love to be able to read the details to get familiar with the setup.

Thanks!


Hi Joe,

It depends on your filesystem layout, but it could be really easy.

For example, many of the RTC developers have their own .launch files for eclipse. We don't want to share these with other users, because they have machine-specific paths or settings in them. The way we handle that is to create a 'Launches' remote workspace. We create a 'launches' project in RTC and share that with the workspace. Since the workspace doesn't flow anywhere, there's no risk of the changes ever leaking to other developers.

Would that work for you?

e

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.