bndtools/bndtools — Issue #226: build failure
Author: fhuberts
Created: 2011-10-23 10:18:47+00:00
State: open

current master 030a028 doesn't build

```
[ferry@stinkpad bndtools ((ddd7edb...)|BISECTING)]$ git bisect bad
ddd7edb7b2d40e12c0c872659c79b867465fe2f8 is the first bad commit
commit ddd7edb7b2d40e12c0c872659c79b867465fe2f8
Author: Neil Bartlett
Date: Sat Oct 22 19:57:51 2011 +0100

Removed sombunall dependencies on Eclipse internal packages

:040000 040000 2adeaae824a678176ad8920ecd9d475182de9d11 8221e1053e7e9d713c55c4c133cf48b523332ccf M	bndtools.core
:040000 040000 b36ae73f25f14c478cbf27eb72d45c66213ad6e3 b25606dbd8e7b883913ab79d01673e09694ddae3 M	bndtools.repository.base
:040000 040000 17d8c471ebd102559b33a4decf1251f29c2aad11 14bcf0c0ca1520614ed9c2c8cf6f287b7352dfa8 M	cnf
```

```
[ferry@stinkpad bndtools.build ((004dae0...)|BISECTING)]$ ant
Buildfile: /home/ferry/vcs/pelagic/bndtools/bndtools.build/build.xml

init:
[bndprepare] java.io.FileNotFoundException: /home/ferry/vcs/pelagic/bndtools/../repo/jars/repository.xml (No such file or directory)
[bndprepare]	at java.io.FileInputStream.open(Native Method)
[bndprepare]	at java.io.FileInputStream.(FileInputStream.java:137)
[bndprepare]	at java.io.FileInputStream.(FileInputStream.java:96)
[bndprepare]	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:87)
[bndprepare]	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:178)
[bndprepare]	at java.net.URL.openStream(URL.java:1029)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.init(AbstractBaseOBR.java:112)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.getHandles(AbstractBaseOBR.java:165)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.resolveBundle(AbstractBaseOBR.java:409)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.getHandle(AbstractBaseOBR.java:193)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.get(AbstractBaseOBR.java:186)
[bndprepare]	at aQute.bnd.build.Project.getBundle(Project.java:953)
[bndprepare]	at aQute.bnd.build.Project.getBundles(Project.java:458)
[bndprepare]	at aQute.bnd.build.Project.parseRunpath(Project.java:381)
[bndprepare]	at aQute.bnd.build.Project.prepare(Project.java:286)
[bndprepare]	at aQute.bnd.build.Project.getBootclasspath(Project.java:737)
[bndprepare]	at aQute.bnd.build.Project._p_bootclasspath(Project.java:796)
[bndprepare]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[bndprepare]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[bndprepare]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[bndprepare]	at java.lang.reflect.Method.invoke(Method.java:616)
[bndprepare]	at aQute.lib.osgi.Macro.doCommand(Macro.java:210)
[bndprepare]	at aQute.lib.osgi.Macro.doCommands(Macro.java:186)
[bndprepare]	at aQute.lib.osgi.Macro.replace(Macro.java:134)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:71)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:86)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:58)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:53)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:949)
[bndprepare]	at aQute.lib.osgi.Macro.getFlattenedProperties(Macro.java:911)
[bndprepare]	at aQute.lib.osgi.Processor.getFlattenedProperties(Processor.java:919)
[bndprepare]	at aQute.bnd.ant.PrepareTask.execute(PrepareTask.java:38)
[bndprepare]	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[bndprepare]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[bndprepare]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[bndprepare]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[bndprepare]	at java.lang.reflect.Method.invoke(Method.java:616)
[bndprepare]	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[bndprepare]	at org.apache.tools.ant.Task.perform(Task.java:348)
[bndprepare]	at org.apache.tools.ant.Target.execute(Target.java:390)
[bndprepare]	at org.apache.tools.ant.Target.performTasks(Target.java:411)
[bndprepare]	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[bndprepare]	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[bndprepare]	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[bndprepare]	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[bndprepare]	at org.apache.tools.ant.Main.runBuild(Main.java:809)
[bndprepare]	at org.apache.tools.ant.Main.startAnt(Main.java:217)
[bndprepare]	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[bndprepare]	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
[bndprepare] java.io.FileNotFoundException: /home/ferry/vcs/pelagic/bndtools/../repo/bundles/repository.xml (No such file or directory)
[bndprepare]	at java.io.FileInputStream.open(Native Method)
[bndprepare]	at java.io.FileInputStream.(FileInputStream.java:137)
[bndprepare]	at java.io.FileInputStream.(FileInputStream.java:96)
[bndprepare]	at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:87)
[bndprepare]	at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:178)
[bndprepare]	at java.net.URL.openStream(URL.java:1029)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.init(AbstractBaseOBR.java:112)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.getHandles(AbstractBaseOBR.java:165)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.resolveBundle(AbstractBaseOBR.java:409)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.getHandle(AbstractBaseOBR.java:193)
[bndprepare]	at aQute.lib.deployer.obr.AbstractBaseOBR.get(AbstractBaseOBR.java:186)
[bndprepare]	at aQute.bnd.build.Project.getBundle(Project.java:953)
[bndprepare]	at aQute.bnd.build.Project.getBundles(Project.java:458)
[bndprepare]	at aQute.bnd.build.Project.parseRunpath(Project.java:381)
[bndprepare]	at aQute.bnd.build.Project.prepare(Project.java:286)
[bndprepare]	at aQute.bnd.build.Project.getBootclasspath(Project.java:737)
[bndprepare]	at aQute.bnd.build.Project._p_bootclasspath(Project.java:796)
[bndprepare]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[bndprepare]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[bndprepare]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[bndprepare]	at java.lang.reflect.Method.invoke(Method.java:616)
[bndprepare]	at aQute.lib.osgi.Macro.doCommand(Macro.java:210)
[bndprepare]	at aQute.lib.osgi.Macro.doCommands(Macro.java:186)
[bndprepare]	at aQute.lib.osgi.Macro.replace(Macro.java:134)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:71)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:86)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:58)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:53)
[bndprepare]	at aQute.lib.osgi.Macro.process(Macro.java:949)
[bndprepare]	at aQute.lib.osgi.Macro.getFlattenedProperties(Macro.java:911)
[bndprepare]	at aQute.lib.osgi.Processor.getFlattenedProperties(Processor.java:919)
[bndprepare]	at aQute.bnd.ant.PrepareTask.execute(PrepareTask.java:38)
[bndprepare]	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
[bndprepare]	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[bndprepare]	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
[bndprepare]	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[bndprepare]	at java.lang.reflect.Method.invoke(Method.java:616)
[bndprepare]	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
[bndprepare]	at org.apache.tools.ant.Task.perform(Task.java:348)
[bndprepare]	at org.apache.tools.ant.Target.execute(Target.java:390)
[bndprepare]	at org.apache.tools.ant.Target.performTasks(Target.java:411)
[bndprepare]	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
[bndprepare]	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
[bndprepare]	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[bndprepare]	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
[bndprepare]	at org.apache.tools.ant.Main.runBuild(Main.java:809)
[bndprepare]	at org.apache.tools.ant.Main.startAnt(Main.java:217)
[bndprepare]	at org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)
[bndprepare]	at org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)
```