* MonoTODOAttribute.cs: Removed.
* CombinePath.cs, CreateProperty.cs, GenerateResources.cs,
SignFile.cs: Added missing attributes.
* Warning.cs: Added missing properties.
* WriteLinesToFiles.cs: Compressed properties.
* Exec.cs, ManagedCompiler.cs: Added missing methods.
svn path=/trunk/mcs/; revision=57828
+2006-03-11 Marek Sieradzki <marek.sieradzki@gmail.com>
+
+ * MonoTODOAttribute.cs: Removed.
+ * CombinePath.cs, CreateProperty.cs, GenerateResources.cs,
+ SignFile.cs: Added missing attributes.
+ * Warning.cs: Added missing properties.
+ * WriteLinesToFiles.cs: Compressed properties.
+ * Exec.cs, ManagedCompiler.cs: Added missing methods.
+
2006-02-26 Marek Sieradzki <marek.sieradzki@gmail.com>
* CombinePath.cs: Added.
set { basePath = value; }
}
+ [Output]
public ITaskItem[] CombinedPaths {
get { return combinedPaths; }
set { combinedPaths = value; }
}
+ [Required]
public ITaskItem[] Paths {
get { return paths; }
set { paths = value; }
return true;
}
+ [Output]
public string[] Value {
get { return this.@value; }
set { this.@value = value; }
}
// FIXME: is this value after evaluation?
+ [Output]
public string[] ValueSetByTask {
get { return valueSetByTask; }
}
executionTime = 0;
}
- public override bool Execute ()
+ /*public override bool Execute ()
{
StringCollection temporaryOutputs = new StringCollection ();
string line = null;
return false;
}
- /*if (exitCode != 0 && ignoreExitCode == false)
+ if (exitCode != 0 && ignoreExitCode == false)
return false;
- else*/
+ else
return true;
+ }*/
+
+ [MonoTODO]
+ protected override int ExecuteTool (string pathToTool,
+ string responseFileCommands,
+ string commandLineCommands)
+ {
+ return 0;
}
[MonoTODO]
return null;
}
+ [MonoTODO]
+ protected override string GetWorkingDirectory ()
+ {
+ return Environment.CurrentDirectory;
+ }
+
+ [MonoTODO]
+ protected override bool HandleTaskExecutionErrors ()
+ {
+ return true;
+ }
+
+ [MonoTODO]
+ protected override void LogPathToTool (string toolName,
+ string pathToTool)
+ {
+ }
+
+ [MonoTODO]
+ protected override void LogToolCommand (string message)
+ {
+ }
+
+ [MonoTODO]
+ protected override bool ValidateParameters ()
+ {
+ return true;
+ }
+
[Required]
public string Command {
get { return command; }
get { return base.StandardOutputLoggingImportance; }
}
- //FIXME: what's this?
+ [MonoTODO]
+ [Output]
public string StdOutEncoding {
get { return stdOutEncoding; }
set { stdOutEncoding = value; }
}
- //FIXME: what's this?
+ [MonoTODO]
+ [Output]
public string StdErrEncoding {
get { return stdErrEncoding; }
set { stdErrEncoding = value; }
}
- // FIXME: crashes the compiler when replaced with return base.ToolName
+ [MonoTODO]
protected override string ToolName {
get { return String.Empty; }
}
get {
return filesWritten;
}
- set {
- filesWritten = value;
- }
}
[MonoTODO]
}
}
+ [Output]
public string StronglyTypedFileName {
get {
return stronglyTypedFilename;
{
return true;
}
+
+ [MonoTODO]
+ protected bool ListHasNoDuplicateItems (ITaskItem itemList,
+ string parameterName)
+ {
+ return true;
+ }
protected override bool ValidateParameters ()
{
set { Bag ["Optimize"] = value; }
}
+ [Output]
public ITaskItem OutputAssembly {
get { return (ITaskItem) Bag ["OutputAssembly"]; }
set { Bag ["OutputAssembly"] = value; }
+++ /dev/null
-//
-// MonoTODOAttribute.cs
-//
-// Author:
-// Ravi Pratap (ravi@ximian.com)
-//
-// (C) Ximian, Inc. http://www.ximian.com
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
-//
-// Permission is hereby granted, free of charge, to any person obtaining
-// a copy of this software and associated documentation files (the
-// "Software"), to deal in the Software without restriction, including
-// without limitation the rights to use, copy, modify, merge, publish,
-// distribute, sublicense, and/or sell copies of the Software, and to
-// permit persons to whom the Software is furnished to do so, subject to
-// the following conditions:
-//
-// The above copyright notice and this permission notice shall be
-// included in all copies or substantial portions of the Software.
-//
-// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
-// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
-// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
-// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
-// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-//
-
-namespace System {
-
- [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
- internal sealed class MonoTODOAttribute : Attribute {
-
- string comment;
-
- public MonoTODOAttribute ()
- {
- }
-
- public MonoTODOAttribute (string comment)
- {
- this.comment = comment;
- }
-
- public string Comment {
- get { return comment; }
- }
- }
-}
#if NET_2_0
+using System;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
{
}
+ [MonoTODO]
public override bool Execute ()
{
return true;
}
}
-#endif
\ No newline at end of file
+#endif
namespace Microsoft.Build.Tasks {
public sealed class Warning : TaskExtension {
+ string code;
+ string helpKeyword;
string text;
public Warning ()
{
if (text == null)
text = String.Empty;
- Log.LogWarning (null, null, null, BuildEngine.ProjectFileOfTaskNode,
+ Log.LogWarning (null, code, helpKeyword, BuildEngine.ProjectFileOfTaskNode,
BuildEngine.LineNumberOfTaskNode, BuildEngine.ColumnNumberOfTaskNode,
BuildEngine.LineNumberOfTaskNode, BuildEngine.ColumnNumberOfTaskNode,
text, null);
return true;
}
+ public string Code {
+ get { return code; }
+ set { code = value; }
+ }
+
+ public string HelpKeyword {
+ get { return helpKeyword; }
+ set { helpKeyword = value; }
+ }
+
public string Text {
- get {
- return text;
- }
- set {
- text = value;
- }
+ get { return text; }
+ set { text = value; }
}
}
}
[Required]
public ITaskItem File {
- get {
- return file;
- }
- set {
- file = value;
- }
+ get { return file; }
+ set { file = value; }
}
public ITaskItem[] Lines {
- get {
- return lines;
- }
- set {
- lines = value;
- }
+ get { return lines; }
+ set { lines = value; }
}
public bool Overwrite {
- get {
- return overwrite;
- }
- set {
- overwrite = value;
- }
+ get { return overwrite; }
+ set { overwrite = value; }
}
}
}