From 3c5b1c8a70e6b694f0e6a43f02656496bd899fb2 Mon Sep 17 00:00:00 2001
From: Steve Loughran
-Make ant the definitive build tool for .NET projects, just
-as it is becoming for java projects
-
-The emergent policy in big java projects is 'IDE for code and debug';
-Ant for builds, test and deployment. While IDEs are great for an
-individual development task, Ant not only rebuilds everything insanely
-fast, it has great support for modern deployment tasks -ftp upload,
-EJB servers, SQL commands, all can be done from a relatively simple
-XML declaration of what you want done. Also in a large project
-(especially open source) there is no means of dictating which IDE to use.
-Ant gives IDE independence, cross platform portability and ease of
-extensibility.
-
-Projects using .net should be able to use the same tool. This will
-avoid everyone being dependent on Visual Studio.net (if they have it)
-supplemented with makefiles and batch files. Anyone doing mixed java/dotnet
-development will be particulary grateful, as they can have a unified build
-process.
-
-If at sometime in the future bits of .net do appear on different platforms
-then ant based build files will migrate -once the ant tasks have been
-migrated and any hard codings of DOS-descendant file system conventions
-removed from the build.xml files.
-
-The esoteric tasks can then supported on demand by those who need them.
-The initial .net tasks should provide a foundation for that demand creation
-to be simple.
-External changes
All parameters are optional: <csc/> should suffice to produce a debug
@@ -193,13 +24,16 @@ enumeration, so are one of the first attributes to consider adding.
-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,
+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-
+When this happens the destFile -if not specified-
is taken as the first file in the list, which may be somewhat hard to control.
-Specifying the output file with 'outfile' seems prudent. .NET classes for Ant
+
+.NET tasks
-Vision
-Detail
-
-Key .net Tasks
-
-
-
-
-Ant Wrapper for net tasks
-
-Rarely used .net command line tools can be invoked manually. The key tasks
-to address are the common steps in a build process and those which benefit
-from the file pattern matching function.
-
-Plan
-
-
-
-
-Risks
-
-
-Using Ant in .net projects
-
-To use the net tasks one needs
-
-
-
-
-
- Change Log
-
-Version 0.5
-This revision goes along with NET 1.0 (SP1)
-
-
-
-Version 0.4
-This is the beta-2 revision of the tasks.
-
-
-
-Version 0.3
-
-The changes here reflect Beta-1 of the dotnet SDK and experience of use in
-more complex projects. This build does not work with the older SDK,
-primarily because the automatic reference feature references libraries
-only found in the new SDK version.
-
-
-
-Internal changes
-
-
-
-The test harness has been expanded to include unicode source file
-(the build works but the rest of the system has 'issues' with high unicode
-package and method names)
-
-Version 0.2
-First public edition, added to the ant cvs tree. Tested on the PDC build of
-the dotnet SDK only, and still immature. The command execution code was
-refactored out into a 'NetCommand' class for re-use. The Ilasm task was added
-at this time.
-
-Version 0.1
-Initial proof of concept; very rudimentary support for CSC only.
-
-
-Task: CSC
+<CSC>
This task compiles CSharp source into executables or modules.
-This task compiles CSharp source into executables or modules.
-The task will only work on win2K until other platforms support csc.exe or
-an equivalent. CSC.exe must be on the execute path too.
+This task compiles CSharp source into executables or modules. The task will
+only work on win2K/XP or other platforms with csc.exe or an equivalent.
+CSC must be on the execute path.
+Also, dependency checking only works if destfile is set.
debug | include debug information | -"true"(default) or "false" | +"true"(default) | |||||||||||||||||||||||||
destFile | +name of exe/library to create | +"example.exe" | +||||||||||||||||||||||||||
docFile | name of file for documentation | @@ -313,11 +152,6 @@ Specifying the output file with 'outfile' seems prudent.optimisation flag | "true" or "false"(default) | |||||||||||||||||||||||||
outputFile | -filename of output | -"example.exe" | -||||||||||||||||||||||||||
references | Semicolon separated list of dlls to refer to | @@ -383,11 +217,11 @@ Example definitions="RELEASE" excludes="src/unicode_class.cs" mainClass = "MainApp" - outputFile="NetApp.exe" + destFile="NetApp.exe" />debug | include debug information | true (default) | -||||||||||||||||||||||||
excludes | @@ -449,16 +283,16 @@ manually specified with outfile||||||||||||||||||||||||||||
failOnError | -Should a failed compile halt the build? | -"true"(default) | -||||||||||||||||||||||||||
failOnError | +Should a failed compile halt the build? | +"true"(default) | +||||||||||||||||||||||||||
fullpaths | Should error text provide the full path to files | "true"(default) | -||||||||||||||||||||||||||
includes | comma separated list of patterns of files that must be
@@ -517,7 +351,143 @@ Example
owner="secret"
/>
+<WsdlToDotnet>+Why add a wrapper to the MS WSDL tool? +So that you can verify that your web services, be they written with Axis or +anyone else's SOAP toolkit, work with .NET clients. +
+This task is dependency aware when using a file as a source and destination;
+so if you <get> the file (with
+ + + Change Log+ +Version 0.5+This revision goes along with NET 1.0 (SP1) +
Version 0.4+This is the beta-2 revision of the tasks. +
Version 0.3+ +The changes here reflect Beta-1 of the dotnet SDK and experience of use in +more complex projects. This build does not work with the older SDK, +primarily because the automatic reference feature references libraries +only found in the new SDK version. ++External changes +
Version 0.2+First public edition, added to the ant cvs tree. Tested on the PDC build of +the dotnet SDK only, and still immature. The command execution code was +refactored out into a 'NetCommand' class for re-use. The Ilasm task was added +at this time. + +Version 0.1+Initial proof of concept; very rudimentary support for CSC only. + +Copyright © 2000-2002 Apache Software Foundation. All rights Reserved. |