--- Alexey Solofnenko <[EMAIL PROTECTED]> 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>

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

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

Diane

=====
([EMAIL PROTECTED])



__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com

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

Reply via email to