Index: main/org/apache/tools/ant/taskdefs/Rename.java
===================================================================
RCS file: /home/cvspublic/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/Rename.java,v
retrieving revision 1.1
diff -u -r1.1 Rename.java
--- main/org/apache/tools/ant/taskdefs/Rename.java	2000/03/23 03:40:32	1.1
+++ main/org/apache/tools/ant/taskdefs/Rename.java	2000/09/16 17:48:50
@@ -102,6 +102,14 @@
      * thrown, if the rename operation fails.
      */
     public void execute() throws BuildException {
+        if (dest == null) {
+            throw new BuildException("dest attribute is required", location);
+        }
+
+        if (src == null) {
+            throw new BuildException("src attribute is required", location);
+        }
+
         if (replace && dest.exists()) {
             if (!dest.delete()) {
                 throw new BuildException("Unable to remove existing file " +
