ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] ant task with (nested) fileset(s)
Date Mon, 12 Nov 2001 10:36:16 GMT
On Sat, 10 Nov 2001, Peter Donald <donaldp@apache.org> wrote:

> I am still fairly sure I don't like anton (or javaon) style
> functionality at all.

Well, I don't like them as add-on tasks either, but as we won't get
full fledged iteration functionality otherwise ...

The rationale for <apply> (or <execon>) is to extend what is nice
about <javac> to other types of compilers, something like

<apply executable="gcc">
  <srcfile />
  <arg value="-c" />
  <arg value="-o" />
  <targetfile />

  <fileset dir="src/C" includes="*.c" />
  <mapper type="glob" from="*.c" to="*.o" />
</apply>

... you get the idea.

<javaon> follows from the same logic, just giving you the opportunity
to use execution in the same VM if the compiler happens to be written
in Java (many idl2java or sqlj compilers are, for example).

That the same construct can be used to fill different needs, well,
yes, this is true, so what?

Stefan

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message