On Thu, 06 Nov 2008, Tassilo Horn <[EMAIL PROTECTED]> wrote:

> What I really want is to execute the given `java' task for each and
> every *.tg file in ${schema.dir}/.  How would I do that?

You can use <apply> and set up the java command line correctly,
something like

  <apply executable="java">
    <arg value="-cp"/>
    <arg pathref="classpath"/>
    <arg value="de.uni_koblenz.jgralab.utilities.tgschema2java.TgSchema2Java"/>
    <arg value="-f"/>
    <srcfile/>
    <arg line="-p ${src.dir}"/>

    <fileset dir="${schema.dir}" includes="*.tg"/>
  </arg>

I realize that you really want an extension of <java> in the same way
that <apply> extends <exec> and in fact you are not the first one.
But such a task hasn't been written (yet?).

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to