You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by David Bullock <db...@lisa.com.au> on 2000/02/29 23:27:34 UTC

Re: What flavour of scripting? [XML modelling thread]

Ludovic Claude wrote:

> > What about a build.dml file to specify the dependencies, and another
> > file (build.jp ?) to describe what to do about the dependencies.  I'm
> > new to unixland, and haven't ever made my own[...]
>
> Two build files to compile one project now?

or two sections:

<dependency-group>
  <state name="d1"/>
  <state name="d2"/>
  <depends>
       <source states="d1">
       <target states="d2">
       <action-ref name="actionID">
  </depends>
</dependency-group>


<actions>
   <action name="actionID">
       <script lang="jpython">
              script goes here
       </script>
   </action>
</actions>

....all in the same XML file.

??



--
David Bullock
Project Leader
dbullock@lisa.com.au

"It's no use saying 'We are doing our best.'  You
have got to succeed in doing what's necessary."
    ...Winston Churchill

LISAcorp
http://www.lisa.com.au/

Adelaide                  Sydney
--------------------      ------------------------
38 Greenhill Rd           Level 3, 228 Pitt Street
Wayville S.A. 5034        Sydney NSW 2000

PH  +61 8 8272 1555       PH  +61 2 9283 0877
FAX +61 8 8271 1199       FAX +61 2 9283 0866
--------------------      ------------------------