[kepler-dev] [Bug 4038] New: - The first time ant change-to is run, it prints a stack trace

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Apr 30 09:09:05 PDT 2009


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4038

           Summary: The first time ant change-to is run, it prints a stack
                    trace
           Product: Kepler
           Version: 1.x dev
          Platform: Other
        OS/Version: Windows 2000
            Status: NEW
          Severity: minor
          Priority: P2
         Component: build system
        AssignedTo: berkley at nceas.ucsb.edu
        ReportedBy: cxh at eecs.berkeley.edu
         QAContact: kepler-dev at kepler-project.org


The first time I run ant change-to under Windows, I get:

change-to:
[change-to] java.io.FileNotFoundException:
c:\tmp\cxh\src\kepler\build-area\modules.txt (The system cannot fin
d the file specified)
[change-to]     at java.io.FileInputStream.open(Native Method)
[change-to]     at java.io.FileInputStream.<init>(FileInputStream.java:106)
[change-to]     at java.io.FileReader.<init>(FileReader.java:55)
[change-to]     at
org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:68)
[change-to]     at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:57)
[change-to]     at org.kepler.build.modules.ModulesTxt.init(ModulesTxt.java:23)
[change-to]     at
org.kepler.build.modules.ModulesTask.init(ModulesTask.java:59)
[change-to]     at
org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:223)
[change-to]     at
org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:414)
[change-to]     at
org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
[change-to]     at org.apache.tools.ant.Task.perform(Task.java:347)
[change-to]     at org.apache.tools.ant.Target.execute(Target.java:357)
[change-to]     at org.apache.tools.ant.Target.performTasks(Target.java:385)
[change-to]     at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[change-to]     at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[change-to]     at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[change-to]     at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[change-to]     at org.apache.tools.ant.Main.runBuild(Main.java:758)
[change-to]     at org.apache.tools.ant.Main.startAnt(Main.java:217)
[change-to]     at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[change-to]     at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[change-to] Copying 1 file to c:\tmp\cxh\src\kepler\build-area
[change-to] Retrieving modules....

The change-to command completes, but this looks bad and could be confusing.

To replicate:
1. Check out a new tree
2. ant change-to -Dsuite=kepler


More information about the Kepler-dev mailing list