ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject RE: Problem: ANT and continuous developers build process
Date Wed, 29 May 2002 21:20:52 GMT
--- Alexey Solofnenko <> wrote:
> Yes, I am using 1.5b1.

Okay, cool. So, I don't know for sure that this will do what you need,
since I don't really know your build process, but maybe it might at least
be a starting point to something that would do it for you:

  <target name="image-install" depends="compile" if="updated">
    <echo message="Running image-install..."/>
    <touch file=".image-install"/>

  <target name="compile" depends="doCompile" if="newClasses">
    <touch file=".compile"/>
    <condition property="updated">
        <uptodate targetfile=".image-install" srcfile=".compile"/>

  <target name="doCompile">
    <record name="compile.log" action="start" emacsmode="true"/>
      <javac .../>
    <record name="compile.log" action="stop"/>
    <loadfile property="newClasses" srcFile="compile.log">
          <regexp pattern="^Compiling"/>



Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message