You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2001/08/02 08:28:46 UTC
[Bug 2958] - Generalize build tools
PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=2958
*** shadow/2958 Wed Aug 1 20:13:37 2001
--- shadow/2958.tmp.4700 Wed Aug 1 23:28:46 2001
***************
*** 15,17 ****
--- 15,37 ----
+============================================================================+
| DESCRIPTION |
Ant is great but to replace make for most "standard" build environments, it needs a way to specify any compiler and targets, not just javac/jikes and *.java->class files. Several of our projects have C modules as well. A <compile> tag with an attribute for specifying javac or jikes or gcc or bcc would be useful. Then running ant would build whole systems containing java and C files for quicker deployment without the makefile hassles.
+
+ ------- Additional Comments From steve_l@iseran.com 2001-08-01 23:28 -------
+ um, ant does more than .java to .class already, such as RMI idl to java and
+ other java preprocessors and even {C#,.il asm} to .NET il, . It just happens to
+ do java compilation really well, because that is what most people use it for.
+
+ Going to a generic compile task wouldn't work as each language has their own
+ options : java has its classpath, C++ has its list of directories for includes,
+ and they all have different ways of working out dependencies. So you couldn't
+ really do a clean compile facade independent of the underlying language.
+
+ What you seem to need is a cc, cpp or gcc task, which isn't a 'generalised
+ build tool' request so much as an 'add C/C++ support' request. If that is the
+ case, the title of this request is incorrect, either it should be renamed or
+ marked as invalid.
+
+ And if it really is what you want, search the ant-dev archives back in june for
+ messages with 'C/C++' titles in them -there have been a couple of submissions
+ of tasks which do exactly that, submissions which C/C++ users such as yourself
+ could help test and flesh out.
\ No newline at end of file