nant 0.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/docs/help/elements/NAnt.Compression.Tasks.ExpandBaseTask.html +74 -0
- data/docs/help/elements/NAnt.Core.DataTypeBase.html +56 -0
- data/docs/help/elements/NAnt.Core.Filters.ChainableReader.html +29 -0
- data/docs/help/elements/NAnt.Core.Filters.Filter.html +56 -0
- data/docs/help/elements/NAnt.Core.Target.html +81 -0
- data/docs/help/elements/NAnt.Core.Task.html +29 -0
- data/docs/help/elements/NAnt.Core.TaskContainer.html +68 -0
- data/docs/help/elements/NAnt.Core.Tasks.ExternalProgramBase.html +132 -0
- data/docs/help/elements/NAnt.Core.Tasks.InElement.html +49 -0
- data/docs/help/elements/NAnt.Core.Types.Argument.html +121 -0
- data/docs/help/elements/NAnt.Core.Types.EnvironmentSet.html +65 -0
- data/docs/help/elements/NAnt.Core.Types.EnvironmentVariable.html +99 -0
- data/docs/help/elements/NAnt.Core.Types.FileSet.Exclude.html +63 -0
- data/docs/help/elements/NAnt.Core.Types.FileSet.ExcludesFile.html +63 -0
- data/docs/help/elements/NAnt.Core.Types.FileSet.Include.html +75 -0
- data/docs/help/elements/NAnt.Core.Types.FileSet.IncludesFile.html +75 -0
- data/docs/help/elements/NAnt.Core.Types.Formatter.html +69 -0
- data/docs/help/elements/NAnt.Core.Types.Option.html +68 -0
- data/docs/help/elements/NAnt.Core.Types.PathElement.html +74 -0
- data/docs/help/elements/NAnt.Core.Types.Pattern.html +63 -0
- data/docs/help/elements/NAnt.Core.Types.RawXml.html +33 -0
- data/docs/help/elements/NAnt.Core.Types.Token.html +68 -0
- data/docs/help/elements/NAnt.Core.Types.XmlNamespace.html +68 -0
- data/docs/help/elements/NAnt.Core.Types.XsltExtensionObject.html +74 -0
- data/docs/help/elements/NAnt.Core.Types.XsltParameter.html +74 -0
- data/docs/help/elements/NAnt.DotNet.Tasks.CompilerBase.html +337 -0
- data/docs/help/elements/NAnt.DotNet.Types.AssemblyAttribute.html +74 -0
- data/docs/help/elements/NAnt.DotNet.Types.CompilerWarning.html +62 -0
- data/docs/help/elements/NAnt.DotNet.Types.DataTypeCollectionBase.html +56 -0
- data/docs/help/elements/NAnt.DotNet.Types.EmbeddedResourceCollection.html +29 -0
- data/docs/help/elements/NAnt.DotNet.Types.LibDirectorySet.html +61 -0
- data/docs/help/elements/NAnt.DotNet.Types.Module.html +56 -0
- data/docs/help/elements/NAnt.DotNet.Types.NamespaceImport.html +69 -0
- data/docs/help/elements/NAnt.DotNet.Types.Package.html +62 -0
- data/docs/help/elements/NAnt.NUnit.Types.FormatterElement.html +70 -0
- data/docs/help/elements/NAnt.NUnit1.Types.NUnitTest.html +92 -0
- data/docs/help/elements/NAnt.NUnit2.Types.Category.html +62 -0
- data/docs/help/elements/NAnt.NUnit2.Types.NUnit2Test.html +111 -0
- data/docs/help/elements/NAnt.SourceControl.Tasks.AbstractCvsTask.html +239 -0
- data/docs/help/elements/NAnt.SourceControl.Tasks.AbstractSourceControlTask.html +167 -0
- data/docs/help/elements/NAnt.VSNet.Types.WebMap.html +74 -0
- data/docs/help/elements/NAnt.VisualCpp.Types.Library.html +62 -0
- data/docs/help/elements/NAnt.VisualCpp.Types.Symbol.html +62 -0
- data/docs/help/enums/NAnt.Compression.Types.DuplicateHandling.html +54 -0
- data/docs/help/enums/NAnt.Compression.Types.TarCompressionMethod.html +54 -0
- data/docs/help/enums/NAnt.Core.FrameworkTypes.html +74 -0
- data/docs/help/enums/NAnt.Core.Level.html +66 -0
- data/docs/help/enums/NAnt.Core.Tasks.AvailableTask.ResourceType.html +58 -0
- data/docs/help/enums/NAnt.Core.Tasks.LoopTask.LoopItem.html +63 -0
- data/docs/help/enums/NAnt.Core.Tasks.LoopTask.LoopTrim.html +59 -0
- data/docs/help/enums/NAnt.Core.Types.ManagedExecution.html +77 -0
- data/docs/help/enums/NAnt.DotNet.Tasks.AssemblyInfoTask.CodeLanguage.html +54 -0
- data/docs/help/enums/NAnt.DotNet.Tasks.RegsvcsTask.ActionType.html +54 -0
- data/docs/help/enums/NAnt.DotNet.Types.DebugOutput.html +84 -0
- data/docs/help/enums/NAnt.DotNet.Types.DelaySign.html +75 -0
- data/docs/help/enums/NAnt.MSNet.Tasks.ServiceControllerTask.ActionType.html +62 -0
- data/docs/help/enums/NAnt.NUnit.Types.FormatterType.html +50 -0
- data/docs/help/enums/NAnt.VisualCpp.Tasks.ClTask.PrecompiledHeaderMode.html +54 -0
- data/docs/help/enums/NAnt.VisualCpp.Types.CharacterSet.html +54 -0
- data/docs/help/filters/expandproperties.html +33 -0
- data/docs/help/filters/index.html +60 -0
- data/docs/help/filters/replacestring.html +92 -0
- data/docs/help/filters/replacetokens.html +110 -0
- data/docs/help/filters/tabstospaces.html +73 -0
- data/docs/help/functions/assembly.get-full-name(System.Reflection.Assembly).html +51 -0
- data/docs/help/functions/assembly.get-location(System.Reflection.Assembly).html +51 -0
- data/docs/help/functions/assembly.get-name(System.Reflection.Assembly).html +52 -0
- data/docs/help/functions/assembly.load(System.String).html +55 -0
- data/docs/help/functions/assembly.load-from-file(System.String).html +52 -0
- data/docs/help/functions/assemblyname.get-assembly-name(System.String).html +54 -0
- data/docs/help/functions/assemblyname.get-codebase(System.Reflection.AssemblyName).html +51 -0
- data/docs/help/functions/assemblyname.get-escaped-codebase(System.Reflection.AssemblyName).html +51 -0
- data/docs/help/functions/assemblyname.get-full-name(System.Reflection.AssemblyName).html +53 -0
- data/docs/help/functions/assemblyname.get-name(System.Reflection.AssemblyName).html +53 -0
- data/docs/help/functions/assemblyname.get-version(System.Reflection.AssemblyName).html +54 -0
- data/docs/help/functions/bool.parse(System.String).html +52 -0
- data/docs/help/functions/bool.to-string(System.Boolean).html +49 -0
- data/docs/help/functions/convert.to-boolean(System.Boolean).html +53 -0
- data/docs/help/functions/convert.to-datetime(System.DateTime).html +53 -0
- data/docs/help/functions/convert.to-double(System.Double).html +53 -0
- data/docs/help/functions/convert.to-int(System.Int32).html +53 -0
- data/docs/help/functions/convert.to-string(System.String).html +53 -0
- data/docs/help/functions/cygpath.get-dos-path(System.String).html +51 -0
- data/docs/help/functions/cygpath.get-unix-path(System.String).html +51 -0
- data/docs/help/functions/cygpath.get-windows-path(System.String).html +51 -0
- data/docs/help/functions/datetime.get-day(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-day-of-week(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-day-of-year(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-days-in-month(System.Int32,System.Int32).html +56 -0
- data/docs/help/functions/datetime.get-hour(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-millisecond(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-minute(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-month(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-second(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-ticks(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.get-year(System.DateTime).html +49 -0
- data/docs/help/functions/datetime.is-leap-year(System.Int32).html +50 -0
- data/docs/help/functions/datetime.now().html +34 -0
- data/docs/help/functions/datetime.parse(System.String).html +51 -0
- data/docs/help/functions/datetime.to-string(System.DateTime).html +49 -0
- data/docs/help/functions/directory.exists(System.String).html +52 -0
- data/docs/help/functions/directory.get-creation-time(System.String).html +51 -0
- data/docs/help/functions/directory.get-current-directory().html +34 -0
- data/docs/help/functions/directory.get-directory-root(System.String).html +51 -0
- data/docs/help/functions/directory.get-last-access-time(System.String).html +51 -0
- data/docs/help/functions/directory.get-last-write-time(System.String).html +51 -0
- data/docs/help/functions/directory.get-parent-directory(System.String).html +55 -0
- data/docs/help/functions/dns.get-host-name().html +36 -0
- data/docs/help/functions/double.parse(System.String).html +51 -0
- data/docs/help/functions/double.to-string(System.Double).html +49 -0
- data/docs/help/functions/environment.get-folder-path(System.Environment.SpecialFolder).html +55 -0
- data/docs/help/functions/environment.get-machine-name().html +36 -0
- data/docs/help/functions/environment.get-operating-system().html +38 -0
- data/docs/help/functions/environment.get-user-name().html +40 -0
- data/docs/help/functions/environment.get-variable(System.String).html +51 -0
- data/docs/help/functions/environment.get-version().html +37 -0
- data/docs/help/functions/environment.newline().html +36 -0
- data/docs/help/functions/environment.variable-exists(System.String).html +54 -0
- data/docs/help/functions/file.exists(System.String).html +54 -0
- data/docs/help/functions/file.get-creation-time(System.String).html +51 -0
- data/docs/help/functions/file.get-last-access-time(System.String).html +51 -0
- data/docs/help/functions/file.get-last-write-time(System.String).html +51 -0
- data/docs/help/functions/file.get-length(System.String).html +51 -0
- data/docs/help/functions/file.is-assembly(System.String).html +51 -0
- data/docs/help/functions/file.up-to-date(System.String,System.String).html +57 -0
- data/docs/help/functions/fileversioninfo.get-company-name(System.Diagnostics.FileVersionInfo).html +51 -0
- data/docs/help/functions/fileversioninfo.get-file-version(System.Diagnostics.FileVersionInfo).html +52 -0
- data/docs/help/functions/fileversioninfo.get-product-name(System.Diagnostics.FileVersionInfo).html +51 -0
- data/docs/help/functions/fileversioninfo.get-product-version(System.Diagnostics.FileVersionInfo).html +52 -0
- data/docs/help/functions/fileversioninfo.get-version-info(System.String).html +52 -0
- data/docs/help/functions/framework.exists(System.String).html +50 -0
- data/docs/help/functions/framework.get-assembly-directory(System.String).html +51 -0
- data/docs/help/functions/framework.get-clr-version().html +35 -0
- data/docs/help/functions/framework.get-clr-version(System.String).html +52 -0
- data/docs/help/functions/framework.get-description().html +34 -0
- data/docs/help/functions/framework.get-description(System.String).html +51 -0
- data/docs/help/functions/framework.get-family(System.String).html +51 -0
- data/docs/help/functions/framework.get-framework-directory(System.String).html +51 -0
- data/docs/help/functions/framework.get-frameworks(NAnt.Core.FrameworkTypes).html +62 -0
- data/docs/help/functions/framework.get-runtime-engine(System.String).html +51 -0
- data/docs/help/functions/framework.get-runtime-framework().html +34 -0
- data/docs/help/functions/framework.get-sdk-directory(System.String).html +51 -0
- data/docs/help/functions/framework.get-target-framework().html +34 -0
- data/docs/help/functions/framework.get-tool-path(System.String).html +56 -0
- data/docs/help/functions/framework.get-version().html +35 -0
- data/docs/help/functions/framework.get-version(System.String).html +52 -0
- data/docs/help/functions/framework.sdk-exists(System.String).html +50 -0
- data/docs/help/functions/index.html +1328 -0
- data/docs/help/functions/int.parse(System.String).html +51 -0
- data/docs/help/functions/int.to-string(System.Int32).html +49 -0
- data/docs/help/functions/long.parse(System.String).html +51 -0
- data/docs/help/functions/long.to-string(System.Int64).html +49 -0
- data/docs/help/functions/math.abs(System.Double).html +50 -0
- data/docs/help/functions/math.ceiling(System.Double).html +49 -0
- data/docs/help/functions/math.floor(System.Double).html +49 -0
- data/docs/help/functions/math.round(System.Double).html +49 -0
- data/docs/help/functions/nant.get-assembly().html +35 -0
- data/docs/help/functions/nant.get-base-directory().html +34 -0
- data/docs/help/functions/operating-system.get-platform(System.OperatingSystem).html +53 -0
- data/docs/help/functions/operating-system.get-version(System.OperatingSystem).html +52 -0
- data/docs/help/functions/operating-system.to-string(System.OperatingSystem).html +54 -0
- data/docs/help/functions/path.change-extension(System.String,System.String).html +59 -0
- data/docs/help/functions/path.combine(System.String,System.String).html +56 -0
- data/docs/help/functions/path.get-directory-name(System.String).html +51 -0
- data/docs/help/functions/path.get-extension(System.String).html +51 -0
- data/docs/help/functions/path.get-file-name(System.String).html +54 -0
- data/docs/help/functions/path.get-file-name-without-extension(System.String).html +51 -0
- data/docs/help/functions/path.get-full-path(System.String).html +51 -0
- data/docs/help/functions/path.get-path-root(System.String).html +51 -0
- data/docs/help/functions/path.get-temp-file-name().html +34 -0
- data/docs/help/functions/path.get-temp-path().html +34 -0
- data/docs/help/functions/path.has-extension(System.String).html +52 -0
- data/docs/help/functions/path.is-path-rooted(System.String).html +52 -0
- data/docs/help/functions/pkg-config.exists(System.String).html +52 -0
- data/docs/help/functions/pkg-config.get-compile-flags(System.String).html +51 -0
- data/docs/help/functions/pkg-config.get-link-flags(System.String).html +51 -0
- data/docs/help/functions/pkg-config.get-mod-version(System.String).html +51 -0
- data/docs/help/functions/pkg-config.get-variable(System.String,System.String).html +56 -0
- data/docs/help/functions/pkg-config.is-atleast-version(System.String,System.String).html +57 -0
- data/docs/help/functions/pkg-config.is-between-version(System.String,System.String,System.String).html +62 -0
- data/docs/help/functions/pkg-config.is-exact-version(System.String,System.String).html +57 -0
- data/docs/help/functions/pkg-config.is-max-version(System.String,System.String).html +57 -0
- data/docs/help/functions/platform.get-name().html +34 -0
- data/docs/help/functions/platform.is-unix().html +35 -0
- data/docs/help/functions/platform.is-win32().html +38 -0
- data/docs/help/functions/platform.is-windows().html +35 -0
- data/docs/help/functions/project.get-base-directory().html +34 -0
- data/docs/help/functions/project.get-buildfile-path().html +34 -0
- data/docs/help/functions/project.get-buildfile-uri().html +34 -0
- data/docs/help/functions/project.get-default-target().html +34 -0
- data/docs/help/functions/project.get-name().html +34 -0
- data/docs/help/functions/property.exists(System.String).html +56 -0
- data/docs/help/functions/property.get-value(System.String).html +49 -0
- data/docs/help/functions/property.is-dynamic(System.String).html +52 -0
- data/docs/help/functions/property.is-readonly(System.String).html +52 -0
- data/docs/help/functions/string.contains(System.String,System.String).html +55 -0
- data/docs/help/functions/string.ends-with(System.String,System.String).html +55 -0
- data/docs/help/functions/string.get-length(System.String).html +49 -0
- data/docs/help/functions/string.index-of(System.String,System.String).html +57 -0
- data/docs/help/functions/string.last-index-of(System.String,System.String).html +57 -0
- data/docs/help/functions/string.pad-left(System.String,System.Int32,System.String).html +61 -0
- data/docs/help/functions/string.pad-right(System.String,System.Int32,System.String).html +61 -0
- data/docs/help/functions/string.replace(System.String,System.String,System.String).html +61 -0
- data/docs/help/functions/string.starts-with(System.String,System.String).html +55 -0
- data/docs/help/functions/string.substring(System.String,System.Int32,System.Int32).html +64 -0
- data/docs/help/functions/string.to-lower(System.String).html +49 -0
- data/docs/help/functions/string.to-upper(System.String).html +49 -0
- data/docs/help/functions/string.trim(System.String).html +49 -0
- data/docs/help/functions/string.trim-end(System.String).html +49 -0
- data/docs/help/functions/string.trim-start(System.String).html +49 -0
- data/docs/help/functions/target.exists(System.String).html +54 -0
- data/docs/help/functions/target.get-current-target().html +36 -0
- data/docs/help/functions/target.has-executed(System.String).html +52 -0
- data/docs/help/functions/task.exists(System.String).html +50 -0
- data/docs/help/functions/task.get-assembly(System.String).html +52 -0
- data/docs/help/functions/timespan.from-days(System.Double).html +49 -0
- data/docs/help/functions/timespan.from-hours(System.Double).html +49 -0
- data/docs/help/functions/timespan.from-milliseconds(System.Double).html +49 -0
- data/docs/help/functions/timespan.from-minutes(System.Double).html +49 -0
- data/docs/help/functions/timespan.from-seconds(System.Double).html +49 -0
- data/docs/help/functions/timespan.from-ticks(System.Int64).html +49 -0
- data/docs/help/functions/timespan.get-days(System.TimeSpan).html +55 -0
- data/docs/help/functions/timespan.get-hours(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-milliseconds(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-minutes(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-seconds(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-ticks(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-total-days(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-total-hours(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-total-milliseconds(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-total-minutes(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.get-total-seconds(System.TimeSpan).html +49 -0
- data/docs/help/functions/timespan.parse(System.String).html +51 -0
- data/docs/help/functions/timespan.to-string(System.TimeSpan).html +49 -0
- data/docs/help/functions/version.get-build(System.Version).html +51 -0
- data/docs/help/functions/version.get-major(System.Version).html +51 -0
- data/docs/help/functions/version.get-minor(System.Version).html +51 -0
- data/docs/help/functions/version.get-revision(System.Version).html +51 -0
- data/docs/help/functions/version.parse(System.String).html +52 -0
- data/docs/help/functions/version.to-string(System.Version).html +51 -0
- data/docs/help/fundamentals/buildfiles.html +81 -0
- data/docs/help/fundamentals/expressions.html +2127 -0
- data/docs/help/fundamentals/functions.html +311 -0
- data/docs/help/fundamentals/index.html +35 -0
- data/docs/help/fundamentals/listeners.html +318 -0
- data/docs/help/fundamentals/projects.html +71 -0
- data/docs/help/fundamentals/properties.html +314 -0
- data/docs/help/fundamentals/running-nant.html +92 -0
- data/docs/help/fundamentals/targets.html +136 -0
- data/docs/help/fundamentals/tasks.html +277 -0
- data/docs/help/images/arrow.gif +0 -0
- data/docs/help/images/bullet.gif +0 -0
- data/docs/help/images/logo.gif +0 -0
- data/docs/help/index.html +61 -0
- data/docs/help/introduction/fog0000000006.html +42 -0
- data/docs/help/introduction/fog0000000041.html +39 -0
- data/docs/help/introduction/fog0000000042.html +32 -0
- data/docs/help/introduction/fog0000000079.html +32 -0
- data/docs/help/introduction/fog0000000081.html +35 -0
- data/docs/help/introduction/getting-started.gif +0 -0
- data/docs/help/introduction/index.html +35 -0
- data/docs/help/introduction/installation.html +164 -0
- data/docs/help/style.css +213 -0
- data/docs/help/tasks/al.html +325 -0
- data/docs/help/tasks/asminfo.html +159 -0
- data/docs/help/tasks/attrib.html +146 -0
- data/docs/help/tasks/available.html +153 -0
- data/docs/help/tasks/aximp.html +192 -0
- data/docs/help/tasks/call.html +160 -0
- data/docs/help/tasks/cl.html +266 -0
- data/docs/help/tasks/copy.html +191 -0
- data/docs/help/tasks/csc.html +467 -0
- data/docs/help/tasks/cvs-changelog.html +263 -0
- data/docs/help/tasks/cvs-checkout.html +304 -0
- data/docs/help/tasks/cvs-export.html +304 -0
- data/docs/help/tasks/cvs-pass.html +97 -0
- data/docs/help/tasks/cvs-rtag.html +307 -0
- data/docs/help/tasks/cvs-tag.html +307 -0
- data/docs/help/tasks/cvs-update.html +310 -0
- data/docs/help/tasks/cvs.html +257 -0
- data/docs/help/tasks/delay-sign.html +168 -0
- data/docs/help/tasks/delete.html +130 -0
- data/docs/help/tasks/description.html +77 -0
- data/docs/help/tasks/echo.html +148 -0
- data/docs/help/tasks/exec.html +247 -0
- data/docs/help/tasks/fail.html +97 -0
- data/docs/help/tasks/foreach.html +199 -0
- data/docs/help/tasks/get.html +168 -0
- data/docs/help/tasks/gunzip.html +89 -0
- data/docs/help/tasks/if.html +255 -0
- data/docs/help/tasks/ifnot.html +164 -0
- data/docs/help/tasks/ilasm.html +239 -0
- data/docs/help/tasks/ildasm.html +249 -0
- data/docs/help/tasks/include.html +92 -0
- data/docs/help/tasks/index.html +490 -0
- data/docs/help/tasks/jsc.html +315 -0
- data/docs/help/tasks/lib.html +201 -0
- data/docs/help/tasks/license.html +166 -0
- data/docs/help/tasks/link.html +244 -0
- data/docs/help/tasks/loadfile.html +135 -0
- data/docs/help/tasks/loadtasks.html +119 -0
- data/docs/help/tasks/mail.html +166 -0
- data/docs/help/tasks/mc.html +167 -0
- data/docs/help/tasks/midl.html +276 -0
- data/docs/help/tasks/mkdir.html +89 -0
- data/docs/help/tasks/move.html +190 -0
- data/docs/help/tasks/nant.html +164 -0
- data/docs/help/tasks/nantschema.html +96 -0
- data/docs/help/tasks/ndoc.html +172 -0
- data/docs/help/tasks/nunit.html +132 -0
- data/docs/help/tasks/nunit2.html +164 -0
- data/docs/help/tasks/property.html +136 -0
- data/docs/help/tasks/rc.html +189 -0
- data/docs/help/tasks/readregistry.html +111 -0
- data/docs/help/tasks/regasm.html +220 -0
- data/docs/help/tasks/regex.html +116 -0
- data/docs/help/tasks/regsvcs.html +221 -0
- data/docs/help/tasks/resgen.html +217 -0
- data/docs/help/tasks/script.html +268 -0
- data/docs/help/tasks/servicecontroller.html +109 -0
- data/docs/help/tasks/setenv.html +223 -0
- data/docs/help/tasks/sleep.html +107 -0
- data/docs/help/tasks/solution.html +237 -0
- data/docs/help/tasks/style.html +193 -0
- data/docs/help/tasks/sysinfo.html +193 -0
- data/docs/help/tasks/tar.html +119 -0
- data/docs/help/tasks/tlbexp.html +160 -0
- data/docs/help/tasks/tlbimp.html +249 -0
- data/docs/help/tasks/touch.html +120 -0
- data/docs/help/tasks/tstamp.html +159 -0
- data/docs/help/tasks/untar.html +104 -0
- data/docs/help/tasks/unzip.html +104 -0
- data/docs/help/tasks/uptodate.html +46 -0
- data/docs/help/tasks/vbc.html +478 -0
- data/docs/help/tasks/vjc.html +362 -0
- data/docs/help/tasks/xmlpeek.html +129 -0
- data/docs/help/tasks/xmlpoke.html +141 -0
- data/docs/help/tasks/zip.html +145 -0
- data/docs/help/types/assemblyfileset.html +280 -0
- data/docs/help/types/categories.html +102 -0
- data/docs/help/types/credential.html +86 -0
- data/docs/help/types/cvsfileset.html +193 -0
- data/docs/help/types/dirset.html +61 -0
- data/docs/help/types/fileset.html +305 -0
- data/docs/help/types/filterchain.html +109 -0
- data/docs/help/types/index.html +136 -0
- data/docs/help/types/moduleset.html +90 -0
- data/docs/help/types/namespaceimports.html +94 -0
- data/docs/help/types/path.html +95 -0
- data/docs/help/types/patternset.html +223 -0
- data/docs/help/types/proxy.html +99 -0
- data/docs/help/types/resourcefileset.html +199 -0
- data/docs/help/types/tarfileset.html +229 -0
- data/docs/help/types/warnaserror.html +102 -0
- data/docs/help/types/zipfileset.html +193 -0
- data/docs/license.html +81 -0
- data/docs/releasenotes.html +3961 -0
- data/docs/sdk/NAnt-SDK.chm +0 -0
- data/lib/COPYING.txt +340 -0
- data/lib/NAnt.CompressionTasks.dll +0 -0
- data/lib/NAnt.CompressionTasks.xml +711 -0
- data/lib/NAnt.Core.dll +0 -0
- data/lib/NAnt.Core.xml +16161 -0
- data/lib/NAnt.DotNetTasks.dll +0 -0
- data/lib/NAnt.DotNetTasks.xml +5334 -0
- data/lib/NAnt.MSNetTasks.dll +0 -0
- data/lib/NAnt.MSNetTasks.xml +579 -0
- data/lib/NAnt.NUnit.dll +0 -0
- data/lib/NAnt.NUnit.xml +353 -0
- data/lib/NAnt.NUnit1Tasks.dll +0 -0
- data/lib/NAnt.NUnit1Tasks.xml +538 -0
- data/lib/NAnt.NUnit2Tasks.dll +0 -0
- data/lib/NAnt.NUnit2Tasks.xml +584 -0
- data/lib/NAnt.SourceControlTasks.dll +0 -0
- data/lib/NAnt.SourceControlTasks.xml +1279 -0
- data/lib/NAnt.VSNetTasks.dll +0 -0
- data/lib/NAnt.VSNetTasks.xml +3961 -0
- data/lib/NAnt.VisualCppTasks.dll +0 -0
- data/lib/NAnt.VisualCppTasks.xml +1211 -0
- data/lib/NAnt.Win32Tasks.dll +0 -0
- data/lib/NAnt.Win32Tasks.xml +690 -0
- data/lib/NAnt.exe +0 -0
- data/lib/NAnt.exe.config +1996 -0
- data/lib/NAnt.xml +78 -0
- data/lib/NDoc.Documenter.NAnt.dll +0 -0
- data/lib/README.txt +158 -0
- data/lib/extensions/common/2.0/NAnt.MSBuild.dll +0 -0
- data/lib/extensions/common/2.0/NAnt.MSBuild.xml +36 -0
- data/lib/lib/common/1.1/nunit-console-runner.dll +0 -0
- data/lib/lib/common/1.1/nunit-console.exe +0 -0
- data/lib/lib/common/1.1/nunit.core.dll +0 -0
- data/lib/lib/common/1.1/nunit.framework.dll +0 -0
- data/lib/lib/common/1.1/nunit.util.dll +0 -0
- data/lib/lib/common/2.0/nunit-console-runner.dll +0 -0
- data/lib/lib/common/2.0/nunit-console.exe +0 -0
- data/lib/lib/common/2.0/nunit.core.dll +0 -0
- data/lib/lib/common/2.0/nunit.framework.dll +0 -0
- data/lib/lib/common/2.0/nunit.util.dll +0 -0
- data/lib/lib/common/neutral/ICSharpCode.SharpCvsLib.Console.dll +0 -0
- data/lib/lib/common/neutral/ICSharpCode.SharpCvsLib.dll +0 -0
- data/lib/lib/common/neutral/ICSharpCode.SharpZipLib.dll +0 -0
- data/lib/lib/common/neutral/NDoc.Core.dll +0 -0
- data/lib/lib/common/neutral/NDoc.Documenter.Msdn.dll +0 -0
- data/lib/lib/common/neutral/NDoc.ExtendedUI.dll +0 -0
- data/lib/lib/common/neutral/NUnitCore.dll +0 -0
- data/lib/lib/net/1.0/NDoc.Core.dll +0 -0
- data/lib/lib/net/1.0/NDoc.Documenter.Msdn.dll +0 -0
- data/lib/lib/net/1.0/NDoc.ExtendedUI.dll +0 -0
- data/lib/lib/net/1.0/nunit-console-runner.dll +0 -0
- data/lib/lib/net/1.0/nunit-console.exe +0 -0
- data/lib/lib/net/1.0/nunit.core.dll +0 -0
- data/lib/lib/net/1.0/nunit.framework.dll +0 -0
- data/lib/lib/net/1.0/nunit.util.dll +0 -0
- data/lib/log4net.dll +0 -0
- data/lib/scvs.exe +0 -0
- metadata +484 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
3
|
+
<head>
|
|
4
|
+
<meta http-equiv="Content-Language" content="en-ca" />
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<meta name="description" content="Projects" />
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="../style.css" />
|
|
8
|
+
<title>NAnt - Projects</title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
|
|
12
|
+
<tr>
|
|
13
|
+
<td class="NavBar-Cell">
|
|
14
|
+
<a title="NAnt home page" href="http://nant.sourceforge.net"><b>NAnt</b></a> <img src="../images/arrow.gif" alt="->" width="13" height="9" />
|
|
15
|
+
<a href="../index.html">Help</a> <img alt="->" src="../images/arrow.gif" /> <a href="index.html">
|
|
16
|
+
Fundamentals</a> <img height="9" alt="->" src="../images/arrow.gif" width="13" />
|
|
17
|
+
Projects
|
|
18
|
+
</td>
|
|
19
|
+
<td class="NavBar-Cell" align="right">
|
|
20
|
+
v0.90
|
|
21
|
+
</td>
|
|
22
|
+
</tr>
|
|
23
|
+
</table>
|
|
24
|
+
<h1>Projects</h1>
|
|
25
|
+
|
|
26
|
+
<p>A project has these attributes:</p>
|
|
27
|
+
<div class="table">
|
|
28
|
+
<table>
|
|
29
|
+
<colgroup>
|
|
30
|
+
<col />
|
|
31
|
+
<col />
|
|
32
|
+
<col style="text-align: center;" />
|
|
33
|
+
</colgroup>
|
|
34
|
+
<tbody>
|
|
35
|
+
<tr>
|
|
36
|
+
<th>
|
|
37
|
+
Attribute</th>
|
|
38
|
+
<th>
|
|
39
|
+
Description</th>
|
|
40
|
+
<th>
|
|
41
|
+
Required</th>
|
|
42
|
+
</tr>
|
|
43
|
+
<tr>
|
|
44
|
+
<td>name</td>
|
|
45
|
+
<td>The name of the project.</td>
|
|
46
|
+
<td>No</td>
|
|
47
|
+
</tr>
|
|
48
|
+
<tr>
|
|
49
|
+
<td>default</td>
|
|
50
|
+
<td>The default target to execute when no target is supplied on the command-line.</td>
|
|
51
|
+
<td>No</td>
|
|
52
|
+
</tr>
|
|
53
|
+
<tr>
|
|
54
|
+
<td>basedir</td>
|
|
55
|
+
<td>The base directory from which all path calculations are done. If not set, the parent directory of the buildfile will be used.</td>
|
|
56
|
+
<td>No</td>
|
|
57
|
+
</tr>
|
|
58
|
+
</tbody>
|
|
59
|
+
</table>
|
|
60
|
+
</div>
|
|
61
|
+
<p>Optionally, a description for the project can be provided as a top-level <code><description></code>
|
|
62
|
+
element. The text contained in the description element is used when the <code style="whitespace: nowrap;">-projecthelp</code> command line option is used. See the <a href="buildfiles.html">
|
|
63
|
+
example build file</a> for details.</p>
|
|
64
|
+
<p>Each project defines zero or more <a href="targets.html">targets</a>.
|
|
65
|
+
A target is a set of <a href="tasks.html">tasks</a> to be
|
|
66
|
+
executed. When starting NAnt, you can select which target(s) you want to
|
|
67
|
+
have executed. When no target is given, the project's default target is used.
|
|
68
|
+
When no target and no default target are specified, only the global tasks of the
|
|
69
|
+
project are executed.</p>
|
|
70
|
+
</body>
|
|
71
|
+
</html>
|
|
@@ -0,0 +1,314 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
3
|
+
<head>
|
|
4
|
+
<meta http-equiv="Content-Language" content="en-ca" />
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<meta name="description" content="Properties" />
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="../style.css" />
|
|
8
|
+
<title>NAnt - Properties</title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
|
|
12
|
+
<tr>
|
|
13
|
+
<td class="NavBar-Cell">
|
|
14
|
+
<a title="NAnt home page" href="http://nant.sourceforge.net"><b>NAnt</b></a> <img src="../images/arrow.gif" alt="->" width="13" height="9" />
|
|
15
|
+
<a href="../index.html">Help</a> <img alt="->" src="../images/arrow.gif" /> <a href="index.html">
|
|
16
|
+
Fundamentals</a> <img height="9" alt="->" src="../images/arrow.gif" width="13" />
|
|
17
|
+
Properties
|
|
18
|
+
</td>
|
|
19
|
+
<td class="NavBar-Cell" align="right">
|
|
20
|
+
v0.90
|
|
21
|
+
</td>
|
|
22
|
+
</tr>
|
|
23
|
+
</table>
|
|
24
|
+
<h1>Properties</h1>
|
|
25
|
+
|
|
26
|
+
<h2><a id="contents" />Contents</h2>
|
|
27
|
+
<div>
|
|
28
|
+
1 <a href="#introduction">Introduction</a><br />
|
|
29
|
+
2 <a href="#naming-rules">Naming rules</a><br />
|
|
30
|
+
3 <a href="#built-in-properties">Built-in Properties</a><br />
|
|
31
|
+
<div style="margin-left: 20px;">
|
|
32
|
+
3.1 <a href="#framework-related-properties">Framework related Properties</a><br />
|
|
33
|
+
3.2 <a href="#platform-related-properties">Platform related Properties</a>
|
|
34
|
+
</div>
|
|
35
|
+
4 <a href="#readonly-properties">Read-only Properties</a><br />
|
|
36
|
+
5 <a href="#global-properties">Global Properties</a><br />
|
|
37
|
+
6 <a href="#examples">Examples</a><br />
|
|
38
|
+
</div>
|
|
39
|
+
<h2><a id="introduction" />1 Introduction</h2>
|
|
40
|
+
<p>A project can have a set of properties. These might be set in the
|
|
41
|
+
buildfile by the <a href="../tasks/property.html"><property></a> task, or
|
|
42
|
+
might be set outside NAnt. A property has a name and a value. Properties
|
|
43
|
+
may be used in the value of task attributes. This is done by placing the
|
|
44
|
+
property name between "<code>${</code>" and "<code>}</code>" in the attribute
|
|
45
|
+
value. Properties may also be used in <a href="expressions.html">expressions</a>.
|
|
46
|
+
</p>
|
|
47
|
+
<h2><a id="naming-rules" />2 Naming rules</h2>
|
|
48
|
+
<p>A property name is a string of the following characters:</p>
|
|
49
|
+
<ul>
|
|
50
|
+
<li>
|
|
51
|
+
letters (<code>A-Z</code>, <code>a-z</code>),</li>
|
|
52
|
+
<li>
|
|
53
|
+
digits (<code>0-9</code>),</li>
|
|
54
|
+
<li>
|
|
55
|
+
underscore characters (<code>_</code>),</li>
|
|
56
|
+
<li>
|
|
57
|
+
dash characters (<code>-</code>),</li>
|
|
58
|
+
<li>
|
|
59
|
+
dot characters (<code>.</code>),</li>
|
|
60
|
+
</ul>
|
|
61
|
+
<p>In addition, a valid property name must start with a letter or an underscore and
|
|
62
|
+
must end with a letter, digit or an uderscore.</p>
|
|
63
|
+
<p>Examples of valid property names include:</p>
|
|
64
|
+
<ul>
|
|
65
|
+
<li>
|
|
66
|
+
<code>propertyname</code></li>
|
|
67
|
+
<li>
|
|
68
|
+
<code>property.name.with.dots</code></li>
|
|
69
|
+
<li>
|
|
70
|
+
<code>property-name-with-dashes</code></li>
|
|
71
|
+
<li>
|
|
72
|
+
<code>property.name-with.both-dots.and-dashes</code></li>
|
|
73
|
+
<li>
|
|
74
|
+
<code>__prop---3-erty__</code></li>
|
|
75
|
+
<li>
|
|
76
|
+
<code>__prop.1...erty__</code></li>
|
|
77
|
+
<li>
|
|
78
|
+
<code>property1</code></li>
|
|
79
|
+
<li>
|
|
80
|
+
<code>property1.0</code></li>
|
|
81
|
+
<li>
|
|
82
|
+
<code>property2.0.0</code></li>
|
|
83
|
+
<li>
|
|
84
|
+
<code>_property-2-1__</code></li>
|
|
85
|
+
<li>
|
|
86
|
+
<code>property-1-name_</code></li>
|
|
87
|
+
<li>
|
|
88
|
+
<code>property-1.0-name</code></li>
|
|
89
|
+
</ul>
|
|
90
|
+
<p>The following property names are not valid in NAnt:</p>
|
|
91
|
+
<ul>
|
|
92
|
+
<li>
|
|
93
|
+
<code>!@#!@$!@</code> (contains illegal characters)</li>
|
|
94
|
+
<li>
|
|
95
|
+
<code>.aaaaa</code> (starts with a dot)</li>
|
|
96
|
+
<li>
|
|
97
|
+
<code>-aaaaa</code> (starts with a dash)</li>
|
|
98
|
+
<li>
|
|
99
|
+
<code>1aaaaa</code> (starts with a digit)</li>
|
|
100
|
+
<li>
|
|
101
|
+
<code>aaaaa.aaa.a.a.a.a-</code> (ends with a dash)</li>
|
|
102
|
+
<li>
|
|
103
|
+
<code>aaaaa.aaa.a.a.a.a.</code> (ends with a dot)</li>
|
|
104
|
+
</ul>
|
|
105
|
+
<h2><a id="built-in-properties" />3 Built-in Properties</h2>
|
|
106
|
+
<p>NAnt has these built-in properties:</p>
|
|
107
|
+
<div class="table">
|
|
108
|
+
<table>
|
|
109
|
+
<tbody>
|
|
110
|
+
<tr>
|
|
111
|
+
<th>
|
|
112
|
+
Property</th>
|
|
113
|
+
<th>
|
|
114
|
+
Description</th>
|
|
115
|
+
</tr>
|
|
116
|
+
<tr>
|
|
117
|
+
<td>nant.version</td>
|
|
118
|
+
<td><i>Deprecated.</i> The version of NAnt.</td>
|
|
119
|
+
</tr>
|
|
120
|
+
<tr>
|
|
121
|
+
<td>nant.filename</td>
|
|
122
|
+
<td><i>Deprecated.</i> The full path to the NAnt assembly.</td>
|
|
123
|
+
</tr>
|
|
124
|
+
<tr>
|
|
125
|
+
<td>nant.location</td>
|
|
126
|
+
<td><i>Deprecated.</i> The base directory of the NAnt assembly.</td>
|
|
127
|
+
</tr>
|
|
128
|
+
<tr>
|
|
129
|
+
<td>nant.project.basedir</td>
|
|
130
|
+
<td><i>Deprecated.</i> The absolute path of the project's basedir.</td>
|
|
131
|
+
</tr>
|
|
132
|
+
<tr>
|
|
133
|
+
<td>nant.project.buildfile</td>
|
|
134
|
+
<td><i>Deprecated.</i> The absolute path of the buildfile.</td>
|
|
135
|
+
</tr>
|
|
136
|
+
<tr>
|
|
137
|
+
<td>nant.project.name</td>
|
|
138
|
+
<td><i>Deprecated.</i> The name of the project.</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td>nant.project.default</td>
|
|
142
|
+
<td><i>Deprecated.</i> The name of the project's default target.</td>
|
|
143
|
+
</tr>
|
|
144
|
+
<tr>
|
|
145
|
+
<td>nant.onsuccess</td>
|
|
146
|
+
<td>The name of a target to be executed when the build succeeds.</td>
|
|
147
|
+
</tr>
|
|
148
|
+
<tr>
|
|
149
|
+
<td>nant.onfailure</td>
|
|
150
|
+
<td>The name of a target to be executed when the build fails.</td>
|
|
151
|
+
</tr>
|
|
152
|
+
</tbody>
|
|
153
|
+
</table>
|
|
154
|
+
</div>
|
|
155
|
+
<h3><a id="framework-related-properties" />3.1 Framework related Properties:</h3>
|
|
156
|
+
<div class="table">
|
|
157
|
+
<table>
|
|
158
|
+
<tbody>
|
|
159
|
+
<tr>
|
|
160
|
+
<th>
|
|
161
|
+
Property</th>
|
|
162
|
+
<th>
|
|
163
|
+
Description</th>
|
|
164
|
+
</tr>
|
|
165
|
+
<tr>
|
|
166
|
+
<td>nant.settings.currentframework</td>
|
|
167
|
+
<td>The current target framework, eg. 'net-1.0'.</td>
|
|
168
|
+
</tr>
|
|
169
|
+
<tr>
|
|
170
|
+
<td>nant.settings.currentframework.description</td>
|
|
171
|
+
<td><i>Deprecated.</i> Description of the current target framework.</td>
|
|
172
|
+
</tr>
|
|
173
|
+
<tr>
|
|
174
|
+
<td>nant.settings.currentframework.frameworkdirectory</td>
|
|
175
|
+
<td><i>Deprecated.</i> The framework directory of the current target framework.</td>
|
|
176
|
+
</tr>
|
|
177
|
+
<tr>
|
|
178
|
+
<td>nant.settings.currentframework.sdkdirectory</td>
|
|
179
|
+
<td><i>Deprecated.</i> The framework SDK directory of the current target framework.</td>
|
|
180
|
+
</tr>
|
|
181
|
+
<tr>
|
|
182
|
+
<td>nant.settings.currentframework.frameworkassemblydirectory</td>
|
|
183
|
+
<td><i>Deprecated.</i> The framework assembly directory of the current target
|
|
184
|
+
framework.</td>
|
|
185
|
+
</tr>
|
|
186
|
+
<tr>
|
|
187
|
+
<td>nant.settings.currentframework.runtimeengine</td>
|
|
188
|
+
<td><i>Deprecated.</i> The runtime engine of the current target framework if used
|
|
189
|
+
eg. mono.exe.</td>
|
|
190
|
+
</tr>
|
|
191
|
+
</tbody>
|
|
192
|
+
</table>
|
|
193
|
+
</div>
|
|
194
|
+
<h3><a id="platform-related-properties" />3.2 Platform related Properties:</h3>
|
|
195
|
+
<div class="table">
|
|
196
|
+
<table>
|
|
197
|
+
<tbody>
|
|
198
|
+
<tr>
|
|
199
|
+
<th>
|
|
200
|
+
Property</th>
|
|
201
|
+
<th>
|
|
202
|
+
Description</th>
|
|
203
|
+
</tr>
|
|
204
|
+
<tr>
|
|
205
|
+
<td>nant.platform.name</td>
|
|
206
|
+
<td><i>Deprecated.</i> The name of the platform on which NAnt is currently running
|
|
207
|
+
- either <code>win32</code> or <code>unix</code>.</td>
|
|
208
|
+
</tr>
|
|
209
|
+
<tr>
|
|
210
|
+
<td>nant.platform.win32</td>
|
|
211
|
+
<td><i>Deprecated.</i> Holds the value <code>true</code> if NAnt is running on the <code>
|
|
212
|
+
win32</code> platform; otherwise, <code>false</code>.</td>
|
|
213
|
+
</tr>
|
|
214
|
+
<tr>
|
|
215
|
+
<td>nant.platform.unix</td>
|
|
216
|
+
<td><i>Deprecated.</i> Holds the value <code>true</code> if NAnt is running on the <code>
|
|
217
|
+
unix</code> platform; otherwise, <code>false</code>.</td>
|
|
218
|
+
</tr>
|
|
219
|
+
</tbody>
|
|
220
|
+
</table>
|
|
221
|
+
</div>
|
|
222
|
+
<h2><a id="readonly-properties" />4 Read-only Properties</h2>
|
|
223
|
+
<p>
|
|
224
|
+
A property can be explicitly marked read-only by setting the
|
|
225
|
+
"readonly" attribute on the <a href="../tasks/property.html"><property></a>
|
|
226
|
+
task to <b>true</b>.
|
|
227
|
+
</p>
|
|
228
|
+
<p>
|
|
229
|
+
The value of a read-only property cannot be modified after it has been set.
|
|
230
|
+
</p>
|
|
231
|
+
<p>
|
|
232
|
+
When attempting to override a read-only property using the <a href="../tasks/property.html">
|
|
233
|
+
<property></a> task, the new value will be ignored and a warning
|
|
234
|
+
message will be output in the build log. Attempting to override read-only
|
|
235
|
+
properties using any other means (eg. other tasks) will result in a build
|
|
236
|
+
failure.
|
|
237
|
+
</p>
|
|
238
|
+
<p><b>Note:</b> properties set on the command-line are always read-only.</p>
|
|
239
|
+
<h2><a id="global-properties" />5 Global Properties</h2>
|
|
240
|
+
<p>Properties that should be accessible to all build files on a system can be
|
|
241
|
+
defined in the <code><properties></code> node of the NAnt configuration
|
|
242
|
+
file (<code>NAnt.exe.config</code>).</p>
|
|
243
|
+
<p>By changing the value of the property in the NAnt configuration file, the
|
|
244
|
+
updated value will be accessible to all build files on the system:</p>
|
|
245
|
+
<pre class="code">
|
|
246
|
+
<?xml version="1.0"?>
|
|
247
|
+
<configuration>
|
|
248
|
+
...
|
|
249
|
+
<nant>
|
|
250
|
+
...
|
|
251
|
+
<properties>
|
|
252
|
+
<!-- properties defined here are accessible to all build files -->
|
|
253
|
+
<property name="company.name" value="Foo Ltd." readonly="true" />
|
|
254
|
+
</properties>
|
|
255
|
+
</nant>
|
|
256
|
+
</configuration>
|
|
257
|
+
</pre>
|
|
258
|
+
<p>Individual build files can then use this property:</p>
|
|
259
|
+
<pre class="code">
|
|
260
|
+
<?xml version="1.0"?>
|
|
261
|
+
<project name="test">
|
|
262
|
+
<echo message="Company: ${company.name}" />
|
|
263
|
+
</project>
|
|
264
|
+
</pre>
|
|
265
|
+
<p>The output of this build is:</p>
|
|
266
|
+
<pre>
|
|
267
|
+
[echo] Company: Foo Ltd.
|
|
268
|
+
</pre>
|
|
269
|
+
<h2><a id="example" /> 6 Examples</h2>
|
|
270
|
+
<p>The following build file demonstrates the use of property expansion:</p>
|
|
271
|
+
<pre class="code">
|
|
272
|
+
<?xml version="1.0"?>
|
|
273
|
+
<project name="Property Test" default="test" basedir=".">
|
|
274
|
+
<property name="project.name" value="PropertyTest"/>
|
|
275
|
+
<property name="project.version" value="1.0.0"/>
|
|
276
|
+
<target name="test">
|
|
277
|
+
<echo message="Building ${project.name}-${project.version}"/>
|
|
278
|
+
</target>
|
|
279
|
+
</project>
|
|
280
|
+
</pre>
|
|
281
|
+
<p>The output of this build is:</p>
|
|
282
|
+
<pre>
|
|
283
|
+
[echo] Building PropertyTest-1.0.0
|
|
284
|
+
</pre>
|
|
285
|
+
<p>The following build file demonstrates the use of properties in <a href="expressions.html">
|
|
286
|
+
expressions</a>. It evaluates the length of the property <code>project.name</code>
|
|
287
|
+
and displays it.</p>
|
|
288
|
+
<pre class="code">
|
|
289
|
+
<?xml version="1.0"?>
|
|
290
|
+
<project name="Expression Test" default="test" basedir=".">
|
|
291
|
+
<property name="project.name" value="Expression Test"/>
|
|
292
|
+
<target name="test">
|
|
293
|
+
<echo message="Project name consists of ${string::get-length(project.name)} characters."/>
|
|
294
|
+
</target>
|
|
295
|
+
</project>
|
|
296
|
+
</pre>
|
|
297
|
+
<p>The output of this build is:</p>
|
|
298
|
+
<pre>
|
|
299
|
+
[echo] Project name consists of 15 characters.
|
|
300
|
+
</pre>
|
|
301
|
+
<h3>See Also</h3>
|
|
302
|
+
<ul>
|
|
303
|
+
<li>
|
|
304
|
+
<a href="../tasks/property.html"><property></a>
|
|
305
|
+
</li>
|
|
306
|
+
<li>
|
|
307
|
+
<a href="../tasks/sysinfo.html"><sysinfo></a>
|
|
308
|
+
</li>
|
|
309
|
+
<li>
|
|
310
|
+
<a href="../tasks/tstamp.html"><tstamp></a>
|
|
311
|
+
</li>
|
|
312
|
+
</ul>
|
|
313
|
+
</body>
|
|
314
|
+
</html>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|
2
|
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
3
|
+
<head>
|
|
4
|
+
<meta http-equiv="Content-Language" content="en-ca" />
|
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
6
|
+
<meta name="description" content="Running NAnt" />
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="../style.css" />
|
|
8
|
+
<title>NAnt - Running NAnt</title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
|
|
12
|
+
<tr>
|
|
13
|
+
<td class="NavBar-Cell">
|
|
14
|
+
<a title="NAnt home page" href="http://nant.sourceforge.net"><b>NAnt</b></a> <img src="../images/arrow.gif" alt="->" width="13" height="9" />
|
|
15
|
+
<a href="../index.html">Help</a> <img alt="->" src="../images/arrow.gif" /> <a href="index.html">
|
|
16
|
+
Fundamentals</a> <img height="9" alt="->" src="../images/arrow.gif" width="13" />
|
|
17
|
+
Running NAnt
|
|
18
|
+
</td>
|
|
19
|
+
<td class="NavBar-Cell" align="right">
|
|
20
|
+
v0.90
|
|
21
|
+
</td>
|
|
22
|
+
</tr>
|
|
23
|
+
</table>
|
|
24
|
+
<h1>Running NAnt</h1>
|
|
25
|
+
|
|
26
|
+
<p>
|
|
27
|
+
Running NAnt is simple once you have it <a href="../introduction/fog0000000013.html">
|
|
28
|
+
installed</a>, just type <code>NAnt</code>. Type <code style="whitespace: nowrap;">
|
|
29
|
+
NAnt -help</code> to get usage information.</p>
|
|
30
|
+
<h3>Specifying the Build File</h3>
|
|
31
|
+
<p>
|
|
32
|
+
When nothing is specified, NAnt looks for a file ending with <code>.build</code>,
|
|
33
|
+
e.g., <code>NAnt.build</code>, in the current directory. If found, it
|
|
34
|
+
uses that file as the build file. If more than one file is found you need
|
|
35
|
+
to specify the build file using the <code>-buildfile</code> option (see below).</p>
|
|
36
|
+
<p>
|
|
37
|
+
If you use the <code>-find</code> option, NAnt will search for a build file in
|
|
38
|
+
the parent directory, and so on, until the root of the file system has been
|
|
39
|
+
reached. To make NAnt use another build file, use the command-line option
|
|
40
|
+
-buildfile:<em>file</em>, where <em>file</em> is the build file you want to
|
|
41
|
+
use.</p>
|
|
42
|
+
<h3>Specifying Targets</h3>
|
|
43
|
+
<p>
|
|
44
|
+
You can specify one or more targets that should be executed. When omitted, the
|
|
45
|
+
target that is specified in the <code>default</code> attribute of the <code><project></code>
|
|
46
|
+
tag is used.</p>
|
|
47
|
+
<p>
|
|
48
|
+
The <code>-projecthelp</code> option prints out the description of the project,
|
|
49
|
+
if it exists, followed by a list of the project's targets. First those with a
|
|
50
|
+
description, then those without one.</p>
|
|
51
|
+
<h3>Setting Properties</h3>
|
|
52
|
+
<p>
|
|
53
|
+
To override properties specified in the build file use the <code style="whitespace: nowrap;">
|
|
54
|
+
-D:<i>property</i>=<i>value</i></code> option, where <i>property</i> is the
|
|
55
|
+
name of the property, and <i>value</i> is the value for that property. </p>
|
|
56
|
+
<h3>Examples</h3>
|
|
57
|
+
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
|
|
58
|
+
<div>
|
|
59
|
+
<pre>NAnt</pre>
|
|
60
|
+
</div>
|
|
61
|
+
</blockquote>
|
|
62
|
+
<p>
|
|
63
|
+
Runs NAnt using the file ending in <code>*.build.xml</code> file in the
|
|
64
|
+
current directory, on the default target.</p>
|
|
65
|
+
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
|
|
66
|
+
<div>
|
|
67
|
+
<pre>NAnt -buildfile:..\ProjectName.build</pre>
|
|
68
|
+
</div>
|
|
69
|
+
</blockquote>
|
|
70
|
+
<p>
|
|
71
|
+
Runs NAnt using the <code>ProjectName.build</code> file in the parent
|
|
72
|
+
directory, on the default target.</p>
|
|
73
|
+
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
|
|
74
|
+
<div>
|
|
75
|
+
<pre>NAnt clean</pre>
|
|
76
|
+
</div>
|
|
77
|
+
</blockquote>
|
|
78
|
+
<p>
|
|
79
|
+
Runs NAnt using the default build file in the current directory, on a target
|
|
80
|
+
called <code>clean</code>.</p>
|
|
81
|
+
<blockquote dir="ltr" style="MARGIN-RIGHT: 0px">
|
|
82
|
+
<div>
|
|
83
|
+
<pre>NAnt -D:debug=false clean dist</pre>
|
|
84
|
+
</div>
|
|
85
|
+
</blockquote>
|
|
86
|
+
<p>
|
|
87
|
+
Runs NAnt using the default build file in the current directory, first on
|
|
88
|
+
the <code>clean</code> target and then on the <code>dist</code> target
|
|
89
|
+
while setting the <code>debug</code> property to <code>false</code>. This
|
|
90
|
+
could, for example, make a release distribution from scratch.</p>
|
|
91
|
+
</body>
|
|
92
|
+
</html>
|