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,217 @@
|
|
|
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
|
+
<!-- Documenting T:NAnt.DotNet.Tasks.ResGenTask-->
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Language" content="en-ca" />
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="../style.css" />
|
|
8
|
+
<title><resgen> Task</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 href="http://nant.sourceforge.net">
|
|
15
|
+
<b>NAnt</b>
|
|
16
|
+
</a>
|
|
17
|
+
<img alt="->" src="../images/arrow.gif" />
|
|
18
|
+
<a href="../index.html">Help</a>
|
|
19
|
+
<img alt="->" src="../images/arrow.gif" />
|
|
20
|
+
<a href="../tasks/index.html">Task Reference</a>
|
|
21
|
+
<img alt="->" src="../images/arrow.gif" /> <resgen></td>
|
|
22
|
+
<td class="NavBar-Cell" align="right">
|
|
23
|
+
v0.90</td>
|
|
24
|
+
</tr>
|
|
25
|
+
</table>
|
|
26
|
+
<h1><resgen></h1>
|
|
27
|
+
<p> Converts files from one resource format to another. </p>
|
|
28
|
+
<p class="i2">
|
|
29
|
+
<b>Note:</b> If no <code>todir</code> is specified, the resource file will be created next to the input file. </p>
|
|
30
|
+
<h3>Parameters</h3>
|
|
31
|
+
<div class="table">
|
|
32
|
+
<table>
|
|
33
|
+
<tr>
|
|
34
|
+
<th>Attribute</th>
|
|
35
|
+
<th style="text-align: center;">Type</th>
|
|
36
|
+
<th>Description</th>
|
|
37
|
+
<th style="text-align: center;">Required</th>
|
|
38
|
+
</tr>
|
|
39
|
+
<tr>
|
|
40
|
+
<td valign="top">input</td>
|
|
41
|
+
<td style="text-align: center;">file</td>
|
|
42
|
+
<td> Input file to process. </td>
|
|
43
|
+
<td style="text-align: center;">False</td>
|
|
44
|
+
</tr>
|
|
45
|
+
<tr>
|
|
46
|
+
<td valign="top">output</td>
|
|
47
|
+
<td style="text-align: center;">file</td>
|
|
48
|
+
<td> The resource file to output. </td>
|
|
49
|
+
<td style="text-align: center;">False</td>
|
|
50
|
+
</tr>
|
|
51
|
+
<tr>
|
|
52
|
+
<td valign="top">target</td>
|
|
53
|
+
<td style="text-align: center;">string</td>
|
|
54
|
+
<td> The target type. The default is <code>resources</code>. </td>
|
|
55
|
+
<td style="text-align: center;">False</td>
|
|
56
|
+
</tr>
|
|
57
|
+
<tr>
|
|
58
|
+
<td valign="top">todir</td>
|
|
59
|
+
<td style="text-align: center;">directory</td>
|
|
60
|
+
<td> The directory to which outputs will be stored. </td>
|
|
61
|
+
<td style="text-align: center;">False</td>
|
|
62
|
+
</tr>
|
|
63
|
+
<tr>
|
|
64
|
+
<td valign="top">usesourcepath</td>
|
|
65
|
+
<td style="text-align: center;">bool</td>
|
|
66
|
+
<td> Use each source file's directory as the current directory for resolving relative file paths. The default is <b>false</b>. Only supported when targeting .NET 2.0 (or higher). </td>
|
|
67
|
+
<td style="text-align: center;">False</td>
|
|
68
|
+
</tr>
|
|
69
|
+
<tr>
|
|
70
|
+
<td valign="top">failonerror</td>
|
|
71
|
+
<td style="text-align: center;">bool</td>
|
|
72
|
+
<td> Determines if task failure stops the build, or is just reported. The default is <b>true</b>. </td>
|
|
73
|
+
<td style="text-align: center;">False</td>
|
|
74
|
+
</tr>
|
|
75
|
+
<tr>
|
|
76
|
+
<td valign="top">if</td>
|
|
77
|
+
<td style="text-align: center;">bool</td>
|
|
78
|
+
<td> If <b>true</b> then the task will be executed; otherwise, skipped. The default is <b>true</b>. </td>
|
|
79
|
+
<td style="text-align: center;">False</td>
|
|
80
|
+
</tr>
|
|
81
|
+
<tr>
|
|
82
|
+
<td valign="top">timeout</td>
|
|
83
|
+
<td style="text-align: center;">int</td>
|
|
84
|
+
<td> The maximum amount of time the application is allowed to execute, expressed in milliseconds. Defaults to no time-out. </td>
|
|
85
|
+
<td style="text-align: center;">False</td>
|
|
86
|
+
</tr>
|
|
87
|
+
<tr>
|
|
88
|
+
<td valign="top">unless</td>
|
|
89
|
+
<td style="text-align: center;">bool</td>
|
|
90
|
+
<td> Opposite of <code>if</code>. If <b>false</b> then the task will be executed; otherwise, skipped. The default is <b>false</b>. </td>
|
|
91
|
+
<td style="text-align: center;">False</td>
|
|
92
|
+
</tr>
|
|
93
|
+
<tr>
|
|
94
|
+
<td valign="top">verbose</td>
|
|
95
|
+
<td style="text-align: center;">bool</td>
|
|
96
|
+
<td> Determines whether the task should report detailed build log messages. The default is <b>false</b>. </td>
|
|
97
|
+
<td style="text-align: center;">False</td>
|
|
98
|
+
</tr>
|
|
99
|
+
</table>
|
|
100
|
+
</div>
|
|
101
|
+
<h3>Framework-configurable parameters</h3>
|
|
102
|
+
<div class="table">
|
|
103
|
+
<table>
|
|
104
|
+
<tr>
|
|
105
|
+
<th>Attribute</th>
|
|
106
|
+
<th style="text-align: center;">Type</th>
|
|
107
|
+
<th>Description</th>
|
|
108
|
+
<th style="text-align: center;">Required</th>
|
|
109
|
+
</tr>
|
|
110
|
+
<tr>
|
|
111
|
+
<td valign="top">exename</td>
|
|
112
|
+
<td style="text-align: center;">string</td>
|
|
113
|
+
<td> The name of the executable that should be used to launch the external program. </td>
|
|
114
|
+
<td style="text-align: center;">False</td>
|
|
115
|
+
</tr>
|
|
116
|
+
<tr>
|
|
117
|
+
<td valign="top">managed</td>
|
|
118
|
+
<td style="text-align: center;">
|
|
119
|
+
<a href="../enums/NAnt.Core.Types.ManagedExecution.html">ManagedExecution</a>
|
|
120
|
+
</td>
|
|
121
|
+
<td> Specifies whether the external program should be treated as a managed application, possibly forcing it to be executed under the currently targeted version of the CLR. </td>
|
|
122
|
+
<td style="text-align: center;">False</td>
|
|
123
|
+
</tr>
|
|
124
|
+
<tr>
|
|
125
|
+
<td valign="top">supportsassemblyreferences</td>
|
|
126
|
+
<td style="text-align: center;">bool</td>
|
|
127
|
+
<td> Indicates whether assembly references are supported by the <code>resgen</code> tool for the current target framework. The default is <b>false</b>. </td>
|
|
128
|
+
<td style="text-align: center;">False</td>
|
|
129
|
+
</tr>
|
|
130
|
+
<tr>
|
|
131
|
+
<td valign="top">supportsexternalfilereferences</td>
|
|
132
|
+
<td style="text-align: center;">bool</td>
|
|
133
|
+
<td> Indicates whether external file references are supported by the <code>resgen</code> tool for the current target framework. The default is <b>false</b>. </td>
|
|
134
|
+
<td style="text-align: center;">False</td>
|
|
135
|
+
</tr>
|
|
136
|
+
<tr>
|
|
137
|
+
<td valign="top">useruntimeengine</td>
|
|
138
|
+
<td style="text-align: center;">bool</td>
|
|
139
|
+
<td>
|
|
140
|
+
<i>Deprecated.</i> Specifies whether the external program is a managed application which should be executed using a runtime engine, if configured. The default is <b>false</b>. </td>
|
|
141
|
+
<td style="text-align: center;">False</td>
|
|
142
|
+
</tr>
|
|
143
|
+
</table>
|
|
144
|
+
</div>
|
|
145
|
+
<h3>Nested Elements:</h3>
|
|
146
|
+
<!--Element-->
|
|
147
|
+
<h4>
|
|
148
|
+
<a id="resources">
|
|
149
|
+
</a>
|
|
150
|
+
<<a href="../types/resourcefileset.html">resources</a>>
|
|
151
|
+
</h4>
|
|
152
|
+
<div class="nested-element"> Takes a list of <code>.resx</code> or <code>.txt</code> files to convert to <code>.resources</code> files. <p /></div>
|
|
153
|
+
<h4>
|
|
154
|
+
<a id="resources">
|
|
155
|
+
</a>
|
|
156
|
+
</<a href="../types/resourcefileset.html">resources</a>>
|
|
157
|
+
</h4>
|
|
158
|
+
<!--Element-->
|
|
159
|
+
<h4>
|
|
160
|
+
<a id="assemblies">
|
|
161
|
+
</a>
|
|
162
|
+
<<a href="../types/assemblyfileset.html">assemblies</a>>
|
|
163
|
+
</h4>
|
|
164
|
+
<div class="nested-element"> Reference metadata from the specified assembly files. <p /></div>
|
|
165
|
+
<h4>
|
|
166
|
+
<a id="assemblies">
|
|
167
|
+
</a>
|
|
168
|
+
</<a href="../types/assemblyfileset.html">assemblies</a>>
|
|
169
|
+
</h4>
|
|
170
|
+
<!--Array-->
|
|
171
|
+
<!--NestedElementArray=T:NAnt.Core.Types.Argument-->
|
|
172
|
+
<h4>
|
|
173
|
+
<a id="arg">
|
|
174
|
+
</a>
|
|
175
|
+
<arg>
|
|
176
|
+
</h4>
|
|
177
|
+
<div class="nested-element"> The command-line arguments for the external program. <p> Represents a command-line argument. </p><p> When passed to an external application, the argument will be quoted when appropriate. This does not apply to the <code>line</code> parameter, which is always passed as is. </p><h3>Parameters</h3><div class="table"><table><tr><th>Attribute</th><th style="text-align: center;">Type</th><th>Description</th><th style="text-align: center;">Required</th></tr><tr><td valign="top">dir</td><td style="text-align: center;">directory</td><td> The value for a directory-based command-line argument; will be replaced with the absolute path of the directory. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">file</td><td style="text-align: center;">file</td><td> The name of a file as a single command-line argument; will be replaced with the absolute filename of the file. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">if</td><td style="text-align: center;">bool</td><td> Indicates if the argument should be passed to the external program. If <b>true</b> then the argument will be passed; otherwise, skipped. The default is <b>true</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">line</td><td style="text-align: center;">string</td><td> List of command-line arguments; will be passed to the executable as is. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">path</td><td style="text-align: center;"><path></td><td> The value for a PATH-like command-line argument; you can use <code>:</code> or <code>;</code> as path separators and NAnt will convert it to the platform's local conventions, while resolving references to environment variables. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">unless</td><td style="text-align: center;">bool</td><td> Indicates if the argument should not be passed to the external program. If <b>false</b> then the argument will be passed; otherwise, skipped. The default is <b>false</b>. </td><td style="text-align: center;">False</td></tr><tr><td valign="top">value</td><td style="text-align: center;">string</td><td> A single command-line argument; can contain space characters. </td><td style="text-align: center;">False</td></tr></table></div><h3>Nested Elements:</h3><!--Element--><h4><a id="path"></a>
|
|
178
|
+
<<a href="../types/path.html">path</a>>
|
|
179
|
+
</h4><div class="nested-element"> Sets a single command-line argument and treats it like a PATH - ensures the right separator for the local platform is used. <p /></div><h4><a id="path"></a>
|
|
180
|
+
</<a href="../types/path.html">path</a>>
|
|
181
|
+
</h4><h3>Examples</h3><ul class="examples"><li><p> A single command-line argument containing a space character. </p><pre class="code">
|
|
182
|
+
<arg value="-l -a" />
|
|
183
|
+
</pre></li><li><p> Two separate command-line arguments. </p><pre class="code">
|
|
184
|
+
<arg line="-l -a" />
|
|
185
|
+
</pre></li><li><p> A single command-line argument with the value <code>\dir;\dir2;\dir3</code> on DOS-based systems and <code>/dir:/dir2:/dir3</code> on Unix-like systems. </p><pre class="code">
|
|
186
|
+
<arg path="/dir;/dir2:\dir3" />
|
|
187
|
+
</pre></li></ul></div>
|
|
188
|
+
<h4>
|
|
189
|
+
<a id="arg">
|
|
190
|
+
</a>
|
|
191
|
+
</arg>
|
|
192
|
+
</h4>
|
|
193
|
+
<h3>Examples</h3>
|
|
194
|
+
<ul class="examples">
|
|
195
|
+
<li>
|
|
196
|
+
<p> Convert a resource file from the <code>.resx</code> to the <code>.resources</code> format. </p>
|
|
197
|
+
<pre class="code">
|
|
198
|
+
<resgen input="translations.resx" output="translations.resources" />
|
|
199
|
+
</pre>
|
|
200
|
+
</li>
|
|
201
|
+
<li>
|
|
202
|
+
<p> Convert a set of <code>.resx</code> files to the <code>.resources</code> format. </p>
|
|
203
|
+
<pre class="code">
|
|
204
|
+
<resgen todir=".">
|
|
205
|
+
<resources>
|
|
206
|
+
<include name="*.resx" />
|
|
207
|
+
</resources>
|
|
208
|
+
</resgen>
|
|
209
|
+
</pre>
|
|
210
|
+
</li>
|
|
211
|
+
</ul>
|
|
212
|
+
<h3>Requirements</h3>
|
|
213
|
+
<div style="margin-left: 20px;">
|
|
214
|
+
<b>Assembly:</b> NAnt.DotNetTasks (0.90.3780.0)
|
|
215
|
+
</div>
|
|
216
|
+
</body>
|
|
217
|
+
</html>
|
|
@@ -0,0 +1,268 @@
|
|
|
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
|
+
<!-- Documenting T:NAnt.DotNet.Tasks.ScriptTask-->
|
|
4
|
+
<head>
|
|
5
|
+
<meta http-equiv="Content-Language" content="en-ca" />
|
|
6
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
7
|
+
<link rel="stylesheet" type="text/css" href="../style.css" />
|
|
8
|
+
<title><script> Task</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 href="http://nant.sourceforge.net">
|
|
15
|
+
<b>NAnt</b>
|
|
16
|
+
</a>
|
|
17
|
+
<img alt="->" src="../images/arrow.gif" />
|
|
18
|
+
<a href="../index.html">Help</a>
|
|
19
|
+
<img alt="->" src="../images/arrow.gif" />
|
|
20
|
+
<a href="../tasks/index.html">Task Reference</a>
|
|
21
|
+
<img alt="->" src="../images/arrow.gif" /> <script></td>
|
|
22
|
+
<td class="NavBar-Cell" align="right">
|
|
23
|
+
v0.90</td>
|
|
24
|
+
</tr>
|
|
25
|
+
</table>
|
|
26
|
+
<h1><script></h1>
|
|
27
|
+
<p> Executes the code contained within the task. </p>
|
|
28
|
+
<h5 xmlns="">Code</h5>
|
|
29
|
+
<p> The <a href="../tasks/script.html"><script></a> task must contain a single <code>code</code> element, which in turn contains the script code. </p>
|
|
30
|
+
<p> This code can include extensions such as functions, or tasks. Once the script task has executed those extensions will be available for use in the buildfile. </p>
|
|
31
|
+
<p> If no extensions have been defined, a static entry point named <code>ScriptMain</code> - which must have a single <a href="../../sdk/NAnt.Core.Project.html">Project</a> argument - is required. </p>
|
|
32
|
+
<h5 xmlns="">Namespaces</h5>
|
|
33
|
+
<p> The following namespaces are imported by default: </p>
|
|
34
|
+
<ul style="list-style-type: disc;">
|
|
35
|
+
<li>System</li>
|
|
36
|
+
<li>System.Collections</li>
|
|
37
|
+
<li>System.IO</li>
|
|
38
|
+
<li>System.Text</li>
|
|
39
|
+
<li>NAnt.Core</li>
|
|
40
|
+
<li>NAnt.Core.Attributes</li>
|
|
41
|
+
</ul>
|
|
42
|
+
<h5 xmlns="">Assembly References</h5>
|
|
43
|
+
<p> The assembly references that are specified will be used to compile the script, and will be loaded into the NAnt appdomain. </p>
|
|
44
|
+
<p> By default, only the <code>NAnt.Core</code> and <code>mscorlib</code> assemblies are referenced. </p>
|
|
45
|
+
<h3>Parameters</h3>
|
|
46
|
+
<div class="table">
|
|
47
|
+
<table>
|
|
48
|
+
<tr>
|
|
49
|
+
<th>Attribute</th>
|
|
50
|
+
<th style="text-align: center;">Type</th>
|
|
51
|
+
<th>Description</th>
|
|
52
|
+
<th style="text-align: center;">Required</th>
|
|
53
|
+
</tr>
|
|
54
|
+
<tr>
|
|
55
|
+
<td valign="top" class="required">language</td>
|
|
56
|
+
<td style="text-align: center;">string</td>
|
|
57
|
+
<td> The language of the script block. Possible values are "VB", "vb", "VISUALBASIC", "C#", "c#", "CSHARP". "JS", "js", "JSCRIPT" "VJS", "vjs", "JSHARP" or a fully-qualified name for a class implementing <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemCodeDomCompilerCodeDomProviderClassTopic.asp">CodeDomProvider</a>. </td>
|
|
58
|
+
<td style="text-align: center;">True</td>
|
|
59
|
+
</tr>
|
|
60
|
+
<tr>
|
|
61
|
+
<td valign="top">mainclass</td>
|
|
62
|
+
<td style="text-align: center;">string</td>
|
|
63
|
+
<td> The name of the main class containing the static <code>ScriptMain</code> entry point. </td>
|
|
64
|
+
<td style="text-align: center;">False</td>
|
|
65
|
+
</tr>
|
|
66
|
+
<tr>
|
|
67
|
+
<td valign="top">prefix</td>
|
|
68
|
+
<td style="text-align: center;">string</td>
|
|
69
|
+
<td> The namespace prefix for any custom functions defined in the script. If ommitted the prefix will default to 'script' </td>
|
|
70
|
+
<td style="text-align: center;">False</td>
|
|
71
|
+
</tr>
|
|
72
|
+
<tr>
|
|
73
|
+
<td valign="top">failonerror</td>
|
|
74
|
+
<td style="text-align: center;">bool</td>
|
|
75
|
+
<td> Determines if task failure stops the build, or is just reported. The default is <b>true</b>. </td>
|
|
76
|
+
<td style="text-align: center;">False</td>
|
|
77
|
+
</tr>
|
|
78
|
+
<tr>
|
|
79
|
+
<td valign="top">if</td>
|
|
80
|
+
<td style="text-align: center;">bool</td>
|
|
81
|
+
<td> If <b>true</b> then the task will be executed; otherwise, skipped. The default is <b>true</b>. </td>
|
|
82
|
+
<td style="text-align: center;">False</td>
|
|
83
|
+
</tr>
|
|
84
|
+
<tr>
|
|
85
|
+
<td valign="top">unless</td>
|
|
86
|
+
<td style="text-align: center;">bool</td>
|
|
87
|
+
<td> Opposite of <code>if</code>. If <b>false</b> then the task will be executed; otherwise, skipped. The default is <b>false</b>. </td>
|
|
88
|
+
<td style="text-align: center;">False</td>
|
|
89
|
+
</tr>
|
|
90
|
+
<tr>
|
|
91
|
+
<td valign="top">verbose</td>
|
|
92
|
+
<td style="text-align: center;">bool</td>
|
|
93
|
+
<td> Determines whether the task should report detailed build log messages. The default is <b>false</b>. </td>
|
|
94
|
+
<td style="text-align: center;">False</td>
|
|
95
|
+
</tr>
|
|
96
|
+
</table>
|
|
97
|
+
</div>
|
|
98
|
+
<h3>Nested Elements:</h3>
|
|
99
|
+
<!--Element-->
|
|
100
|
+
<h4>
|
|
101
|
+
<a id="references">
|
|
102
|
+
</a>
|
|
103
|
+
<<a href="../types/assemblyfileset.html">references</a>>
|
|
104
|
+
</h4>
|
|
105
|
+
<div class="nested-element"> Any required references. <p /></div>
|
|
106
|
+
<h4>
|
|
107
|
+
<a id="references">
|
|
108
|
+
</a>
|
|
109
|
+
</<a href="../types/assemblyfileset.html">references</a>>
|
|
110
|
+
</h4>
|
|
111
|
+
<!--Element-->
|
|
112
|
+
<h4>
|
|
113
|
+
<a id="imports">
|
|
114
|
+
</a>
|
|
115
|
+
<<a href="../types/namespaceimports.html">imports</a>>
|
|
116
|
+
</h4>
|
|
117
|
+
<div class="nested-element"> The namespaces to import. <p /></div>
|
|
118
|
+
<h4>
|
|
119
|
+
<a id="imports">
|
|
120
|
+
</a>
|
|
121
|
+
</<a href="../types/namespaceimports.html">imports</a>>
|
|
122
|
+
</h4>
|
|
123
|
+
<!--Element-->
|
|
124
|
+
<h4>
|
|
125
|
+
<a id="code">
|
|
126
|
+
</a>
|
|
127
|
+
<code>
|
|
128
|
+
</h4>
|
|
129
|
+
<div class="nested-element"> The code to execute. <p> Represents an element of which the XML is processed by its parent task or type. </p><p /></div>
|
|
130
|
+
<h4>
|
|
131
|
+
<a id="code">
|
|
132
|
+
</a>
|
|
133
|
+
</code>
|
|
134
|
+
</h4>
|
|
135
|
+
<h3>Examples</h3>
|
|
136
|
+
<ul class="examples">
|
|
137
|
+
<li>
|
|
138
|
+
<p>Run C# code that writes a message to the build log.</p>
|
|
139
|
+
<pre class="code"> <script language="C#">
|
|
140
|
+
<code>
|
|
141
|
+
<![CDATA[
|
|
142
|
+
public static void ScriptMain(Project project) {
|
|
143
|
+
project.Log(Level.Info, "Hello World from a script task using C#");
|
|
144
|
+
}
|
|
145
|
+
]]>
|
|
146
|
+
</code>
|
|
147
|
+
</script>
|
|
148
|
+
</pre>
|
|
149
|
+
</li>
|
|
150
|
+
<li>
|
|
151
|
+
<p>Define a custom function and call it using C#.</p>
|
|
152
|
+
<pre class="code"> <script language="C#" prefix="test" >
|
|
153
|
+
<code>
|
|
154
|
+
<![CDATA[
|
|
155
|
+
[Function("test-func")]
|
|
156
|
+
public static string Testfunc( ) {
|
|
157
|
+
return "some result !!!!!!!!";
|
|
158
|
+
}
|
|
159
|
+
]]>
|
|
160
|
+
</code>
|
|
161
|
+
</script>
|
|
162
|
+
<echo message='${test::test-func()}'/>
|
|
163
|
+
</pre>
|
|
164
|
+
</li>
|
|
165
|
+
<li>
|
|
166
|
+
<p>Use a custom namespace in C# to create a database</p>
|
|
167
|
+
<pre class="code"> <script language="C#" >
|
|
168
|
+
<references>
|
|
169
|
+
<include name="System.Data.dll" />
|
|
170
|
+
</references>
|
|
171
|
+
<imports>
|
|
172
|
+
<import namespace="System.Data.SqlClient" />
|
|
173
|
+
</imports>
|
|
174
|
+
<code>
|
|
175
|
+
<![CDATA[
|
|
176
|
+
public static void ScriptMain(Project project) {
|
|
177
|
+
string dbUserName = "nant";
|
|
178
|
+
string dbPassword = "nant";
|
|
179
|
+
string dbServer = "(local)";
|
|
180
|
+
string dbDatabaseName = "NAntSample";
|
|
181
|
+
string connectionString = String.Format("Server={0};uid={1};pwd={2};", dbServer, dbUserName, dbPassword);
|
|
182
|
+
|
|
183
|
+
SqlConnection connection = new SqlConnection(connectionString);
|
|
184
|
+
string createDbQuery = "CREATE DATABASE " + dbDatabaseName;
|
|
185
|
+
SqlCommand createDatabaseCommand = new SqlCommand(createDbQuery);
|
|
186
|
+
createDatabaseCommand.Connection = connection;
|
|
187
|
+
|
|
188
|
+
connection.Open();
|
|
189
|
+
|
|
190
|
+
try {
|
|
191
|
+
createDatabaseCommand.ExecuteNonQuery();
|
|
192
|
+
project.Log(Level.Info, "Database added successfully: " + dbDatabaseName);
|
|
193
|
+
} catch (Exception e) {
|
|
194
|
+
project.Log(Level.Error, e.ToString());
|
|
195
|
+
} finally {
|
|
196
|
+
connection.Close();
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
]]>
|
|
200
|
+
</code>
|
|
201
|
+
</script>
|
|
202
|
+
</pre>
|
|
203
|
+
</li>
|
|
204
|
+
<li>
|
|
205
|
+
<p> Run Visual Basic.NET code that writes a message to the build log. </p>
|
|
206
|
+
<pre class="code"> <script language="VB">
|
|
207
|
+
<code>
|
|
208
|
+
<![CDATA[
|
|
209
|
+
Public Shared Sub ScriptMain(project As Project)
|
|
210
|
+
project.Log(Level.Info, "Hello World from a script task using Visual Basic.NET")
|
|
211
|
+
End Sub
|
|
212
|
+
]]>
|
|
213
|
+
</code>
|
|
214
|
+
</script>
|
|
215
|
+
</pre>
|
|
216
|
+
</li>
|
|
217
|
+
<li>
|
|
218
|
+
<p>Define a custom task and call it using C#.</p>
|
|
219
|
+
<pre class="code"> <script language="C#" prefix="test" >
|
|
220
|
+
<code>
|
|
221
|
+
<![CDATA[
|
|
222
|
+
[TaskName("usertask")]
|
|
223
|
+
public class TestTask : Task {
|
|
224
|
+
#region Private Instance Fields
|
|
225
|
+
private string _message;
|
|
226
|
+
#endregion Private Instance Fields
|
|
227
|
+
#region Public Instance Properties
|
|
228
|
+
[TaskAttribute("message", Required=true)]
|
|
229
|
+
public string FileName {
|
|
230
|
+
get { return _message; }
|
|
231
|
+
set { _message = value; }
|
|
232
|
+
}
|
|
233
|
+
#endregion Public Instance Properties
|
|
234
|
+
#region Override implementation of Task
|
|
235
|
+
protected override void ExecuteTask() {
|
|
236
|
+
Log(Level.Info, _message.ToUpper());
|
|
237
|
+
}
|
|
238
|
+
#endregion Override implementation of Task
|
|
239
|
+
}
|
|
240
|
+
]]>
|
|
241
|
+
</code>
|
|
242
|
+
</script>
|
|
243
|
+
<usertask message='Hello from UserTask'/>
|
|
244
|
+
</pre>
|
|
245
|
+
</li>
|
|
246
|
+
<li>
|
|
247
|
+
<p> Define a custom function and call it using <a href="http://boo.codehaus.org/">Boo</a>. </p>
|
|
248
|
+
<pre class="code"> <script language="Boo.CodeDom.BooCodeProvider, Boo.CodeDom, Version=1.0.0.0, Culture=neutral, PublicKeyToken=32c39770e9a21a67"
|
|
249
|
+
failonerror="true">
|
|
250
|
+
<code>
|
|
251
|
+
<![CDATA[
|
|
252
|
+
|
|
253
|
+
[Function("test-func")]
|
|
254
|
+
def MyFunc():
|
|
255
|
+
return "Hello from Boo !!!!!!"
|
|
256
|
+
]]>
|
|
257
|
+
</code>
|
|
258
|
+
</script>
|
|
259
|
+
<echo message='${script::test-func()}'/>
|
|
260
|
+
</pre>
|
|
261
|
+
</li>
|
|
262
|
+
</ul>
|
|
263
|
+
<h3>Requirements</h3>
|
|
264
|
+
<div style="margin-left: 20px;">
|
|
265
|
+
<b>Assembly:</b> NAnt.DotNetTasks (0.90.3780.0)
|
|
266
|
+
</div>
|
|
267
|
+
</body>
|
|
268
|
+
</html>
|