On Mon, 2008-05-05 at 19:19 -0700, Malcolm Gorman wrote: > Gradle looks very promising! > > I have been asked to provide a new build and package system for our > next generation of servers running on Red Hat Linux. That means compiling > C code, Fortran code, Java code, and packaging each sub-project into > an RPM ready for distribution. > > Is this a practical thing to do using Gradle at its current level of > development?
I am not sure the Ant tasks are really up to the job of handling C and Fortran builds well. I know there is a C/C++/Fortran task (cpptask in ant-contrib) but it isn't very sophisticated -- but maybe I have missed something. Personally, I would use SCons for a C, C++, Fortran related builds. OK, this may seem disloyal given my involvement in Gant, Groovy and Gradle, but it has to be accepted that different build systems have grown up focused on different language support. Rake is Ruby focused, Ant, Maven, Gant and Gradle are Java/Groovy focused, and SCons is C/C ++/Fortran/LaTeX focused. There is an Ant task for building Deb files -- cf. http://code.google.com/p/ant-deb-task/ I guess someone must have an RPM task. SCons deosn't I think have explicit builders for Deb and RPM but it has very good support for calling commands -- much nicer that Ant, etc. > I expect that I will need to call out to Ant to compile C and Fortran, and > to invoke > an RPM package builder. Does that sound accurate to you? > > What are your thoughts on this? As noted above I would accept the shift from Groovy to Python and use SCons. -- Russel. ==================================================== Dr Russel Winder Partner Concertant LLP t: +44 20 7585 2200, +44 20 7193 9203 41 Buckmaster Road, f: +44 8700 516 084 London SW11 1EN, UK. m: +44 7770 465 077
signature.asc
Description: This is a digitally signed message part
