Browse Source

Use a more specific URL, don't shout that loud

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@434506 13f79535-47bb-0310-9956-ffa450edef68
master
Stefan Bodewig 19 years ago
parent
commit
e8b96f4bf2
7 changed files with 14 additions and 9 deletions
  1. +1
    -1
      WHATSNEW
  2. +1
    -1
      docs/manual/OptionalTasks/dotnet.html
  3. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
  4. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
  5. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
  6. +4
    -3
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java
  7. +2
    -1
      src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java

+ 1
- 1
WHATSNEW View File

@@ -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:
----------- -----------


+ 1
- 1
docs/manual/OptionalTasks/dotnet.html View File

@@ -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


+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java View File

@@ -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();


+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java View File

@@ -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);


+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java View File

@@ -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;


+ 4
- 3
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java View File

@@ -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


+ 2
- 1
src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java View File

@@ -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();


Loading…
Cancel
Save