Update of /cvsroot/sharpcvslib/sharpcvslib/tools/nant/opt
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18308/tools/nant/opt
Added Files:
.cvsignore AssemblyInfo.cs NAntExtras.csproj NAntExtras.sln
NAntExtras.xml
Log Message:
Ported builder and nant extras from Sharpschedule.
--- NEW FILE: .cvsignore ---
NAntExtras.xml
NAntExtras.csproj.user
obj
NAntExtras.suo
--- NEW FILE: NAntExtras.sln ---
Microsoft Visual Studio Solution File, Format Version 8.00
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NAntExtras", "NAntExtras.csproj", "{D23D4A35-4798-41FD-AE9D-D010BA53B932}"
ProjectSection(ProjectDependencies) = postProject
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
Release = Release
EndGlobalSection
GlobalSection(ProjectConfiguration) = postSolution
{D23D4A35-4798-41FD-AE9D-D010BA53B932}.Debug.ActiveCfg = Debug|.NET
{D23D4A35-4798-41FD-AE9D-D010BA53B932}.Debug.Build.0 = Debug|.NET
{D23D4A35-4798-41FD-AE9D-D010BA53B932}.Release.ActiveCfg = Release|.NET
{D23D4A35-4798-41FD-AE9D-D010BA53B932}.Release.Build.0 = Release|.NET
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
GlobalSection(ExtensibilityAddIns) = postSolution
EndGlobalSection
EndGlobal
--- NEW FILE: AssemblyInfo.cs ---
using System.Reflection;
using System.Runtime.CompilerServices;
//
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
//
[assembly: AssemblyTitle("Sporadicism NAntExtras")]
[assembly: AssemblyDescription("Extras for NAnt")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Sporadicism")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("Clayton Harbour 2004-2005")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
//
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Revision and Build Numbers
// by using the '*' as shown below:
[assembly: AssemblyVersion("0.1.*")]
//
// In order to sign your assembly you must specify a key to use. Refer to the
// Microsoft .NET Framework documentation for more information on assembly signing.
//
// Use the attributes below to control which key is used for signing.
//
// Notes:
// (*) If no key is specified, the assembly is not signed.
// (*) KeyName refers to a key that has been installed in the Crypto Service
// Provider (CSP) on your machine. KeyFile refers to a file which contains
// a key.
// (*) If the KeyFile and the KeyName values are both specified, the
// following processing occurs:
// (1) If the KeyName can be found in the CSP, that key is used.
// (2) If the KeyName does not exist and the KeyFile does exist, the key
// in the KeyFile is installed into the CSP and used.
// (*) In order to create a KeyFile, you can use the sn.exe (Strong Name) utility.
// When specifying the KeyFile, the location of the KeyFile should be
// relative to the project output directory which is
// %Project Directory%\obj\<configuration>. For example, if your KeyFile is
// located in the project directory, you would specify the AssemblyKeyFile
// attribute as [assembly: AssemblyKeyFile("..\\..\\mykey.snk")]
// (*) Delay Signing is an advanced option - see the Microsoft .NET Framework
// documentation for more information on this.
//
[assembly: AssemblyDelaySign(false)]
[assembly: AssemblyKeyFile("")]
[assembly: AssemblyKeyName("")]
--- NEW FILE: NAntExtras.csproj ---
<VisualStudioProject>
<CSHARP
ProjectType = "Local"
ProductVersion = "7.10.3077"
SchemaVersion = "2.0"
ProjectGuid = "{D23D4A35-4798-41FD-AE9D-D010BA53B932}"
>
<Build>
<Settings
ApplicationIcon = ""
AssemblyKeyContainerName = ""
AssemblyName = "Sporadicism.NAntExtras"
AssemblyOriginatorKeyFile = ""
DefaultClientScript = "JScript"
DefaultHTMLPageLayout = "Grid"
DefaultTargetSchema = "IE50"
DelaySign = "false"
OutputType = "Library"
PreBuildEvent = ""
PostBuildEvent = ""
RootNamespace = "Sporadicism.NAntExtras"
RunPostBuildEvent = "OnBuildSuccess"
StartupObject = ""
>
<Config
Name = "Debug"
AllowUnsafeBlocks = "false"
BaseAddress = "285212672"
CheckForOverflowUnderflow = "false"
ConfigurationOverrideFile = ""
DefineConstants = "DEBUG;TRACE"
DocumentationFile = ""
DebugSymbols = "true"
FileAlignment = "4096"
IncrementalBuild = "false"
NoStdLib = "false"
NoWarn = ""
Optimize = "false"
OutputPath = "bin\Debug\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "4"
/>
<Config
Name = "Release"
AllowUnsafeBlocks = "false"
BaseAddress = "285212672"
CheckForOverflowUnderflow = "false"
ConfigurationOverrideFile = ""
DefineConstants = "TRACE"
DocumentationFile = "NAntExtras.xml"
DebugSymbols = "true"
FileAlignment = "4096"
IncrementalBuild = "false"
NoStdLib = "false"
NoWarn = ""
Optimize = "true"
OutputPath = "bin\Release\"
RegisterForComInterop = "false"
RemoveIntegerChecks = "false"
TreatWarningsAsErrors = "false"
WarningLevel = "4"
/>
</Settings>
<References>
<Reference
Name = "System"
AssemblyName = "System"
HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.dll"
/>
<Reference
Name = "System.Data"
AssemblyName = "System.Data"
HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.Data.dll"
/>
<Reference
Name = "System.XML"
AssemblyName = "System.Xml"
HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\System.XML.dll"
/>
<Reference
Name = "system.serviceprocess"
AssemblyName = "System.ServiceProcess"
HintPath = "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\system.serviceprocess.dll"
/>
<Reference
Name = "NAnt.Core"
AssemblyName = "NAnt.Core"
HintPath = "..\bin\NAnt.Core.dll"
/>
</References>
</Build>
<Files>
<Include>
<File
RelPath = "AssemblyInfo.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Functions\EnvironmentFunctions.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Functions\GuidFunctions.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Functions\ProcessFunctions.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Functions\ReplaceFunctions.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Functions\ServiceFunctions.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Functions\ShortcutFunctions.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Runner\StartRunner.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Util\Shortcut\IPersistFile.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Util\Shortcut\IShellLinkA.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Util\Shortcut\IShellLinkW.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Util\Shortcut\ShellLink.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Util\Shortcut\ShellLinkTypes.cs"
SubType = "Code"
BuildAction = "Compile"
/>
<File
RelPath = "src\Util\Shortcut\ShortcutInfo.cs"
SubType = "Code"
BuildAction = "Compile"
/>
</Include>
</Files>
</CSHARP>
</VisualStudioProject>
--- NEW FILE: NAntExtras.xml ---
<?xml version="1.0"?>
<doc>
<assembly>
<name>Sporadicism.NAntExtras</name>
</assembly>
<members>
<member name="T:Sporadicism.NAntExtras.Functions.ProcessFunctions">
<summary>
Summary description for Class1.
</summary>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ProcessFunctions.Start(System.String)">
<summary>
Start the given process.
</summary>
<param name="target">The name of the process to start.</param>
<returns>The process id of the given process.</returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ProcessFunctions.Start(System.String,System.Boolean)">
<summary>
Start the given process.
</summary>
<param name="target">The name of the process to start.</param>
<param name="waitForExit"><see langword="true"/> if program execution should
wait for the given process to terminate. Defaults to <see langword="false"/>.</param>
<returns>The process id of the given process.</returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ProcessFunctions.Kill(System.String)">
<summary>
Kill all processes with the given name.
</summary>
<param name="processName">Name of the processes to kill.</param>
<returns>Count of the number of processes killed.</returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ProcessFunctions.KillId(System.Int32)">
<summary>
Kill process with the given id.
</summary>
<param name="id">Id of the process to kill.</param>
<returns>Count of the number of processes killed, or in this case 1.</returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ProcessFunctions.GetIds(System.String)">
<summary>
Get a comma seperated list of id's for the given process name.
</summary>
<param name="processName">Name of process to query.</param>
<returns>A comma seperated list of processes.</returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ProcessFunctions.GetIds(System.String,System.String)">
<summary>
Get a comma seperated list of id's for the given process name.
</summary>
<param name="processName">Name of process to query.</param>
<param name="delimiter">The delimeter to use for the return id's.</param>
<returns>A comma seperated list of processes.</returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.EnvironmentFunctions.Start(System.String,System.String)">
<summary>
Start the given process.
</summary>
<param name="target">The name of the process to start.</param>
<returns>The process id of the given process.</returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.EnvironmentFunctions.SetEnvironmentVariable(System.String,System.String)">
<summary>
Code borrowed from NAnt <setenv/> task:
http://nant.sourceforge.net/nightly/latest/help/tasks/setenv.html
Win32 DllImport for the SetEnvironmentVariable function.
</summary>
<param name="lpName"></param>
<param name="lpValue"></param>
<returns></returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.EnvironmentFunctions.setenv(System.String,System.String,System.Int32)">
<summary>
Code borrowed from NAnt <setenv/> task:
http://nant.sourceforge.net/nightly/latest/help/tasks/setenv.html
</summary>
<param name="name"></param>
<param name="value"></param>
<param name="overwrite"></param>
<returns></returns>
</member>
<member name="T:Sporadicism.NAntExtras.Util.Shortcut.IShellLinkA">
<summary>
From: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/ifaces/ishelllink/resolve.asp
</summary>
</member>
<member name="T:Sporadicism.NAntExtras.Functions.ServiceFunctions">
<summary>
Summary description for Class1.
</summary>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ServiceFunctions.IsRunning(System.String)">
<summary>
Indicate if the service is running or not.
</summary>
<param name="serviceName"></param>
<returns><see langword="false"/> if the service is stopped or
paused. If the service is in any other <see cref="T:System.ServiceProcess.ServiceControllerStatus">
state</see> returns
<see langword="true"/>.</returns>
</member>
<member name="T:Sporadicism.NAntExtras.Runner.StartRunner">
<summary>
Summary description for StartRunner.
</summary>
</member>
<member name="F:Sporadicism.NAntExtras.Runner.StartRunner.Instance">
<summary>
Static accessor for the StartRunner instance.
</summary>
</member>
<member name="M:Sporadicism.NAntExtras.Runner.StartRunner.Run(System.String)">
<summary>
Start the given executable target.
</summary>
<param name="target">The target file to start.</param>
<returns></returns>
</member>
<member name="T:Sporadicism.NAntExtras.Functions.GuidFunctions">
<summary>
Generate guid ids.
</summary>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.GuidFunctions.NewGuid">
<summary>
Start the given process.
</summary>
<param name="target">The name of the process to start.</param>
<returns>The process id of the given process.</returns>
</member>
<member name="T:Sporadicism.NAntExtras.Util.Shortcut.GetPathFlag">
<summary>
See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/ifaces/ishelllink/getpath.asp
</summary>
</member>
<member name="T:Sporadicism.NAntExtras.Util.Shortcut.ResolveFlag">
<summary>
See: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/ifaces/ishelllink/resolve.asp
</summary>
</member>
<member name="T:Sporadicism.NAntExtras.Functions.ShortcutFunctions">
<summary>
Summary description for Class1.
</summary>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ShortcutFunctions.GetTarget(System.String)">
<summary>
Show the full path that the shortcut points to.
</summary>
<param name="shortcut">The shortcut file to resolve.</param>
<returns></returns>
</member>
<member name="T:Sporadicism.NAntExtras.Util.Shortcut.ShortcutInfo">
<summary>
Summary description for ShortcutHelper.
</summary>
</member>
<member name="P:Sporadicism.NAntExtras.Util.Shortcut.ShortcutInfo.WorkingDirectory">
<value>
Working directory of the shortcut.
</value>
</member>
<member name="T:Sporadicism.NAntExtras.Util.Shortcut.ShellLink">
<summary>
Summary description for ShellLink.
</summary>
</member>
<member name="T:Sporadicism.NAntExtras.Functions.ReplaceFunctions">
<summary>
Summary description for Class1.
</summary>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ReplaceFunctions.String(System.String,System.String,System.String)">
<summary>
Replace all instance of the given string in the input file.
</summary>
<param name="inputFile">Input file.</param>
<param name="searchString">String to search for in the input file.</param>
<param name="replaceString">String to replace the search string with.</param>
<returns></returns>
</member>
<member name="M:Sporadicism.NAntExtras.Functions.ReplaceFunctions.String(System.String,System.String,System.String,System.String)">
<summary>
Replace all instances of the given string in the file specified.
</summary>
<param name="inputFile">Name of the input file.</param>
<param name="outputFile">The name of the output file.</param>
<param name="replaceString">The replacement string.</param>
<param name="searchString">The string that will be repalced.</param>
<returns>The process id of the given process.</returns>
</member>
</members>
</doc>
|