git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434506 13f79535-47bb-0310-9956-ffa450edef68master
| @@ -78,7 +78,7 @@ Changes that could break older environments: | |||||
| receive an error if Ant itself would not start | receive an error if Ant itself would not start | ||||
| * All .NET tasks are now deprecated in favor of the new .NET Antlib: | * All .NET tasks are now deprecated in favor of the new .NET Antlib: | ||||
| http://ant.apache.org/antlibs/proper.html | |||||
| http://ant.apache.org/antlibs/dotnet/index.html | |||||
| Fixed bugs: | Fixed bugs: | ||||
| ----------- | ----------- | ||||
| @@ -10,7 +10,7 @@ | |||||
| <p><strong>These tasks are deprecated and will be removed in a future | <p><strong>These tasks are deprecated and will be removed in a future | ||||
| release of Ant. They are now part of the <a | release of Ant. They are now part of the <a | ||||
| href="http://ant.apache.org/antlibs/proper.html">.NET | |||||
| href="http://ant.apache.org/antlibs/dotnet/index.html">.NET | |||||
| Antlib</a>.</strong></p> | Antlib</a>.</strong></p> | ||||
| Ant support for .NET goes back to before .NET was released, and | Ant support for .NET goes back to before .NET was released, and | ||||
| @@ -811,7 +811,8 @@ public abstract class DotnetCompile | |||||
| throws BuildException { | throws BuildException { | ||||
| log("This task is deprecated and will be removed in a future version\n" | log("This task is deprecated and will be removed in a future version\n" | ||||
| + "of Ant. It is now part of the .NET Antlib:\n" | + "of Ant. It is now part of the .NET Antlib:\n" | ||||
| + "http://ant.apache.org/antlibs/proper.html", Project.MSG_ERR); | |||||
| + "http://ant.apache.org/antlibs/dotnet/index.html", | |||||
| Project.MSG_WARN); | |||||
| validate(); | validate(); | ||||
| NetCommand command = createNetCommand(); | NetCommand command = createNetCommand(); | ||||
| @@ -458,7 +458,8 @@ public class Ilasm | |||||
| throws BuildException { | throws BuildException { | ||||
| log("This task is deprecated and will be removed in a future version\n" | log("This task is deprecated and will be removed in a future version\n" | ||||
| + "of Ant. It is now part of the .NET Antlib:\n" | + "of Ant. It is now part of the .NET Antlib:\n" | ||||
| + "http://ant.apache.org/antlibs/proper.html", Project.MSG_ERR); | |||||
| + "http://ant.apache.org/antlibs/dotnet/index.html", | |||||
| Project.MSG_WARN); | |||||
| NetCommand command = buildIlasmCommand(); | NetCommand command = buildIlasmCommand(); | ||||
| addFilesAndExecute(command, false); | addFilesAndExecute(command, false); | ||||
| @@ -347,7 +347,8 @@ public class Ildasm extends Task { | |||||
| public void execute() throws BuildException { | public void execute() throws BuildException { | ||||
| log("This task is deprecated and will be removed in a future version\n" | log("This task is deprecated and will be removed in a future version\n" | ||||
| + "of Ant. It is now part of the .NET Antlib:\n" | + "of Ant. It is now part of the .NET Antlib:\n" | ||||
| + "http://ant.apache.org/antlibs/proper.html", Project.MSG_ERR); | |||||
| + "http://ant.apache.org/antlibs/dotnet/index.html", | |||||
| Project.MSG_WARN); | |||||
| validate(); | validate(); | ||||
| if (!isDisassemblyNeeded()) { | if (!isDisassemblyNeeded()) { | ||||
| return; | return; | ||||
| @@ -184,9 +184,10 @@ public class ImportTypelib extends Task { | |||||
| * @exception BuildException if something goes wrong with the build | * @exception BuildException if something goes wrong with the build | ||||
| */ | */ | ||||
| public void execute() throws BuildException { | public void execute() throws BuildException { | ||||
| if ("WsdlToDotnet".equals(getTaskType())) { | |||||
| log("Warning: the task name <WsdlToDotnet> is deprecated. Use <wsdltodotnet> (all lowercase) instead.", Project.MSG_WARN); | |||||
| } | |||||
| log("This task is deprecated and will be removed in a future version\n" | |||||
| + "of Ant. It is now part of the .NET Antlib:\n" | |||||
| + "http://ant.apache.org/antlibs/dotnet/index.html", | |||||
| Project.MSG_WARN); | |||||
| validate(); | validate(); | ||||
| log("Importing typelib " + srcFile | log("Importing typelib " + srcFile | ||||
| + " to assembly " + destFile | + " to assembly " + destFile | ||||
| @@ -278,7 +278,8 @@ public class WsdlToDotnet extends Task { | |||||
| throws BuildException { | throws BuildException { | ||||
| log("This task is deprecated and will be removed in a future version\n" | log("This task is deprecated and will be removed in a future version\n" | ||||
| + "of Ant. It is now part of the .NET Antlib:\n" | + "of Ant. It is now part of the .NET Antlib:\n" | ||||
| + "http://ant.apache.org/antlibs/proper.html", Project.MSG_ERR); | |||||
| + "http://ant.apache.org/antlibs/dotnet/index.html", | |||||
| Project.MSG_WARN); | |||||
| if (compiler == null) { | if (compiler == null) { | ||||
| compiler = Compiler.createDefaultCompiler(); | compiler = Compiler.createDefaultCompiler(); | ||||