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
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
2 answers
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.
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.
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