It's all about the answers!

Ask a question

visual studio 2010 build fails in RTC 4.0


Onkelinx Ghislain (5896) | asked Jun 25 '12, 5:31 p.m.
retagged Jun 26 '12, 8:58 a.m. by Evan Hughes (2.4k1318)
Hello,

when we try to build our project in RTC 4.0 we becomming always the same error message (see below)
we have configurated the build engine and build definition following the document: https://jazz.net/library/article/518

Its does not works in RTC 4.0, but in RTC 3.0 its works very fine.

How we can resolve this issue??

2012-06-25 23:22:29 [Jazz build engine]
2012-06-25 23:22:29 [Jazz build engine] Substituted the following build property variables:
2012-06-25 23:22:29 [Jazz build engine]     team.scm.fetchDestination = ${outputRootDirectory}\${buildLabel}   -->   team.scm.fetchDestination = G:\RTCBuilds\DalLogger\C20120625-2322
...............
/property:javaHome="${javaPath}" /property:antJarPath="G:\IBM\TeamConcertBuild\buildsystem\buildengine\eclipse\plugins\org.apache.ant_1.7.1.v20100518-1145\lib\ant-launcher.jar" /property:jazzBuildToolkit="G:\IBM\TeamConcertBuild\buildsystem\buildtoolkit"-E_o_T-DalLogger_2010_build.log-E_o_T-G:\RTCBuilds\DalLogger\C20120625-2322\DalLoggerSolution-E_o_B_i-
2012-06-25 23:22:29 [Jazz build engine]
2012-06-25 23:22:29 [Jazz build engine] running on host: DALServer
2012-06-25 23:22:29 [Jazz build engine] Should build occur?
2012-06-25 23:22:29 [Jazz build engine] Yes: Always build a user initiated request.
2012-06-25 23:22:30 [Jazz build engine] Invoking pre-build participant "com.ibm.team.build.jazzscm"
2012-06-25 23:22:31 [Jazz build engine] Deleting fetch destination "G:\RTCBuilds\DalLogger\C20120625-2322" before fetching ...
2012-06-25 23:22:32 [Jazz build engine] Fetching files to fetch destination "G:\RTCBuilds\DalLogger\C20120625-2322" ...
com.ibm.team.build.internal.scm.SourceControlUtility$3: Status ERROR: com.ibm.team.filesystem.client code=0 Cannot create sandbox at G:/RTCBuilds/DalLogger/C20120625-2322 because one already exists at G:/RTCBuilds null
    at com.ibm.team.build.internal.scm.SourceControlUtility.updateFileCopyArea(SourceControlUtility.java:685)
    at com.ibm.team.build.internal.engine.JazzScmPreBuildParticipant.preBuild(JazzScmPreBuildParticipant.java:238)
    at com.ibm.team.build.internal.engine.BuildLoop.invokePreBuildParticipants(BuildLoop.java:889)
    at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:693)
    at java.lang.Thread.run(Unknown Source)

Accepted answer


permanent link
Evan Hughes (2.4k1318) | answered Jun 26 '12, 8:57 a.m.
JAZZ DEVELOPER
There is a .jazz5 directory at G:/RTCBuilds. Try deleting that and rerunning. 

The .jazz5 directory is the Jazz source control metadata directory. It is placed at the root of a sandbox (ie, a loaded filesystem). We don't allow sandboxes to be nested within each other, so you're getting an error because you already have a sandbox at G:/RTCBuilds when you are creating a sandbox at G:/RTCBuilds/DalLogger/C20120625-2322.
Onkelinx Ghislain selected this answer as the correct answer

Comments
Onkelinx Ghislain commented Jun 26 '12, 6:35 p.m. | edited Jun 27 '12, 9:21 a.m.

Dear,

Many thanks for the answer.
The build engine works very fine.....


Ben Best commented Jan 07 '13, 9:01 a.m.

Thanks for posting this, I had just spent an hour or so trying to figure out why after our upgrade builds had stopped working.


Ben

PS should it be relevant we are using eclipse, so this isn't a visual studio issue.


Evan Hughes commented Jan 07 '13, 9:39 a.m.
JAZZ DEVELOPER

Yeah, it's a build engine problem, so the answer is relevant regardless of the IDE you're running.  

Your answer


Register or to post your answer.