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

Run a makefile in cygwin using Jazz build engine

Hi everyone,

Does anyone know how to run a makefile in a cygwin environment while invoking this from RTC Jazz build engine? I'm able to open the cygwin shell with the build engine but this does not help since the shell is now static but should run a makefile instead.

Thanks in advance,
Gordon

0 votes



2 answers

Permanent link
Hi,

I have done that with MinGW. Maybe Boris blog has some hints: http://blog.boriskuschel.com/2011/08/automated-builds-using-cc-and-rational.html

The basic idea is to run the JBE and call make from the build. I have used the command line build once and called make -f makefile.

This was based on http://jazz.net/wiki/bin/view/Main/CppBuild

In RTC 3.x there are ways to set environment variables. That was an issue in the past.

You still have to use ANT to publish results. You can put ANT calls into the make file. Another way might be to use ANT to run the build and ANT calls the make -f makefile.

0 votes


Permanent link
Hi,

I have done that with MinGW. Maybe Boris blog has some hints: http://blog.boriskuschel.com/2011/08/automated-builds-using-cc-and-rational.html

The basic idea is to run the JBE and call make from the build. I have used the command line build once and called make -f makefile.

This was based on http://jazz.net/wiki/bin/view/Main/CppBuild

In RTC 3.x there are ways to set environment variables. That was an issue in the past.

You still have to use ANT to publish results. You can put ANT calls into the make file. Another way might be to use ANT to run the build and ANT calls the make -f makefile.


Ralph,

Thanks for the prompt reply. The links look to have very useful information too.

Gordon

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: Apr 04 '12, 10:37 a.m.

Question was seen: 8,359 times

Last updated: Apr 04 '12, 10:37 a.m.

Confirmation Cancel Confirm