ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: Useful to allow a <dirset> in an <ant> task ?
Date Tue, 25 Feb 2003 16:12:12 GMT
Does <subant> meets your needs?
see: http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12368


Jan Matèrne

-----Urspr√ľngliche Nachricht-----
Von: Andrew Goodnough [mailto:Andrew.Goodnough@wicourts.gov]
Gesendet am: Dienstag, 25. Februar 2003 16:43
An: user@ant.apache.org
Betreff: Useful to allow a <dirset> in an <ant> task ?

I'm looking into this right now and I just thought I'd get everyone's
thoughts.  Here's what I'd like to be able to do:

  <target name="compile-subprojects">
    <ant antfile="build.xml" target="compile" inheritAll="false">
      <dirset dir="." includes="${subprojects}"/>     <!--new
functionality -->
    </ant>
  </target>

As you can see, this would help me compile sub-projects without having
to name the subproject folders ahead of time.  This is important as I'd
like to have developers specify new sub-projects in the properties file
(on which this project's build is dependent) without editing with the
build file.

What do you think or is there some way to do this now?  Thanks in
advance.

Andy


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message