diff --git a/docs/manual/OptionalTasks/csc.html b/docs/manual/OptionalTasks/csc.html index 3e6aaa4be..a527edc7b 100644 --- a/docs/manual/OptionalTasks/csc.html +++ b/docs/manual/OptionalTasks/csc.html @@ -46,7 +46,7 @@
- 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 executable parameter

All parameters are optional: <csc/> should suffice to produce a debug build of all *.cs files. However, naming an destFilestops the csc compiler from choosing an output name from random, and allows the dependency checker to determine if the file is out of date.

The task is a directory based task, so attributes like includes="*.cs" and excludes="broken.cs" 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 destFile seems prudent.

For more complex source trees, nested src elements can be supplied. When such an element is present, the implicit fileset is ignored. This makes sense, when you think about it :)

References to external files can be made through the references attribute, or (since Ant1.6), via nested <reference> filesets. With the latter, the timestamps of the references are also used in the dependency checking algorithm.

Example

<csc optimize="true" debug="false" docFile="documentation.xml" warnLevel="4" unsafe="false" targetType="exe" incremental="false" mainClass = "MainApp" destFile="NetApp.exe" > <src dir="src" includes="*.cs"/> <reference file="${testCSC.dll}"/> <define name="RELEASE"/> <define name="DEBUG" if="debug.property"/> <define name="def3" unless="def3.property"/> </csc> 
+ 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 executable parameter

All parameters are optional: <csc/> should suffice to produce a debug build of all *.cs files. However, naming an destFilestops the csc compiler from choosing an output name from random, and allows the dependency checker to determine if the file is out of date.

The task is a directory based task, so attributes like includes="*.cs" and excludes="broken.cs" 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 destFile seems prudent.

For more complex source trees, nested src elements can be supplied. When such an element is present, the implicit fileset is ignored. This makes sense, when you think about it :)

For historical reasons the pattern **/*.cs is preset as includes list and you can not override it with an explicit includes attribute. Use nested <src> elements instead of the basedir attribute if you need more control.

References to external files can be made through the references attribute, or (since Ant1.6), via nested <reference> filesets. With the latter, the timestamps of the references are also used in the dependency checking algorithm.

Example

<csc optimize="true" debug="false" docFile="documentation.xml" warnLevel="4" unsafe="false" targetType="exe" incremental="false" mainClass = "MainApp" destFile="NetApp.exe" > <src dir="src" includes="*.cs"/> <reference file="${testCSC.dll}"/> <define name="RELEASE"/> <define name="DEBUG" if="debug.property"/> <define name="def3" unless="def3.property"/> </csc> 
@@ -503,7 +503,7 @@
- Copyright © 2000-2004, The Apache Software Foundation. All Rights Reserved. + Copyright © 2000-2005, The Apache Software Foundation. All Rights Reserved.
diff --git a/docs/manual/OptionalTasks/jsharpc.html b/docs/manual/OptionalTasks/jsharpc.html index f257b3b9c..8924fc82f 100644 --- a/docs/manual/OptionalTasks/jsharpc.html +++ b/docs/manual/OptionalTasks/jsharpc.html @@ -18,7 +18,7 @@ Jsharpc Task -
Compile J# source down to a managed .NET application. +
Compile J# source down to a managed .NET application.

For historical reasons the pattern **/*.java is preset as includes list and you can not override it with an explicit includes attribute. Use nested <src> elements instead of the basedir attribute if you need more control.

diff --git a/docs/manual/OptionalTasks/vbc.html b/docs/manual/OptionalTasks/vbc.html index a165a6813..ecff8c010 100644 --- a/docs/manual/OptionalTasks/vbc.html +++ b/docs/manual/OptionalTasks/vbc.html @@ -18,7 +18,7 @@ Vbc Task -
This task compiles Visual Basic.NET source into executables or modules. +
This task compiles Visual Basic.NET source into executables or modules.

For historical reasons the pattern **/*.vb is preset as includes list and you can not override it with an explicit includes attribute. Use nested <src> elements instead of the basedir attribute if you need more control.

@@ -479,7 +479,7 @@
- Copyright © 2000-2004, The Apache Software Foundation. All Rights Reserved. + Copyright © 2000-2005, The Apache Software Foundation. All Rights Reserved.
diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java b/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java index 54b2ca686..072777eac 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/CSharp.java @@ -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 @@ import org.apache.tools.ant.taskdefs.condition.Os; * For more complex source trees, nested src elemements can be * supplied. When such an element is present, the implicit fileset is ignored. * This makes sense, when you think about it :) - *

* + *

For historical reasons the pattern + * **/*.cs is preset as includes list and + * you can not override it with an explicit includes attribute. Use + * nested <src> elements instead of the basedir + * attribute if you need more control.

+ * + *

* References to external files can be made through the references attribute, * or (since Ant1.6), via nested <reference> filesets. With the latter, * the timestamps of the references are also used in the dependency diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/JSharp.java b/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/JSharp.java index 6ad76c0e0..c8153292d 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/JSharp.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/JSharp.java @@ -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 @@ import org.apache.tools.ant.BuildException; * generates a .NET managed exe or dll. *

* + *

For historical reasons the pattern + * **/*.java is preset as includes list and + * you can not override it with an explicit includes attribute. Use + * nested <src> elements instead of the basedir + * attribute if you need more control.

+ * * @see * Visual J++ online documentation * diff --git a/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/VisualBasicCompile.java b/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/VisualBasicCompile.java index 463d1cdc1..ff2230629 100644 --- a/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/VisualBasicCompile.java +++ b/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/VisualBasicCompile.java @@ -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 @@ import org.apache.tools.ant.BuildException;

* Also, dependency checking only works if destfile is set. * + *

For historical reasons the pattern + * **/*.vb is preset as includes list and + * you can not override it with an explicit includes attribute. Use + * nested <src> elements instead of the basedir + * attribute if you need more control.

+ * * As with <csc> nested src filesets of source, * reference filesets, definitions and resources can be provided. *