ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "W. Sean Hennessy" <>
Subject RE: Using ANT with 'C' projects - need help
Date Fri, 20 Jun 2003 17:49:43 GMT
One scenario starts with a Windows platform development effort (Visual
C++/VB teams)
that evolves from a Visual Studio unit build for prototyping to using nmake
in a scripted build environment. This is fine until another member of the
team (SCM manager says so) prefers using another flavor of make Cygwin/MKS
and then the different dialects of make rules persuade one to migrate to the
Ant solution.
For me Ant works well for agnostic Linux/Win2K java development.
Some gnu based c/c++ cross target solutions can be realized with Ant.
I don't see much Win2K development being done using Linux so for these teams
make/nmake might be all they need.
If it works for them, let them be, it's one less task on their road to
product ship.
Perhaps some day the truly platform independent CLR will be realized and it
won't matter the language C#,Java or Adadogonce...
I'm platform agnostic so I AiNT worried about it.  :)

-----Original Message-----
From: Brown, Michael (Denver) []
Sent: Friday, June 20, 2003 9:26 AM
To: Ant Users List
Subject: RE: Using ANT with 'C' projects - need help


It really depends on each environment you build within.  I have been
involved in a project to incorporate ant into building our C and C++
code and it is working fairly well for the windows platform.  We are
utilizing the exec command and writing some custom tasks to handle the
MSDev and StarTeam integration.  I think for the future that it will
make sense to find a way to utilize this tool for the other two
platforms we build on.  It seems to make sense to allow the automation
to evolve.  Here is a plug for the book the Eric and Steve have written,
Java Development with ANT.  It has some fairly detailed information
regarding how to develop native code using the cpptasks from the
ant-contrib project.  My opinion is that there is a long way to go
before ANT would be considered a total solution and it may not ever want
to get there, but it does facilitate getting there if you want to do
some java coding and take advantage of XML.  IMHO.


-----Original Message-----
From: Faist, Jeff []
Sent: Friday, June 20, 2003 10:05 AM
To: 'Ant Users List'
Subject: RE: Using ANT with 'C' projects - need help

I'm just learning ANT but have used make extensively in the past.

ANT seems to be very Java specific as it does not have default build
rules for C++ or VB like it does for java compiles.

So far it does not seem to be very hard to create a build target with an
EXEC command that calls the VC++ command line with he proper params.
I'm still working on the nested build/include concept to do the entire
system and how to deal with my hidden dependencies and circular build

So ya, it can do C++ builds, if it's better than Make remains to be

Jeffrey W. Faist
Configuration Management Analyst
Encoda Systems, Inc.
1999 Broadway, Suite 4000
Denver, Colorado 80202-3050 USA
Direct Phone Line: +1 (303) 390 8496
Fax Line: +1 (303) 390 8425

-----Original Message-----
From: Uma Maheswari []
Sent: Friday, June 20, 2003 12:08 AM
Subject: Using ANT with 'C' projects - need help


Could you please tell if ANT can be used for building 'C' language
projects. If so, is it really effective to use ANT instead of MAKE?


To unsubscribe, e-mail:
For additional commands, e-mail:

"This information in this e-mail is intended solely for the addressee
and may contain information which is confidential or privileged.  Access
to this e-mail by anyone else is unauthorized.  If you are not the
intended recipient, or believe that you have received this communication
in error, please do not print, copy, retransmit, disseminate, or
otherwise use the information. Also, please notify the sender that you
have received this e-mail in error, and delete the copy you received."

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message