ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cloudor Pu <clou...@etang.com>
Subject [ant]how to use <mapper> and <patternset> in <javac>?
Date Wed, 05 Jun 2002 20:20:35 GMT
hello,

Can anybody show me an example? 

I got messages as :
------
BUILD FAILED
/.../build.xml:25: Class org.apache.tools.ant.types.PatternSet$NameEntry
doesn't support the nested "mapper" element.
------
when i run a build.xml containing :
-------------------------------------------------------
<patternset id="src.files">
   <include name="foo"/>
   <include name="bar"/>
   <include name="bla"/>
</patternset>
<!-- ..... -->
<javac destdir="${build.classes.dir}">
   <src path="${src.dir}"/>
   <include>
      <mapper type="glob" from="*" to="*.java"/>
      <patternset refid="src.files"/>
   </include>
</javac>
--------------------------------------------------------
thanks in advance!

Cloudor



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message