It's all about the answers!

Ask a question

Check-in workspace changes to Jazz repository


St Clair Clarke (662618) | asked Feb 03 '08, 1:56 p.m.
Hello,

I have managed to deliver some workspace code to a stream.

After that I created a test src package with a single src file and attempted to check this to the repository.

However, when I click the Team >> Check-in, nothing seems to happen. I don't see the gold-bar (cylinder) on the requested check-in package or src file?

Am I doing something wrong?

15 answers



permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 03 '08, 3:48 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Remember that by default, "auto-checkin" is on, so you never have to
explicitly checkin (every save is automatically checked-in, except for
files excluded by your .jazzignore patterns). You just "deliver" when
you are ready for your changes to be promoted from your workspace to
your stream.

Do you have a "black arrow" on the package and/or file? Is the
"deliver" action enabled? If so, the gold-bar will replace the black
arrow after you have delivered.

Note: I am assuming that this is a new pacakge and a new src file in a
project that is under jazz source control. So the project folder has
one of the Jazz SCM annotations (gold bar, black arrow, blue arrow, etc.)

Cheers,
Geoff (ClearCase Component team)

stclair wrote:
Hello,

I have managed to deliver some workspace code to a stream.

After that I created a test src package with a single src file and
attempted to check this to the repository.

However, when I click the Team >> Check-in, nothing seems to
happen. I don't see the gold-bar (cylinder) on the requested check-in
package or src file?

Am I doing something wrong?

permanent link
Jean-Michel Lemieux (2.5k11) | answered Feb 03 '08, 8:35 p.m.
JAZZ DEVELOPER
Geoff is correct about auto-checkin. If you want to turn this behavior off and control when things are checked-in, you can do this from the Team > Jazz Source Control > Auto Check-in.

permanent link
St Clair Clarke (662618) | answered Feb 03 '08, 10:52 p.m.
Hello Geoff,
Thanks.

But here is the sceario. I committed a simple RCP app in a src package. All these have a gold bar.

Afterwards, I created a test src folder for the src file. It is this test folder with a single package that I cannot get the gold bar to appear on.

I hope this makes it a little clearer.

Thanks.

permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 04 '08, 12:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Please post a screen-shot of what you see in the Navigator or Package
Explorer view, showing the test src folder and the src file.

(If you have trouble attaching the screen shot, please feel free to just
email it directly to me).

Cheers,
Geoff

stclair wrote:
Hello Geoff,
Thanks.

But here is the sceario. I committed a simple RCP app in a src
package. All these have a gold bar.

Afterwards, I created a test src folder for the src file. It is this
test folder with a single package that I cannot get the gold bar to
appear on.

I hope this makes it a little clearer.

Thanks.

permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 04 '08, 3:18 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
How did you create the "test" src folder ... did you just use the
Eclipse "New -> Source Folder" operation?
When I do that, I get the new source folder automatically put under
source control (annotated with a black arrow, indicating outgoing changes).

Try creating another source folder (say, "test2") with "New -> Source
Folder". That new source folder should be auto-checked in, and you
should see it marked with a black arrow (even before you've created any
files in it).

Cheers,
Geoff

stclair wrote:
Hello Geoff,
Thanks.

But here is the sceario. I committed a simple RCP app in a src
package. All these have a gold bar.

Afterwards, I created a test src folder for the src file. It is this
test folder with a single package that I cannot get the gold bar to
appear on.

I hope this makes it a little clearer.

Thanks.

permanent link
St Clair Clarke (662618) | answered Feb 04 '08, 7:59 p.m.
Hello gmclemm,
I actually created the test source exactly as you said initially and attempted it again with "test2" as you suggested with the same result - neither folders is placed under source control.

I then check and unched the auto-commit in Jazz team preference but with the same result.

Let me know what else to try please.

Thanks.

permanent link
Geoffrey Clemm (30.1k33035) | answered Feb 04 '08, 10:48 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
OK, I'm stumped (I cannot reproduce this behavior). Anyone on the Jazz
SCM team have a thought on what might be going on here?

One random thought ... I've upgraded to the I20080124-2012 integration
build. You might want to try downloading that, and see if that behavior
still exists in that later build.

Cheers,
Geoff (ClearCase Connector team)

stclair wrote:
Hello gmclemm,
I actually created the test source exactly as you said initially and
attempted it again with "test2" as you suggested with the
same result - neither folders is placed under source control.

I then check and unched the auto-commit in Jazz team preference but
with the same result.

Let me know what else to try please.

Thanks.

permanent link
Christophe Elek (2.9k13021) | answered Feb 05 '08, 3:42 a.m.
JAZZ DEVELOPER
Geoffrey Clemm <geoffrey.clemm@us.ibm.com> wrote in news:fo8m82$edi$1
@localhost.localdomain:

OK, I'm stumped (I cannot reproduce this behavior).

Me again, and yes you know what I will ask :D
Any way we could add trace in this component so in the future we know what
is happening ?

--
Christophe Elek
Serviceability Architect
IBM Software Group - Rational

permanent link
Jean-Michel Lemieux (2.5k11) | answered Feb 05 '08, 6:28 a.m.
JAZZ DEVELOPER
This could be a dupe of
https://jazz.net/jazz/web/projects/Jazz%20Project#action=com.ibm.team.workitem.viewWorkItem&id=39064.

If not, then something that would help is for you to record a small
video showing the problem. It's hard to follow exactly what steps
you took.

I've used http://www.jingproject.com/ with good success lately at
sharing small videos.

Jean-Michel
Jazz Source Control Team

Geoffrey Clemm wrote:
OK, I'm stumped (I cannot reproduce this behavior). Anyone on the Jazz
SCM team have a thought on what might be going on here?

One random thought ... I've upgraded to the I20080124-2012 integration
build. You might want to try downloading that, and see if that behavior
still exists in that later build.

Cheers,
Geoff (ClearCase Connector team)

stclair wrote:
Hello gmclemm,
I actually created the test source exactly as you said initially and
attempted it again with "test2" as you suggested with the
same result - neither folders is placed under source control.

I then check and unched the auto-commit in Jazz team preference but
with the same result.

Let me know what else to try please.

Thanks.

permanent link
Christophe Elek (2.9k13021) | answered Feb 05 '08, 10:18 a.m.
JAZZ DEVELOPER
Geoffrey Clemm <geoffrey.clemm@us.ibm.com> wrote in
news:foa2ft$1sp$1@localhost.localdomain:


Trace to what component? The Eclipse "add source folder" component?
The problem is that we are not seeing behavior we expect, so it
doesn't do any good to put a trace in the component that is not being
invoked (:-).

Cheers,
Geoff

Ummm, yeah... true

how does it work when the resource is created ? Do we get a delta
notification or does the Eclipse Team code manage that and we get nothing ?
If we are supposed to benotified b/c we listen to event in the project and
we are not, I agree it won't help...

When the customer does "I then check and unched the auto-commit in Jazz
team preference but with the same result." are we called at all ? If so,
are we checking changes in projects ?

Thanks Geoff :)


--
Christophe Elek
Serviceability Architect
IBM Software Group - Rational

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.