ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Mapping src to dest files in Javac
Date Wed, 19 Jun 2002 08:28:10 GMT
Well, the built-in solution would be much the same approach, but using
<dirset> and <pathconvert> (you need the <dirset> so you have a datatype
to pass to <pathconvert>):

  <dirset id="user.dir" dir="${user.dir}"/>
  <pathconvert property="cur.dir" pathsep="" refid="user.dir">
    <map from="${basedir}${file.separator}" to=""/>
  <javac srcdir=... destdir=... includes="${cur.dir}/**/*.java"/>

[Note: <dirset is only available as of 1.5]



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

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

View raw message