[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-dev
Subject:    Re: What flavour of scripting? [XML modelling thread]
From:       David Bullock <dbullock () lisa ! com ! au>
Date:       2000-02-29 22:39:34
[Download RAW message or body]

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
--------------------      ------------------------



[Attachment #3 (text/html)]

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Ludovic Claude wrote:
<blockquote TYPE=CITE>> What about a build.dml file to specify the dependencies,
and another
<br>> file (build.jp ?) to describe what to do about the dependencies.&nbsp;
I'm
<br>> new to unixland, and haven't ever made my own[...]
<p>Two build files to compile one project now?</blockquote>

<p><br>or two sections:
<p>&lt;dependency-group>
<br>&nbsp; &lt;state name="d1"/>
<br>&nbsp; &lt;state name="d2"/>
<br>&nbsp; &lt;depends>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;source states="d1">
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;target states="d2">
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action-ref name="actionID">
<br>&nbsp; &lt;/depends>
<br>&lt;/dependency-group>
<br>&nbsp;
<p>&lt;actions>
<br>&nbsp;&nbsp; &lt;action name="actionID">
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;script lang="jpython">
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
script goes here
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/script>
<br>&nbsp;&nbsp; &lt;/action>
<br>&lt;/actions>
<p>....all in the same XML file.
<p>??
<br>&nbsp;
<br>&nbsp;
<pre>--&nbsp;
David Bullock
Project Leader&nbsp;
dbullock@lisa.com.au

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


LISAcorp
<A HREF="http://www.lisa.com.au/">http://www.lisa.com.au/</A>

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

PH&nbsp; +61 8 8272 1555&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; PH&nbsp; +61 2 9283 0877
FAX +61 8 8271 1199&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FAX +61 2 9283 0866
--------------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ------------------------</pre>
&nbsp;</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic