ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject RE: mapper and uptodate examples
Date Wed, 10 Oct 2001 16:05:16 GMT
--- Graham Barr <graham@globalfarmers.com> wrote:
> <!-- Check whether iiop stubs need to be regenerated -->
> <target name="iiopStub.checkUptoDate">
> 	
> 	<uptodate property="iiopStub.isUpToDate" >
>     		<srcfiles dir="${src}"> 
> 			<include name="x/y/z/A.java"/>
> 			<include name="x/y/z/B.java"/>			
> 			<include name="x/y/z/C.java"/>
> 		</srcfiles> 
>     		<mapper type="glob" from="*.java" to="${build}/*.class"/>
>   	</uptodate>
> 
> 	<echo message="IIOP stubs are up to date: ${iiopStub.isUpToDate}"/>
> </target>

Try:
<target name="iiopStub.checkUpToDate">
  <uptodate property="iiopStub.isUpToDate" >
        <srcfiles dir="${src}/x/y/z">
      <include name="A.java"/>
      <include name="B.java"/>
      <include name="C.java"/>
    </srcfiles>
        <mapper type="glob" from="*.java" to="${build}/*.class"/>
    </uptodate>
  <echo message="IIOP stubs are up to date: ${iiopStub.isUpToDate}"/>
</target>

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com

Mime
View raw message