--- /home/ciadmin/AbstractFileSet.php.orig	2010-03-05 16:10:59.000000000 -0600
+++ /home/ciadmin/AbstractFileSet.php.new	2010-03-05 16:11:11.000000000 -0600
@@ -282,8 +282,10 @@
         if (!$this->dir->exists()) {
             throw new BuildException("Directory ".$this->dir->getAbsolutePath()." not found.");
         }
-        if (!$this->dir->isDirectory()) {
-            throw new BuildException($this->dir->getAbsolutePath()." is not a directory.");
+        if (!$this->dir->isLink() || !$this->expandSymbolicLinks) {
+            if (!$this->dir->isDirectory()) {
+                throw new BuildException($this->dir->getAbsolutePath()." is not a directory.");
+            }
         }
         $ds = new DirectoryScanner();
         $ds->setExpandSymbolicLinks($this->expandSymbolicLinks);

