{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/a9810ac99e0f8f7f7f03e36d32df6979?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"a9810ac99e0f8f7f7f03e36d32df6979","url":"https://api.github.com/users/fhuberts","login":"fhuberts","id":635705},"updated_at":"2011-10-30T16:05:54Z","labels":[{"name":"OBR","color":"ededed","url":"https://api.github.com/repos/bndtools/bndtools/labels/OBR"}],"assignee":null,"comments":9,"closed_at":"2011-10-30T16:05:54Z","url":"https://api.github.com/repos/bndtools/bndtools/issues/198","body":"when being offline there are now issues since we changed to using the remote OBR on github:\r\n\r\n```\r\nbndtools: b49ff4f611f40e39e71f4f5becf3193b115e885d\r\n```\r\n\r\nWhen I do an 'ant clean' in the bndtools.build directory I get a very interesting stacktrace:\r\n\r\n```\r\n$ ant clean\r\nBuildfile: /home/ferry/vcs/pelagic/bndtools/bndtools.build/build.xml\r\n\r\ninit:\r\n[bndprepare] java.net.UnknownHostException: raw.github.com\r\n[bndprepare] \tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175)\r\n[bndprepare] \tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)\r\n[bndprepare] \tat java.net.Socket.connect(Socket.java:546)\r\n[bndprepare] \tat sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:579)\r\n[bndprepare] \tat sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)\r\n[bndprepare] \tat sun.net.NetworkClient.doConnect(NetworkClient.java:178)\r\n[bndprepare] \tat sun.net.www.http.HttpClient.openServer(HttpClient.java:409)\r\n[bndprepare] \tat sun.net.www.http.HttpClient.openServer(HttpClient.java:530)\r\n[bndprepare] \tat sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)\r\n[bndprepare] \tat sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:332)\r\n[bndprepare] \tat sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)\r\n[bndprepare] \tat sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)\r\n[bndprepare] \tat sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)\r\n[bndprepare] \tat sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)\r\n[bndprepare] \tat sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)\r\n[bndprepare] \tat java.net.URL.openStream(URL.java:1029)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.init(AbstractBaseOBR.java:112)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.getHandles(AbstractBaseOBR.java:165)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.resolveBundle(AbstractBaseOBR.java:409)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.getHandle(AbstractBaseOBR.java:193)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.get(AbstractBaseOBR.java:186)\r\n[bndprepare] \tat aQute.bnd.build.Project.getBundle(Project.java:953)\r\n[bndprepare] \tat aQute.bnd.build.Project.getBundles(Project.java:458)\r\n[bndprepare] \tat aQute.bnd.build.Project.parseRunpath(Project.java:381)\r\n[bndprepare] \tat aQute.bnd.build.Project.prepare(Project.java:286)\r\n[bndprepare] \tat aQute.bnd.build.Project.getBootclasspath(Project.java:737)\r\n[bndprepare] \tat aQute.bnd.build.Project._p_bootclasspath(Project.java:796)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n[bndprepare] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n[bndprepare] \tat java.lang.reflect.Method.invoke(Method.java:616)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.doCommand(Macro.java:210)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.doCommands(Macro.java:186)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.replace(Macro.java:134)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:71)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:86)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:58)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:53)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:949)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.getFlattenedProperties(Macro.java:911)\r\n[bndprepare] \tat aQute.lib.osgi.Processor.getFlattenedProperties(Processor.java:919)\r\n[bndprepare] \tat aQute.bnd.ant.PrepareTask.execute(PrepareTask.java:38)\r\n[bndprepare] \tat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n[bndprepare] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n[bndprepare] \tat java.lang.reflect.Method.invoke(Method.java:616)\r\n[bndprepare] \tat org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\r\n[bndprepare] \tat org.apache.tools.ant.Task.perform(Task.java:348)\r\n[bndprepare] \tat org.apache.tools.ant.Target.execute(Target.java:390)\r\n[bndprepare] \tat org.apache.tools.ant.Target.performTasks(Target.java:411)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeTarget(Project.java:1368)\r\n[bndprepare] \tat org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeTargets(Project.java:1251)\r\n[bndprepare] \tat org.apache.tools.ant.Main.runBuild(Main.java:809)\r\n[bndprepare] \tat org.apache.tools.ant.Main.startAnt(Main.java:217)\r\n[bndprepare] \tat org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)\r\n[bndprepare] \tat org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)\r\n[bndprepare] java.net.UnknownHostException: raw.github.com\r\n[bndprepare] \tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:175)\r\n[bndprepare] \tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:384)\r\n[bndprepare] \tat java.net.Socket.connect(Socket.java:546)\r\n[bndprepare] \tat sun.security.ssl.SSLSocketImpl.connect(SSLSocketImpl.java:579)\r\n[bndprepare] \tat sun.security.ssl.BaseSSLSocketImpl.connect(BaseSSLSocketImpl.java:160)\r\n[bndprepare] \tat sun.net.NetworkClient.doConnect(NetworkClient.java:178)\r\n[bndprepare] \tat sun.net.www.http.HttpClient.openServer(HttpClient.java:409)\r\n[bndprepare] \tat sun.net.www.http.HttpClient.openServer(HttpClient.java:530)\r\n[bndprepare] \tat sun.net.www.protocol.https.HttpsClient.<init>(HttpsClient.java:275)\r\n[bndprepare] \tat sun.net.www.protocol.https.HttpsClient.New(HttpsClient.java:332)\r\n[bndprepare] \tat sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(AbstractDelegateHttpsURLConnection.java:191)\r\n[bndprepare] \tat sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:876)\r\n[bndprepare] \tat sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:177)\r\n[bndprepare] \tat sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1139)\r\n[bndprepare] \tat sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:254)\r\n[bndprepare] \tat java.net.URL.openStream(URL.java:1029)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.init(AbstractBaseOBR.java:112)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.getHandles(AbstractBaseOBR.java:165)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.resolveBundle(AbstractBaseOBR.java:409)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.getHandle(AbstractBaseOBR.java:193)\r\n[bndprepare] \tat aQute.lib.deployer.obr.AbstractBaseOBR.get(AbstractBaseOBR.java:186)\r\n[bndprepare] \tat aQute.bnd.build.Project.getBundle(Project.java:953)\r\n[bndprepare] \tat aQute.bnd.build.Project.getBundles(Project.java:458)\r\n[bndprepare] \tat aQute.bnd.build.Project.parseRunpath(Project.java:381)\r\n[bndprepare] \tat aQute.bnd.build.Project.prepare(Project.java:286)\r\n[bndprepare] \tat aQute.bnd.build.Project.getBootclasspath(Project.java:737)\r\n[bndprepare] \tat aQute.bnd.build.Project._p_bootclasspath(Project.java:796)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n[bndprepare] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n[bndprepare] \tat java.lang.reflect.Method.invoke(Method.java:616)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.doCommand(Macro.java:210)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.doCommands(Macro.java:186)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.replace(Macro.java:134)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:71)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:86)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:58)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:53)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.process(Macro.java:949)\r\n[bndprepare] \tat aQute.lib.osgi.Macro.getFlattenedProperties(Macro.java:911)\r\n[bndprepare] \tat aQute.lib.osgi.Processor.getFlattenedProperties(Processor.java:919)\r\n[bndprepare] \tat aQute.bnd.ant.PrepareTask.execute(PrepareTask.java:38)\r\n[bndprepare] \tat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n[bndprepare] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n[bndprepare] \tat java.lang.reflect.Method.invoke(Method.java:616)\r\n[bndprepare] \tat org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\r\n[bndprepare] \tat org.apache.tools.ant.Task.perform(Task.java:348)\r\n[bndprepare] \tat org.apache.tools.ant.Target.execute(Target.java:390)\r\n[bndprepare] \tat org.apache.tools.ant.Target.performTasks(Target.java:411)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeTarget(Project.java:1368)\r\n[bndprepare] \tat org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeTargets(Project.java:1251)\r\n[bndprepare] \tat org.apache.tools.ant.Main.runBuild(Main.java:809)\r\n[bndprepare] \tat org.apache.tools.ant.Main.startAnt(Main.java:217)\r\n[bndprepare] \tat org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)\r\n[bndprepare] \tat org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)\r\n[bndprepare] 1 Errors\r\n[bndprepare]  junit.osgi;version=3.8 Not found in [/home/ferry/vcs/pelagic/bndtools/cnf/cache r/w=false, aQute.lib.deployer.obr.OBR@5cac6a45, aQute.lib.deployer.obr.OBR@3b75078b, Eclipse-3.5.2]\r\n[bndprepare] Errors during Eclipse Path inspection\r\n[bndprepare] \tat aQute.bnd.ant.PrepareTask.execute(PrepareTask.java:40)\r\n[bndprepare] \tat org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n[bndprepare] \tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)\r\n[bndprepare] \tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n[bndprepare] \tat java.lang.reflect.Method.invoke(Method.java:616)\r\n[bndprepare] \tat org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)\r\n[bndprepare] \tat org.apache.tools.ant.Task.perform(Task.java:348)\r\n[bndprepare] \tat org.apache.tools.ant.Target.execute(Target.java:390)\r\n[bndprepare] \tat org.apache.tools.ant.Target.performTasks(Target.java:411)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeTarget(Project.java:1368)\r\n[bndprepare] \tat org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)\r\n[bndprepare] \tat org.apache.tools.ant.Project.executeTargets(Project.java:1251)\r\n[bndprepare] \tat org.apache.tools.ant.Main.runBuild(Main.java:809)\r\n[bndprepare] \tat org.apache.tools.ant.Main.startAnt(Main.java:217)\r\n[bndprepare] \tat org.apache.tools.ant.launch.Launcher.run(Launcher.java:280)\r\n[bndprepare] \tat org.apache.tools.ant.launch.Launcher.main(Launcher.java:109)\r\n\r\nBUILD FAILED\r\n/home/ferry/vcs/pelagic/bndtools/cnf/build.xml:31: Errors during Eclipse Path inspection\r\n\r\nTotal time: 8 seconds\r\n```","html_url":"https://github.com/bndtools/bndtools/issues/198","number":198,"title":"issues with offline build","id":1922429,"created_at":"2011-10-16T17:15:10Z"},"action":"closed"}