ClearCase connector for M4
Hi,
How can we obtain the CC connector for M4 ? BR Lars |
26 answers
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 04 '07, 3:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The ccuser is a TeamConcert user, not a ClearCase user.
The ClearCase user for the sync process is the OS identity of whoever executed the syncengine.startup.bat file. Cheers, Geoff xuser wrote: Hi, |
And note that it's "ccsync", not "ccuser". You have to use that exact text
or it won't work. Brian "xuser" <xuser@home.org> wrote in message news:fj4a6h$773$2@localhost.localdomain... Hi, |
There seems to be no -mvfsroot option for pwv, at least on my system. But I can do
cleartool> pwv -root M:\zachrolo_jazz-test _if_ I first cd into a view. BR //OLof Yes, the "null" in the pathname is bad. It should be the mvfsroot, i.e. |
Geoffrey Clemm <geoffrey.clemm@us.ibm.com> wrote in
news:fj6jn8$6mt$2@localhost.localdomain: Hopefully, we can adjust our use of cleartool so we can work with v6.x Geoff, is it worth adding an explanation to the error message before beta 2 ? Something like ********* Unexpected Error Message Reason: An InvocationTargetException was thrown while 'Fetching children of workspace...' Details: java.lang.reflect.InvocationTargetException Could not list files for the pathname:null/jazz_test_JAZZ_TEST_BASE_8dbfd.... "cleartool pwv -mvfsroot" returns 'null' Ensure you are using ClearCase version 7 ******** I will create a work item once we confirm this: An InvocationTargetException was thrown while 'Fetching children of workspace...' Means we do not have CC7 installed Thoughts ? -- Christophe Elek Serviceability Architect IBM Software Group - Rational |
I tried executing this syncengine.startup.bat file from the command line, and it did get the ClearCase syncronization started. However, in the online docs, another way of starting the synchronization build engine are suggested. I tried:
jbe -repository http://localhost:9080/jazz -userId ccsync -engineId CcSyncEngine -sleep 1 The result seems to be the same however: syncronization starts but failes. Still I guess the jbe way is the right way to start the synchronization build engine? But there is a related issue regarding the build engine and tools.jar. Both syncengine.startup.bat end the jbe command above produces a "Unable to locate tools.jar" message in the build log. Now, TeamConcert-0.6M4 contains an JDK (and thus tools.jar) but jbe is not aware of that. After searching the forum I found the following workaround: jbe -vm ..\..\..\client\eclipse\jdk\bin\java.exe -repository http://localhost:9080/jazz -userId ccsync -engineId CcSyncEngine -sleep 1 This feels very awkward. But for now, could someone please confirm that this is a correct way of starting the CcSyncEngine? And it doesn't end there. The jbe command produces the following output: 2007-12-05 14:41:53 Running build loop... 2007-12-05 14:41:53 Waiting for request... log4j:WARN No appenders could be found for .params.DefaultHttpParams). log4j:WARN Please initialize the log4j syst 2007-12-05 14:43:00 Found a request for bui JAZZ_TEST_BASE_16.54.43". 2007-12-05 14:43:23 Waiting for request... Is there an additional step regarding log4j that I've missed? Or could I simply ignore these warnings? BR //OLof The ccuser is a TeamConcert user, not a ClearCase user. |
So I've started my CcSyncEngine, the syncronization runs but failes with the following in the log file:
--- java.lang.IllegalStateException: CCaseLib has not been initialized at com.ibm.rational.wvcm.ct.CCaseLib.getMvfsRoot(CCaseLib.java:100) at com.ibm.rational.wvcm.ct.CTLocation.parent(CTLocation.java:111) at com.ibm.rational.wvcm.ct.CTLocation.parent(CTLocation.java:1) at com.ibm.rational.wvcm.interop.InteropStream.internalSetCloneRoots(InteropStream.java:2226) at com.ibm.rational.wvcm.interop.InteropStream.sync(InteropStream.java:2815) at com.ibm.team.connector.scm.task.ConnectorTasks.synchronizeStream(ConnectorTasks.java:151) at com.ibm.team.connector.scm.task.ConnectorTasks.doExecute(ConnectorTasks.java:82) at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:341) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) BUILD FAILED C:\jazz\TeamConcert-0.6M4-win32\jazz\buildsystem\buildtoolkit\ScmConnectors\buildfile.xml:39: java.lang.IllegalStateException: CCaseLib has not been initialized --- Seems it fails in getMvfsRoot. Could this be related to my other problem, not being able to browse for CC paths? BR //OLof |
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 05 '07, 11:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
The two warning messages you see can be ignored (we'll add this to the
beta2 documentation). In particular, the "unable to locate tools.jar" is just a message from ant, but sync doesn't use anything from tools.jar, so this is not a problem. Also, the "log4j missing appenders" can be ignored, since we don't currently send anything interesting to the log4j logger. The real problem is the fact that "cleartool pwv -mvfsroot" isn't supported on your system (that's what is causing the sync to fail). I'll check with our cleartool guru, but it sounds like the -mvfsroot option may not be supported on older versions of CC, and we need instead to just strip this value out of the "cleartool pwv" command. I'll get back to you soon on that. Cheers, Geoff oloza wrote: I tried executing this syncengine.startup.bat file from the command |
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 05 '07, 11:28 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Yes, this is the result of the same problem you saw before ... failure
of the getMvfsRoot function. A fix for that will fix both of the problems you have encountered. We'll have this fixed by beta2 (which happily is only a couple of weeks away). And we *really* appreciate you giving the M4 bits a whirl, so we could get this problem uncovered and fixed for beta2! Cheers, Geoff oloza wrote: So I've started my CcSyncEngine, the syncronization runs but failes |
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 05 '07, 11:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hopefully, we can adjust our use of cleartool so we can work with v6.x
versions of ClearCase (stay tuned on that), but until then, if you can get access to a v7.x version of ClearCase, please retry on a v7.x version. Cheers, Geoff Rob Stanzel wrote: oloza wrote: |
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 05 '07, 11:28 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
We're going to fix this in beta2 so that it it tries the standard
defaults (M: on windows, /views on Unix) if the user has a version of cleartool that doesn't support the -mvfsroot option, so it will work on pre-V7 versions of ClearCase. Cheers, Geoff Christophe Elek wrote: Geoffrey Clemm <geoffrey.clemm@us.ibm.com> wrote in |
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.