--- r:\jakarta-ant\jakarta-ant\src\main\org\apache\tools\ant\ProjectHelper.java	Thu Jul 13 06:23:04 2000
+++ R:\jakarta-ant\src\main\org\apache\tools\ant\ProjectHelper.java	Mon Aug 14 14:04:23 2000
@@ -116,7 +116,7 @@
                 }
                 throw be;
             }
-            
+
             throw new BuildException(exc.getMessage(), t, location);
         }
         catch(SAXException exc) {
@@ -279,6 +279,9 @@
             String ifCond = null;
             String unlessCond = null;
             String id = null;
+//MS:begin
+            String description = null;
+//MS:end
 
             for (int i = 0; i < attrs.getLength(); i++) {
                 String key = attrs.getName(i);
@@ -294,6 +297,10 @@
                     unlessCond = value;
                 } else if (key.equals("id")) {
                     id = value;
+//MS:begin
+                } else if (key.equals("description")) {
+                    description = value;
+//MS:end
                 } else {
                     throw new SAXParseException("Unexpected attribute \"" + key + "\"", locator);
                 }
@@ -307,6 +314,9 @@
             target.setName(name);
             target.setIf(ifCond);
             target.setUnless(unlessCond);
+//MS:begin
+            target.setDescription(description);
+//MS:end
             project.addTarget(name, target);
 
             if (id != null && !id.equals(""))
@@ -358,7 +368,7 @@
             String text = new String(buf, start, end).trim();
             if (text.length() == 0) return;
 
-            IntrospectionHelper ih = 
+            IntrospectionHelper ih =
                 IntrospectionHelper.getHelper(task.getClass());
 
             try {
@@ -390,7 +400,7 @@
 
         public void init(String propType, AttributeList attrs) throws SAXParseException {
             Class targetClass = target.getClass();
-            IntrospectionHelper ih = 
+            IntrospectionHelper ih =
                 IntrospectionHelper.getHelper(targetClass);
 
             try {
@@ -405,7 +415,7 @@
             String text = new String(buf, start, end).trim();
             if (text.length() == 0) return;
 
-            IntrospectionHelper ih = 
+            IntrospectionHelper ih =
                 IntrospectionHelper.getHelper(child.getClass());
 
             try {
@@ -424,23 +434,23 @@
         if( target instanceof TaskAdapter )
             target=((TaskAdapter)target).getProxy();
 
-        IntrospectionHelper ih = 
+        IntrospectionHelper ih =
             IntrospectionHelper.getHelper(target.getClass());
 
         for (int i = 0; i < attrs.getLength(); i++) {
             // reflect these into the target
-            String value=replaceProperties(attrs.getValue(i), 
+            String value=replaceProperties(attrs.getValue(i),
                                            project.getProperties() );
             try {
-                ih.setAttribute(project, target, 
+                ih.setAttribute(project, target,
                                 attrs.getName(i).toLowerCase(), value);
 
             } catch (BuildException be) {
                 if (attrs.getName(i).equals("id")) {
                     project.addReference(attrs.getValue(i), target);
                 } else {
-                    be.setLocation(new Location(buildFile.toString(), 
-                                                locator.getLineNumber(), 
+                    be.setLocation(new Location(buildFile.toString(),
+                                                locator.getLineNumber(),
                                                 locator.getColumnNumber()));
                     throw be;
                 }
@@ -480,7 +490,7 @@
                                              value );
                 }
                 String n=value.substring( pos+2, endName );
-                String v= (keys.containsKey(n)) ? (String) keys.get( n ) 
+                String v= (keys.containsKey(n)) ? (String) keys.get( n )
                     : "${"+n+"}";
                 //System.out.println("N: " + n + " " + " V:" + v);
                 sb.append( v );
