[kepler-dev] build problems
Derik Barseghian
barseghian at nceas.ucsb.edu
Tue Aug 7 19:42:20 PDT 2012
I haven't been following kepler closely today, but I've updated now and have problems -- on linux I get some errors and can't launch. On mac I get some errors but can launch.
LINUX:
On a fresh checkout, doing ant change-to -Dsuite=kepler you see an error go past (note build-area/build-area/ in path) :
[run] WARNING: Using virtual project location.
[run] java.io.FileNotFoundException: /home/barseghian/dev2/kepler.modules/build-area/build-area/modules.txt (No such file or directory)
[run] at java.io.FileInputStream.open(Native Method)
[run] at java.io.FileInputStream.<init>(FileInputStream.java:120)
[run] at java.io.FileReader.<init>(FileReader.java:55)
[run] at org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:161)
[run] at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:145)
[run] at org.kepler.build.modules.ModulesTxt.init(ModulesTxt.java:58)
[run] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:103)
[run] at org.kepler.build.modules.ModuleTree.instance(ModuleTree.java:93)
[run] at org.kepler.util.DotKeplerManager.initialize(DotKeplerManager.java:132)
[run] at org.kepler.util.DotKeplerManager.getInstance(DotKeplerManager.java:110)
[run] at org.kepler.build.project.ProjectLocator.getUserKeplerModulesDir(ProjectLocator.java:102)
[run] at org.kepler.build.project.ProjectLocator.setKeplerModulesDir(ProjectLocator.java:79)
[run] at org.kepler.build.project.ProjectLocator.getBuildDir(ProjectLocator.java:193)
[run] at org.kepler.build.project.ProjectLocator.shouldUtilizeUserKeplerModules(ProjectLocator.java:92)
[run] at org.kepler.build.project.MemoryProperties.<init>(MemoryProperties.java:27)
[run] at org.kepler.build.project.MemoryProperties.instance(MemoryProperties.java:67)
[run] at org.kepler.build.project.MemoryProperties.getMaxMemory(MemoryProperties.java:84)
[run] at org.kepler.build.Run.<init>(Run.java:71)
[run] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[run] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[run] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[run] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
things proceed to checkout, but ant run eventually bombs:
[run] java.lang.NullPointerException
[run] at org.kepler.build.project.RepositoryLocations.getLocation(RepositoryLocations.java:115)
[run] at org.kepler.build.modules.Module.<init>(Module.java:185)
[run] at org.kepler.build.modules.Suite.<init>(Suite.java:71)
[run] at org.kepler.build.modules.Node.<init>(Node.java:49)
[run] at org.kepler.build.modules.ModuleTree.<init>(ModuleTree.java:54)
[run] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:106)
[run] at org.kepler.build.modules.ModuleTree.instance(ModuleTree.java:93)
[run] at org.kepler.util.DotKeplerManager.initialize(DotKeplerManager.java:132)
[run] at org.kepler.util.DotKeplerManager.getInstance(DotKeplerManager.java:110)
[run] at org.kepler.build.project.ProjectLocator.getUserKeplerModulesDir(ProjectLocator.java:102)
[run] at org.kepler.build.project.ProjectLocator.setKeplerModulesDir(ProjectLocator.java:79)
[run] at org.kepler.build.project.ProjectLocator.getBuildDir(ProjectLocator.java:193)
[run] at org.kepler.build.project.ProjectLocator.shouldUtilizeUserKeplerModules(ProjectLocator.java:92)
[run] at org.kepler.build.project.MemoryProperties.<init>(MemoryProperties.java:27)
[run] at org.kepler.build.project.MemoryProperties.instance(MemoryProperties.java:67)
[run] at org.kepler.build.project.MemoryProperties.getMaxMemory(MemoryProperties.java:84)
[run] at org.kepler.build.Run.<init>(Run.java:71)
[run] at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
[run] at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
[run] at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
[run] at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
[run] at org.apache.tools.ant.AntTypeDefinition.innerCreateAndSet(AntTypeDefinition.java:311)
[run] at org.apache.tools.ant.AntTypeDefinition.createAndSet(AntTypeDefinition.java:257)
[run] at org.apache.tools.ant.AntTypeDefinition.icreate(AntTypeDefinition.java:202)
[run] at org.apache.tools.ant.AntTypeDefinition.create(AntTypeDefinition.java:189)
[run] at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:238)
[run] at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:216)
[run] at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:414)
[run] at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:160)
[run] at org.apache.tools.ant.Task.perform(Task.java:347)
[run] at org.apache.tools.ant.Target.execute(Target.java:357)
[run] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[run] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
[run] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
[run] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[run] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
[run] at org.apache.tools.ant.Main.runBuild(Main.java:758)
[run] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[run] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
[run] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
[run] Module Directory could not be created
You end up with a build-area/build-area dir.
MAC
With a fresh checkout you see a similar error go past:
quirk:build-area derik$ ant change-to -Dsuite=kepler
Buildfile: /Users/derik/dev2/kepler.modules.temp/build-area/build.xml
change-to:
[change-to] java.io.FileNotFoundException: /Users/derik/dev2/kepler.modules.temp/build-area/modules.txt (No such file or directory)
[change-to] at java.io.FileInputStream.open(Native Method)
[change-to] at java.io.FileInputStream.<init>(FileInputStream.java:120)
[change-to] at java.io.FileReader.<init>(FileReader.java:55)
[change-to] at org.kepler.build.modules.ModulesTxt.readHelper(ModulesTxt.java:161)
[change-to] at org.kepler.build.modules.ModulesTxt.read(ModulesTxt.java:145)
[change-to] at org.kepler.build.modules.ModulesTxt.init(ModulesTxt.java:58)
[change-to] at org.kepler.build.modules.ModuleTree.init(ModuleTree.java:103)
[change-to] at org.kepler.build.modules.ModuleTree.instance(ModuleTree.java:93)
[change-to] at org.kepler.util.DotKeplerManager.initialize(DotKeplerManager.java:132)
[change-to] at org.kepler.util.DotKeplerManager.getInstance(DotKeplerManager.java:110)
[change-to] at org.kepler.build.project.ProjectLocator.getUserKeplerModulesDir(ProjectLocator.java:102)
[change-to] at org.kepler.build.project.ProjectLocator.setKeplerModulesDir(ProjectLocator.java:79)
[change-to] at org.kepler.build.modules.ModulesTask.init(ModulesTask.java:76)
[change-to] at org.apache.tools.ant.ComponentHelper.createComponent(ComponentHelper.java:271)
[change-to] at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:417)
[change-to] at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:163)
[change-to] at org.apache.tools.ant.Task.perform(Task.java:347)
[change-to] at org.apache.tools.ant.Target.execute(Target.java:392)
[change-to] at org.apache.tools.ant.Target.performTasks(Target.java:413)
[change-to] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[change-to] at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[change-to] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[change-to] at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[change-to] at org.apache.tools.ant.Main.runBuild(Main.java:811)
[change-to] at org.apache.tools.ant.Main.startAnt(Main.java:217)
[change-to] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[change-to] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
but ant run starts up kepler, and no build-area/build-area.
More information about the Kepler-dev
mailing list