ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r434500 - in /ant/core/trunk: ./ docs/manual/ docs/manual/OptionalTasks/ src/main/org/apache/tools/ant/taskdefs/optional/dotnet/
Date Thu, 24 Aug 2006 20:11:32 GMT
Author: bodewig
Date: Thu Aug 24 13:11:31 2006
New Revision: 434500

URL: http://svn.apache.org/viewvc?rev=434500&view=rev
Log:
deprecate .NET tasks

Modified:
    ant/core/trunk/WHATSNEW
    ant/core/trunk/docs/manual/OptionalTasks/dotnet.html
    ant/core/trunk/docs/manual/optionaltasklist.html
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java
    ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java

Modified: ant/core/trunk/WHATSNEW
URL: http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=434500&r1=434499&r2=434500&view=diff
==============================================================================
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Thu Aug 24 13:11:31 2006
@@ -77,6 +77,9 @@
   affect programs/scripts that called the launcher and which did not want to
   receive an error if Ant itself would not start
 
+* All .NET tasks are now deprecated in favor of the new .NET Antlib:
+  http://ant.apache.org/antlibs/proper.html
+
 Fixed bugs:
 -----------
 

Modified: ant/core/trunk/docs/manual/OptionalTasks/dotnet.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/OptionalTasks/dotnet.html?rev=434500&r1=434499&r2=434500&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/OptionalTasks/dotnet.html (original)
+++ ant/core/trunk/docs/manual/OptionalTasks/dotnet.html Thu Aug 24 13:11:31 2006
@@ -8,6 +8,11 @@
 <h2>Introduction</h2>
 
 
+<p><strong>These tasks are deprecated and will be removed in a future
+release of Ant.  They are now part of the <a
+href="http://ant.apache.org/antlibs/proper.html">.NET
+Antlib</a>.</strong></p>
+
 Ant support for .NET goes back to before .NET was released, and
 continues to be expanded based on user demand. Users writing nothing but
 a .NET application, may want to look at the .NET-based

Modified: ant/core/trunk/docs/manual/optionaltasklist.html
URL: http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/optionaltasklist.html?rev=434500&r1=434499&r2=434500&view=diff
==============================================================================
--- ant/core/trunk/docs/manual/optionaltasklist.html (original)
+++ ant/core/trunk/docs/manual/optionaltasklist.html Thu Aug 24 13:11:31 2006
@@ -16,7 +16,7 @@
 <a href="conceptstypeslist.html" target="navFrame">Concepts and Types</a><br>
 
 <h3>Optional Tasks</h3>
-<a href="OptionalTasks/dotnet.html">.NET Tasks</a><br>
+<a href="OptionalTasks/dotnet.html"><i>.NET Tasks</i></a><br>
 <a href="OptionalTasks/antlr.html">ANTLR</a><br>
 <a href="OptionalTasks/attrib.html">Attrib</a><br>
 <a href="OptionalTasks/cab.html">Cab</a><br>

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java?rev=434500&r1=434499&r2=434500&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/DotnetCompile.java
Thu Aug 24 13:11:31 2006
@@ -809,6 +809,10 @@
      */
     public void execute()
              throws BuildException {
+        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/proper.html", Project.MSG_ERR);
+
         validate();
         NetCommand command = createNetCommand();
         //set up response file options

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java?rev=434500&r1=434499&r2=434500&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ilasm.java Thu Aug
24 13:11:31 2006
@@ -456,6 +456,9 @@
      */
     public void execute()
              throws BuildException {
+        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/proper.html", Project.MSG_ERR);
         NetCommand command = buildIlasmCommand();
 
         addFilesAndExecute(command, false);

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java?rev=434500&r1=434499&r2=434500&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/Ildasm.java Thu
Aug 24 13:11:31 2006
@@ -345,6 +345,9 @@
      * @throws BuildException
      */
     public void execute() throws BuildException {
+        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/proper.html", Project.MSG_ERR);
         validate();
         if (!isDisassemblyNeeded()) {
             return;

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java?rev=434500&r1=434499&r2=434500&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/ImportTypelib.java
Thu Aug 24 13:11:31 2006
@@ -184,6 +184,9 @@
      * @exception BuildException if something goes wrong with the build
      */
     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);
+        }
         validate();
         log("Importing typelib " + srcFile
             + " to assembly " + destFile

Modified: ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
URL: http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java?rev=434500&r1=434499&r2=434500&view=diff
==============================================================================
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/optional/dotnet/WsdlToDotnet.java
Thu Aug 24 13:11:31 2006
@@ -276,9 +276,9 @@
      */
     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/proper.html", Project.MSG_ERR);
 
         if (compiler == null) {
             compiler = Compiler.createDefaultCompiler();



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message