ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9600] New: - Dependset falls over when the srcfileset doesn't match any files
Date Tue, 04 Jun 2002 04:17:26 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9600>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9600

Dependset falls over when the srcfileset doesn't match any files

           Summary: Dependset falls over when the srcfileset doesn't match
                    any files
           Product: Ant
           Version: 1.4.1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Core tasks
        AssignedTo: ant-dev@jakarta.apache.org
        ReportedBy: Edwin_STEELE@rta.nsw.gov.au


I'm attaching a very simple build file that causes the stack trace.
I'm using the stock 1.4.1 distribution.

C:\WINNT\Profiles\steelee\Desktop>ant -buildfile bug.xml -verbose
Ant version 1.4.1 compiled on October 11 2001
Buildfile: bug.xml
Detected Java version: 1.3 in: P:\jdk1.3.1\jre
Detected OS: Windows NT
parsing buildfile C:\WINNT\Profiles\steelee\Desktop\bug.xml with URI = 
file:C:/WINNT/Profiles/steelee/Desktop/bug.xml
Project base dir set to: C:\WINNT\Profiles\steelee\Desktop
Build sequence for target `bob' is [bob]
Complete build sequence is [bob]

bob:

BUILD FAILED

java.lang.ArrayIndexOutOfBoundsException
        at org.apache.tools.ant.taskdefs.DependSet.execute(DependSet.java:240)
        at org.apache.tools.ant.Task.perform(Task.java:217)
        at org.apache.tools.ant.Target.execute(Target.java:184)
        at org.apache.tools.ant.Target.performTasks(Target.java:202)
        at org.apache.tools.ant.Project.executeTarget(Project.java:601)
        at org.apache.tools.ant.Project.executeTargets(Project.java:560)
        at org.apache.tools.ant.Main.runBuild(Main.java:454)
        at org.apache.tools.ant.Main.start(Main.java:153)
        at org.apache.tools.ant.Main.main(Main.java:176)

Total time: 0 seconds

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


Mime
View raw message