It's all about the answers!

Ask a question

requesting build fails


iris wang (662313) | asked May 12 '09, 9:51 p.m.
Hi all,
I tried to follow the steps described in "The Jazz Tutorial | Using Build", I created the build script and build description and then the build engine, but when I request the build, it prompts that there're some errors. I'd like to know how to trouble shoot the failure? Is that because I didn't check in the change of creating the new build script "build.xml"? But in the "pending change" tab it prompts that there's "no change"... and the build engine is running correctly I think...
Below is the info from the build engine and the log info when requesting the build. Thanks so much. :)

--------------------------------
C:\jazz\buildsystem\buildengine\eclipse>jbe -repository https://localhost:9443/j
azz/ -userId chris -pass chris -engineId chris
2009-05-12 20:55:29 Running build loop...
2009-05-12 20:55:29 Waiting for request...
2009-05-12 21:29:21 Found a user request for build definitio
n "iris project1 Team build".
---------------------------------------------
2009-05-12 21:29:21 Should build occur?
2009-05-12 21:29:21 Yes: Always build a user initiated request.
2009-05-12 21:29:23 Invoking pre-build participant "com.ibm.team.build.jazzscm"
Accepting changes into workspace "Chris on iris project1 Team Stream Workspace" ...
Fetching files to fetch destination "C:\jazz\buildsystem\buildengine\eclipse\fetched" ...
2009-05-12 21:29:48 Invoking build participant "com.ibm.team.build.ant"
com.ibm.team.build.internal.engine.InvalidPropertyValueException: CRRTC3512E: The location "C:\jazz\buildsystem\buildengine\eclipse\fetched\iris project1\build.xml" referenced by property "com.ibm.team.build.ant.buildFile" does not exist.
at com.ibm.team.build.internal.engine.AntBuildParticipant.getBuildFile(AntBuildParticipant.java:428)
at com.ibm.team.build.internal.engine.AntBuildParticipant.validateBuildFile(AntBuildParticipant.java:79)
at com.ibm.team.build.internal.engine.AntBuildParticipant.validateProperties(AntBuildParticipant.java:65)
at com.ibm.team.build.internal.engine.CommandLineBuildParticipant.build(CommandLineBuildParticipant.java:71)
at com.ibm.team.build.internal.engine.BuildLoop.invokeBuildParticipants(BuildLoop.java:601)
at com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:432)
at java.lang.Thread.run(Thread.java:619)

3 answers



permanent link
Ralph Schoon (63.3k33646) | answered May 12 '09, 10:32 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Hello cactuswzh,

not being the expert here, I wouls recommend to use the build user with eclipse
to connect to the project.
Try loading the repository workspace that is set up for the build. Is the
build.xml available?

If not, please be aware that "check in" in RTC means to move a local change
into the repository workspace of the user.
Repository work spaces can flow to streams. A stream is where code is shared
within a team. To get the change there the repository workspace needs to
have the stream set as target and deliver the changes there.

The build system picks up these changes using the build users repository
workspace. The complete repository workspace is typically loaded to some
location and then the build starts.

Potential other issues might be the location you configured to load that
workspace is different from what is used in the ant area to start the build
- please check on the server running the build engine that the repository
work space is loaded to the correct desired location and the ANT tab really
points there.

Hope that helps,

Ralph

Hi all,
I tried to follow the steps described in "The Jazz Tutorial |
Using Build", I created the build script and build description
and then the build engine, but when I request the build, it prompts
that there're some errors. I'd like to know how to trouble shoot the
failure? Is that because I didn't check in the change of creating the
new build script "build.xml"? But in the "pending
change" tab it prompts that there's "no change"... and
the build engine is running correctly I think...
Below is the info from the build engine and the log info when
requesting the build. Thanks so much. :)
--------------------------------
C:\jazz\buildsystem\buildengine\eclipse>jbe -repository
https://localhost:9443/j
azz/ -userId chris -pass chris -engineId chris
2009-05-12 20:55:29 Running build loop...
2009-05-12 20:55:29 Waiting for request...
2009-05-12 21:29:21 Found a user request for build
definitio
n "iris project1 Team build".
---------------------------------------------
2009-05-12 21:29:21 Should build occur?
2009-05-12 21:29:21 Yes: Always build a user
initiated request.
2009-05-12 21:29:23 Invoking pre-build participant
"com.ibm.team.build.jazzscm"
Accepting changes into workspace "Chris on iris project1 Team
Stream Workspace" ...
Fetching files to fetch destination
"C:\jazz\buildsystem\buildengine\eclipse\fetched" ...
2009-05-12 21:29:48 Invoking build participant
"com.ibm.team.build.ant"
com.ibm.team.build.internal.engine.InvalidPropertyValueException:
CRRTC3512E: The location
"C:\jazz\buildsystem\buildengine\eclipse\fetched\iris
project1\build.xml" referenced by property
"com.ibm.team.build.ant.buildFile" does not exist.
at
com.ibm.team.build.internal.engine.AntBuildParticipant.getBuildFile(An
tBuildParticipant.java:428)
at
com.ibm.team.build.internal.engine.AntBuildParticipant.validateBuildFi
le(AntBuildParticipant.java:79)
at
com.ibm.team.build.internal.engine.AntBuildParticipant.validatePropert
ies(AntBuildParticipant.java:65)
at
com.ibm.team.build.internal.engine.CommandLineBuildParticipant.build(C
ommandLineBuildParticipant.java:71)
at
com.ibm.team.build.internal.engine.BuildLoop.invokeBuildParticipants(B
uildLoop.java:601)
at
com.ibm.team.build.internal.engine.BuildLoop$2.run(BuildLoop.java:432)
at java.lang.Thread.run(Thread.java:619)

permanent link
D Y (2632) | answered Jul 11 '11, 4:06 a.m.
I'm also having the same issue.
Working with version 3.0.1, fetch only create the folder but does not fetch any files to the file system.
The CRRTC3512E error is correct, the ant file does not exist because files were not fetched.

Any ideas?

permanent link
D Y (2632) | answered Jul 11 '11, 7:19 a.m.
Solved!
The owner of the build workspace was incorrect.

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.