----- Original Message -----
From: "Daniel Rall" <[email protected]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 23, 2001 17:01
Subject: Re: [Bug 1463] New - Include a script/program to generate standard
Makefiles from build.xml


> Ken Wood <[EMAIL PROTECTED]> writes:

> > I really don't see a need for Ant to create Makefiles,
> > although no reason individual groups coouldn't do
> > it. Just don't see a need for it to be officially supported.
>
> It doesn't seem like a core feature, but it would be nice to have
> available as an add-on.

To generate a makefile from a complex buildfile, one including, say, SQL,
EJB, telnet tasks as well as javac, you would need.

1. -command line wrappers for all such tasks with the same parameters and
behaviour, on every supported platform: all versions of unix, win32, the
macintosh, whatever
2. -some means for every task to generate the appropriate commands to call
these tasks
3. -some means for every task to list out what its current dependencies are
by expanding the includes and filesets and whatever.

Item 1 doesnt exist yet; someone would have to write them, test them,
support them. Many ant tasks are more complex than the command line
equivalents; telnet with its output recognition and the SQL command is a
case in point. How you would you write a universal cross platform SQL
command line client? could be done on windows with ODBC, but for unix there
is no common equivalent, except maybe JDBC.

Item 2 doesnt exist ; someone would have to write them, test them, support
them

Item 3 needs to be re-evaluated every run to maintain ant-like behavior.

Even if these were all done, so wouldnt obviate the JVM startup latencies if
you use any java based app -like javac, anyway. I am therefore of the
opinion that 'it doesnt make sense'. It isnt necessary and it is a stupid
amount of work for no real reason.

If there is an issue with startup delays, well, antidote works for that.

How about we file this bug under 'wontfix'?

-steve


Reply via email to