Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Bizarre Jazz Build behavior

In RTC 2.0.0.2 I have a build engine set up and running a couple of builds. I have noticed an odd behavior though. The build run through the build engine in Team Concert seems to not execute properly, as compared to running the exact same commands from the command line.

Basically, if I look at the build log, and duplicate the commands it is doing in the same directories it is running them in, everything builds fine, but in RTC, the build isn't using all of the -D flags it should be using that are defined by the makefile. I'm absolutely baffled as to how that can be as it is executing the same Makefile that works perfectly if I execute it from a command line external to RTC. I don't even know where it would be getting the defines it is using from, as it is just using a partial set, and on some files it uses a partial set, on others it uses a different partial set, but on none of them does it use everything it is supposed to.

As a result of this, the build in RTC fails, whereas external to RTC it builds just fine.

Any help/advice would be appreciated.

Thanks,
Chris

0 votes



One answer

Permanent link
Hi Chris,

My apologies for the long delay in responding.

Is this still an issue? If so, what kind of build definition are you using, and what command do you have configured for it? I assume it's a command line build if you say you're running a makefile. Is it exactly the same as when running manually, with the same working directory?

What command does the makefile invoke? Do the -Ds refer to environment variables? If so, are you running JBE as a Windows service (it doesn't get env vars in that case)?

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 23 '10, 1:24 p.m.

Question was seen: 4,203 times

Last updated: Mar 23 '10, 1:24 p.m.

Confirmation Cancel Confirm