Project

General

Profile

Bug #5168

'ant change-to' fails at r25610

Added by Daniel Crawl over 8 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
build system
Target version:
Start date:
09/01/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5168

Description

  1. ant change-to -Dsuite=kepler
    Buildfile: build.xml

change-to:
[change-to] Retrieving modules....
[change-to]
[change-to] The module kepler already exists.
[change-to] The module outreach already exists.
[change-to] The module apple-extensions already exists.
[change-to] The module r already exists.
[change-to] The module loader already exists.
[change-to] The module actors already exists.
[change-to] The module directors already exists.
[change-to] The module opendap already exists.
[change-to] The module dataturbine already exists.
[change-to] The module ecogrid already exists.
[change-to] The module authentication-gui already exists.
[change-to] The module module-manager-gui already exists.
[change-to] The module gui already exists.
[change-to] The module authentication already exists.
[change-to] The module repository already exists.
[change-to] The module job already exists.
[change-to] The module io already exists.
[change-to] The module ssh already exists.
[change-to] The module data-handling already exists.
[change-to] The module sms already exists.
[change-to] The module component-library already exists.
[change-to] The module util already exists.
[change-to] The module event-state already exists.
[change-to] The module core already exists.
[change-to] The module common already exists.
[change-to] The module module-manager already exists.
[change-to] The module configuration-manager already exists.
[change-to] The module kepler-tasks already exists.
[change-to] The module ptolemy already exists.
[change-to]
[change-to] Changing the value of modules.txt
[change-to] java.io.FileNotFoundException: /Users/crawl/KeplerData/kepler.modules/build-area/current-suite.txt (No such file or directory)
[change-to] at java.io.FileOutputStream.open(Native Method)
[change-to] at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
[change-to] at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
[change-to] at java.io.FileWriter.<init>(FileWriter.java:73)
[change-to] at org.kepler.build.modules.CurrentSuiteTxt.setName(CurrentSuiteTxt.java:68)
[change-to] at org.kepler.build.ChangeTo.run(ChangeTo.java:137)
[change-to] at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
[change-to] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[change-to] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[change-to] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[change-to] at java.lang.reflect.Method.invoke(Method.java:597)
[change-to] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[change-to] at org.apache.tools.ant.Task.perform(Task.java:348)
[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)

BUILD FAILED
java.lang.NullPointerException
at org.kepler.build.modules.CurrentSuiteTxt.setName(CurrentSuiteTxt.java:74)
at org.kepler.build.ChangeTo.run(ChangeTo.java:137)
at org.kepler.build.modules.ModulesTask.execute(ModulesTask.java:101)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

Total time: 0 seconds

History

#1 Updated by David Welker over 8 years ago

Fixed.

#2 Updated by Redmine Admin about 6 years ago

Original Bugzilla ID was 5168

Also available in: Atom PDF