ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/docs/manual/CoreTypes mapper.html
Date Mon, 02 Aug 2004 14:32:44 GMT
bodewig     2004/08/02 07:32:44

  Modified:    .        CONTRIBUTORS
               docs/manual/CoreTypes mapper.html
  Log:
  Add example regexp that maps from Java class files to the
  corresponding source files.
  
  Submitted by:	Paul Galbraith <pgalbraith at trigoncanada dot com>
  
  Revision  Changes    Path
  1.29      +1 -0      ant/CONTRIBUTORS
  
  Index: CONTRIBUTORS
  ===================================================================
  RCS file: /home/cvs/ant/CONTRIBUTORS,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- CONTRIBUTORS	28 Jul 2004 19:55:37 -0000	1.28
  +++ CONTRIBUTORS	2 Aug 2004 14:32:43 -0000	1.29
  @@ -150,6 +150,7 @@
   Patrick G. Heck (Gus Heck)
   Paul Austin
   Paul Christmann
  +Paul Galbraith
   Paulo Gaspar
   Peter B. West
   Peter Donald
  
  
  
  1.18      +26 -0     ant/docs/manual/CoreTypes/mapper.html
  
  Index: mapper.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/CoreTypes/mapper.html,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- mapper.html	22 Apr 2004 20:27:21 -0000	1.17
  +++ mapper.html	2 Aug 2004 14:32:44 -0000	1.18
  @@ -362,6 +362,32 @@
       <td valign="top"><code>properties.Classes/dir/dir2/A</code></td>
     </tr>
   </table>
  +<blockquote><pre>
  +&lt;mapper type=&quot;regexp&quot; from=&quot;^(.*?)(\$$[^/\\\.]*)?\.class$$&quot;
to=&quot;\1.java&quot;/&gt;
  +&lt;regexpmapper from=&quot;^(.*?)(\$$[^/\\\.]*)?\.class$$&quot; to=&quot;\1.java&quot;/&gt;
  +</pre></blockquote>
  +<table border="1" cellpadding="2" cellspacing="0">
  +  <tr>
  +    <td valign="top"><b>Source file name</b></td>
  +    <td valign="top"><b>Target file name</b></td>
  +  </tr>
  +  <tr>
  +    <td valign="top"><code>ClassLoader.class</code></td>
  +    <td valign="top"><code>ClassLoader.java</code></td>
  +  </tr>
  +  <tr>
  +    <td valign="top"><code>java/lang/ClassLoader.class</code></td>
  +    <td valign="top"><code>java/lang/ClassLoader.java</code></td>
  +  </tr>
  +  <tr>
  +    <td valign="top"><code>java\lang\ClassLoader$1.class</code></td>
  +    <td valign="top"><code>java\lang\ClassLoader.java</code></td>
  +  </tr>
  +  <tr>
  +    <td valign="top"><code>java/lang/ClassLoader$foo$1.class</code></td>
  +    <td valign="top"><code>java/lang/ClassLoader.java</code></td>
  +  </tr>
  +</table>
   
   <h4><a name="package-mapper">package</a></h4>
   <p>Sharing the same syntax as the <a href="#glob-mapper">glob mapper</a>,
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message