ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet CSharp.java JSharp.java VisualBasicCompile.java
Date Mon, 14 Mar 2005 12:10:56 GMT
bodewig     2005/03/14 04:10:56

  Modified:    docs/manual/OptionalTasks Tag: ANT_16_BRANCH csc.html
                        jsharpc.html vbc.html
               src/main/org/apache/tools/ant/taskdefs/optional/dotnet Tag:
                        ANT_16_BRANCH CSharp.java JSharp.java
                        VisualBasicCompile.java
  Log:
  merge
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.1.2.6   +2 -2      ant/docs/manual/OptionalTasks/csc.html
  
  Index: csc.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/csc.html,v
  retrieving revision 1.1.2.5
  retrieving revision 1.1.2.6
  diff -u -r1.1.2.5 -r1.1.2.6
  --- csc.html	19 Nov 2004 09:10:04 -0000	1.1.2.5
  +++ csc.html	14 Mar 2005 12:10:54 -0000	1.1.2.6
  @@ -47,7 +47,7 @@
         </td></tr>
   
         <tr><td><blockquote>
  -        Compiles C# source into executables or modules. csc.exe on Windows or mcs on any
other platform must be on the execute path, unless another executable or the full path to
that executable is specified in the <tt>executable</tt> parameter <p> All
parameters are optional: <code>&lt;csc/&gt;</code> should suffice to produce
a debug build of all *.cs files. However, naming an <tt>destFile</tt>stops the
csc compiler from choosing an output name from random, and allows the dependency checker to
determine if the file is out of date. <p> The task is a directory based task, so attributes
like <b>includes="*.cs" </b> and <b>excludes="broken.cs"</b> can be
used to control the files pulled in. By default, all *.cs files from the project folder down
are included in the command. When this happens the output file -if not specified- is taken
as the first file in the list, which may be somewhat hard to control. Specifying the output
file with <tt>destFile</tt> seems prudent. <p> <p> For more complex
source trees, nested <tt>src</tt> elements can be supplied. When such an element
is present, the implicit fileset is ignored. This makes sense, when you think about it :)
<p> References to external files can be made through the references attribute, or (since
Ant1.6), via nested <code>&lt;reference&gt;</code> filesets. With the
latter, the timestamps of the references are also used in the dependency checking algorithm.
<p> Example <pre>&lt;csc optimize=&quot;true&quot; debug=&quot;false&quot;
docFile=&quot;documentation.xml&quot; warnLevel=&quot;4&quot; unsafe=&quot;false&quot;
targetType=&quot;exe&quot; incremental=&quot;false&quot; mainClass = &quot;MainApp&quot;
destFile=&quot;NetApp.exe&quot; &gt; &lt;src dir="src" includes="*.cs"/&gt;
&lt;reference file="${testCSC.dll}"/&gt; &lt;define name="RELEASE"/&gt; &lt;define
name="DEBUG" if="debug.property"/&gt; &lt;define name="def3" unless="def3.property"/&gt;
&lt;/csc&gt; </pre>
  +        Compiles C# source into executables or modules. csc.exe on Windows or mcs on any
other platform must be on the execute path, unless another executable or the full path to
that executable is specified in the <tt>executable</tt> parameter <p> All
parameters are optional: <code>&lt;csc/&gt;</code> should suffice to produce
a debug build of all *.cs files. However, naming an <tt>destFile</tt>stops the
csc compiler from choosing an output name from random, and allows the dependency checker to
determine if the file is out of date. <p> The task is a directory based task, so attributes
like <b>includes="*.cs" </b> and <b>excludes="broken.cs"</b> can be
used to control the files pulled in. By default, all *.cs files from the project folder down
are included in the command. When this happens the output file -if not specified- is taken
as the first file in the list, which may be somewhat hard to control. Specifying the output
file with <tt>destFile</tt> seems prudent. <p> <p> For more complex
source trees, nested <tt>src</tt> elements can be supplied. When such an element
is present, the implicit fileset is ignored. This makes sense, when you think about it :)
 <p>For historical reasons the pattern <code>**/*.cs</code> is preset as
includes list and you can not override it with an explicit includes attribute.  Use nested
<code>&lt;src&gt;</code> elements instead of the basedir attribute if
you need more control.</p> <p> References to external files can be made through
the references attribute, or (since Ant1.6), via nested <code>&lt;reference&gt;</code>
filesets. With the latter, the timestamps of the references are also used in the dependency
checking algorithm. <p> Example <pre>&lt;csc optimize=&quot;true&quot;
debug=&quot;false&quot; docFile=&quot;documentation.xml&quot; warnLevel=&quot;4&quot;
unsafe=&quot;false&quot; targetType=&quot;exe&quot; incremental=&quot;false&quot;
mainClass = &quot;MainApp&quot; destFile=&quot;NetApp.exe&quot; &gt; &lt;src
dir="src" includes="*.cs"/&gt; &lt;reference file="${testCSC.dll}"/&gt; &lt;define
name="RELEASE"/&gt; &lt;define name="DEBUG" if="debug.property"/&gt; &lt;define
name="def3" unless="def3.property"/&gt; &lt;/csc&gt; </pre>
         </blockquote></td></tr>
   
       </table>
  @@ -504,7 +504,7 @@
     <tr>
       <td>
         <div align="center"><font color="#525D76" size="-1"><em>
  -        Copyright &copy; 2000-2004, The Apache Software Foundation. All Rights Reserved.
  +        Copyright &copy; 2000-2005, The Apache Software Foundation. All Rights Reserved.
         </em></font></div>
       </td>
     </tr>
  
  
  
  1.1.2.4   +1 -1      ant/docs/manual/OptionalTasks/jsharpc.html
  
  Index: jsharpc.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/jsharpc.html,v
  retrieving revision 1.1.2.3
  retrieving revision 1.1.2.4
  diff -u -r1.1.2.3 -r1.1.2.4
  --- jsharpc.html	14 Mar 2005 11:52:58 -0000	1.1.2.3
  +++ jsharpc.html	14 Mar 2005 12:10:54 -0000	1.1.2.4
  @@ -19,7 +19,7 @@
             <td valign="bottom">
               <font size="+3" face="arial,helvetica,sanserif"><strong>Jsharpc
    Task</strong></font>
  -            <br><font face="arial,helvetica,sanserif">Compile J# source down
to a managed .NET application.</font>
  +            <br><font face="arial,helvetica,sanserif">Compile J# source down
to a managed .NET application. <p>For historical reasons the pattern <code>**/*.java</code>
is preset as includes list and you can not override it with an explicit includes attribute.
 Use nested <code>&lt;src&gt;</code> elements instead of the basedir attribute
if you need more control.</p></font>
             </td>
             <td>
               <!-- PROJECT LOGO -->
  
  
  
  1.1.2.3   +2 -2      ant/docs/manual/OptionalTasks/vbc.html
  
  Index: vbc.html
  ===================================================================
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/vbc.html,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- vbc.html	19 Nov 2004 09:10:04 -0000	1.1.2.2
  +++ vbc.html	14 Mar 2005 12:10:54 -0000	1.1.2.3
  @@ -18,7 +18,7 @@
             <td valign="bottom">
               <font size="+3" face="arial,helvetica,sanserif"><strong>Vbc
    Task</strong></font>
  -            <br><font face="arial,helvetica,sanserif">This task compiles Visual
Basic.NET source into executables or modules.</font>
  +            <br><font face="arial,helvetica,sanserif">This task compiles Visual
Basic.NET source into executables or modules.  <p>For historical reasons the pattern
<code>**/*.vb</code> is preset as includes list and you can not override it with
an explicit includes attribute.  Use nested <code>&lt;src&gt;</code> elements
instead of the basedir attribute if you need more control.</p></font>
             </td>
             <td>
               <!-- PROJECT LOGO -->
  @@ -479,7 +479,7 @@
     <tr>
       <td>
         <div align="center"><font color="#525D76" size="-1"><em>
  -        Copyright &copy; 2000-2004, The Apache Software Foundation. All Rights Reserved.
  +        Copyright &copy; 2000-2005, The Apache Software Foundation. All Rights Reserved.
         </em></font></div>
       </td>
     </tr>
  
  
  
  No                   revision
  No                   revision
  1.36.2.8  +8 -2      ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java
  
  Index: CSharp.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java,v
  retrieving revision 1.36.2.7
  retrieving revision 1.36.2.8
  diff -u -r1.36.2.7 -r1.36.2.8
  --- CSharp.java	14 Apr 2004 15:42:40 -0000	1.36.2.7
  +++ CSharp.java	14 Mar 2005 12:10:55 -0000	1.36.2.8
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2001-2004 The Apache Software Foundation
  + * Copyright  2001-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -60,8 +60,14 @@
    * For more complex source trees, nested <tt>src</tt> elemements can be
    * supplied. When such an element is present, the implicit fileset is ignored.
    * This makes sense, when you think about it :)
  - * <p>
    *
  + * <p>For historical reasons the pattern
  + * <code>**</code><code>/*.cs</code> is preset as includes list
and
  + * you can not override it with an explicit includes attribute.  Use
  + * nested <code>&lt;src&gt;</code> elements instead of the basedir
  + * attribute if you need more control.</p>
  + *
  + * <p>
    * References to external files can be made through the references attribute,
    * or (since Ant1.6), via nested &lt;reference&gt; filesets. With the latter,
    * the timestamps of the references are also used in the dependency
  
  
  
  1.5.2.7   +7 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/JSharp.java
  
  Index: JSharp.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/JSharp.java,v
  retrieving revision 1.5.2.6
  retrieving revision 1.5.2.7
  diff -u -r1.5.2.6 -r1.5.2.7
  --- JSharp.java	9 Mar 2004 17:01:44 -0000	1.5.2.6
  +++ JSharp.java	14 Mar 2005 12:10:55 -0000	1.5.2.7
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2000-2004 The Apache Software Foundation
  + * Copyright  2000-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -27,6 +27,12 @@
    * generates a .NET managed exe or dll.
    * <p>
    *
  + * <p>For historical reasons the pattern
  + * <code>**</code><code>/*.java</code> is preset as includes list
and
  + * you can not override it with an explicit includes attribute.  Use
  + * nested <code>&lt;src&gt;</code> elements instead of the basedir
  + * attribute if you need more control.</p>
  + *
    * @see <A=ref="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vjsharp/html/vjoriMicrosoftVisualJ.asp">
    * Visual J++ online documentation</a>
    *
  
  
  
  1.8.2.6   +7 -1      ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/VisualBasicCompile.java
  
  Index: VisualBasicCompile.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/VisualBasicCompile.java,v
  retrieving revision 1.8.2.5
  retrieving revision 1.8.2.6
  diff -u -r1.8.2.5 -r1.8.2.6
  --- VisualBasicCompile.java	9 Mar 2004 17:01:44 -0000	1.8.2.5
  +++ VisualBasicCompile.java	14 Mar 2005 12:10:55 -0000	1.8.2.6
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2001-2004 The Apache Software Foundation
  + * Copyright  2001-2005 The Apache Software Foundation
    *
    *  Licensed under the Apache License, Version 2.0 (the "License");
    *  you may not use this file except in compliance with the License.
  @@ -43,6 +43,12 @@
    <p>
    * Also, dependency checking only works if destfile is set.
    *
  + * <p>For historical reasons the pattern
  + * <code>**</code><code>/*.vb</code> is preset as includes list
and
  + * you can not override it with an explicit includes attribute.  Use
  + * nested <code>&lt;src&gt;</code> elements instead of the basedir
  + * attribute if you need more control.</p>
  + *
    * As with &lt;csc&gt; nested <tt>src</tt> filesets of source,
    * reference filesets, definitions and resources can be provided.
    *
  
  
  

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


Mime
View raw message