CDT: Ant Build Tutorials [message #76048] |
Wed, 16 July 2003 16:16  |
Eclipse User |
|
|
|
Originally posted by: ashes999.rogers.com
Does anyone have any Ant Build tutorials they can refer me to? I'd really
like to figure out what it does, and how to use it.
--Ashiq
|
|
|
|
|
|
|
|
|
|
|
Re: Ant Build Tutorials [message #76478 is a reply to message #76350] |
Tue, 22 July 2003 13:37  |
Eclipse User |
|
|
|
Originally posted by: sevoy.rational.com
Eric,
One of the reasons we did not seriously consider using Ant in the current
release was that it does not have large-scale penetration in the C/C++
community and because, at least for the time-being, it is not part of the
core Ant release. That said, I can think of two compelling reasons to
consider it as the core technology for the build system in the future.
First, as long as the build functions properly, most users do not care how
it happens. Ant is already part of Eclipse, so one would assume that adding
the cpp-tasks would be no more complicated than writing the code to spawn an
external 'make' process and harvest its output. In fact, if the integration
is better, then the CDT user would probably have a better experience
building their projects. Those users who want (or need) control over how
their projects get built can always use a makefile and standard build
system.
Second, one of the areas I suspect we are going to see demand for the build
system is from users and vendors of toolchains other than Gnu. We have
proposed one possible way to integrate tools and toolchains into CDT, but it
is hard to imagine all of the contingencies and requirements these users
might have in advance. The work in cpp-tasks looks like it includes
specifications for several different toolchains already. If we could reuse
that work, then we might be able to remove any objections from tool vendors
who would prefer to see an industry-standard approach, for example.
It's academic now, but I don't think we should discard it as a possible
candidate for the future.
"Eric Eide" <eeide@cs.utah.edu> wrote in message
news:ywrispz78ea.fsf@ioka.flux.utah.edu...
> "Sean" == Sean Evoy <sevoy@rational.com> writes:
>
> Sean> There is a Source Forge project underway to add new tasks to Ant
> Sean> for building C/C++ apps. Check out
> Sean> http://ant-contrib.sourceforge.net/ for more details.
>
> But, would you *want* to use Ant for building C/C++ applications?
>
> IMO, the primary benefits of Ant are that (1) it can intereact with
Java-based
> tools in a rich way, and (2) it is a/the de facto build tool within the
Java
> community. Neither of these benefits apply for C/C++ development.
>
> Eric.
>
> --
> ------------------------------------------------------------ --------------
-----
> Eric Eide <eeide@cs.utah.edu> . University of Utah School of
Computing
> http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801)
581-5843 FAX
|
|
|
Powered by
FUDForum. Page generated in 0.30525 seconds