Ok! I don't need people to ask why I'm using 3 different programming languages for a relatively simple task... (It's in the coursework specification)
My situation is, I have to write a program. This program is split into 3 parts. The parts of the program, won't need to directly interact with each other (I don't think). One part has to be in C one part in C++ and one in Java! A bit like a set of 3 tools packaged together.
I would like to avoid having to build each part separately and test each part separately and check for program requirements separately. So I need one tool like make, that can check for library requirements etc. for each language, build each part, perform test cases and all that jazz.
If it makes any difference, I am thinking of making a GUI for the Java part of the program. The other two parts of the program will only have a text interface.
Are you building a jar or doing anything more complicated than just compiling the Java code? If so, ant
is probably the best tool for that part.
C/C++ is quite easy to drive with make
.
I'd call ant
using a target in the Makefile to drive the whole thing.