Re: knopflerfish-osgi 5.2.0-1 breaks freeplane
Emmanuel Bourg writes: > Hi Felix, hello Emmanuel, > I think I spotted the issue. The 'exports' file is missing from the > knopflerfish jar. In the previous version it was included in the > upstream tarball and the code to regenerate it was disabled by > 30_fix_jar_build.patch. In the latest version the exports file is no > longer in the tarball. I enabled the build of the Ant task, this allowed > me to remove the patch and now the exports file is properly generated. > > Could you try building knopflerfish-osgi from the current HEAD of the > Git repository and test again with freeplane please? If it works well > I'll upload the update. Works great. Good work, thank you! Could you please also close this bug with the upload, too? https://bugs.launchpad.net/ubuntu/+source/freeplane/+bug/1631361 Many Thanks and Best Regards, -- Felix Natter
Re: knopflerfish-osgi 5.2.0-1 breaks freeplane
Hi Felix, I think I spotted the issue. The 'exports' file is missing from the knopflerfish jar. In the previous version it was included in the upstream tarball and the code to regenerate it was disabled by 30_fix_jar_build.patch. In the latest version the exports file is no longer in the tarball. I enabled the build of the Ant task, this allowed me to remove the patch and now the exports file is properly generated. Could you try building knopflerfish-osgi from the current HEAD of the Git repository and test again with freeplane please? If it works well I'll upload the update. Emmanuel Bourg
Re: knopflerfish-osgi 5.2.0-1 breaks freeplane
Le 8/10/2016 à 17:17, Felix Natter a écrit : > your knopflerfish-osgi-5.2.0-1 update breaks freeplane Hi Felix, Sorry for the trouble, I'll get a look. Emmanuel Bourg
Re: knopflerfish-osgi 5.2.0-1 breaks freeplane
Felix Natter writes: > hello Emmanuel, > > your knopflerfish-osgi-5.2.0-1 update breaks freeplane: > > felix@debianunstable:~$ freeplane > org.knopflerfish.framework.readonly=true > org.knopflerfish.gosg.jars=reference:file:/usr/share/freeplane/core/ > org.freeplane.basedirectory=/usr/share/freeplane > java.security.policy=/usr/share/freeplane/freeplane.policy > org.osgi.framework.storage=/usr/share/freeplane/fwdir > Knopflerfish OSGi framework launcher, version > Copyright 2003-2016 Knopflerfish. All Rights Reserved. > See http://www.knopflerfish.org for more information. > > java.lang.IllegalArgumentException: Failed to read exports: > java.io.FileNotFoundException: /home/felix/exports (No such file or directory) > at > org.knopflerfish.framework.SystemBundle.addSysPackagesFromFile(SystemBundle.java:699) > at > org.knopflerfish.framework.SystemBundle.initSystemBundle(SystemBundle.java:557) > at > org.knopflerfish.framework.FrameworkContext.init(FrameworkContext.java:402) > at org.knopflerfish.framework.SystemBundle.doInit(SystemBundle.java:622) > at org.knopflerfish.framework.SystemBundle.init(SystemBundle.java:152) > at org.knopflerfish.framework.Main.assertFramework(Main.java:446) > at org.knopflerfish.framework.Main.handleArgs(Main.java:546) > at org.knopflerfish.framework.Main.start(Main.java:224) > at org.knopflerfish.framework.Main.main(Main.java:156) > at org.freeplane.launcher.Launcher.run(Launcher.java:115) > at org.freeplane.launcher.Launcher.launch(Launcher.java:80) > at org.freeplane.launcher.Launcher.main(Launcher.java:67) > Error: Command "-istart org.freeplane.core" failed, Failed to read exports: > java.io.FileNotFoundException: /home/felix/exports (No such file or directory) > > Could you please help me resolve this? > > Freeplane is a bit special in that it does use extracted OSGi jars: > > felix@debianunstable:/$ find /usr/share/freeplane/core/org.freeplane.core/ > /usr/share/freeplane/core/org.freeplane.core/ > /usr/share/freeplane/core/org.freeplane.core/lib > /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneeditor-1.5.jar > /usr/share/freeplane/core/org.freeplane.core/lib/jortho-1.5.jar > /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneviewer.jar > /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneosgi-1.5.jar > /usr/share/freeplane/core/org.freeplane.core/META-INF > /usr/share/freeplane/core/org.freeplane.core/META-INF/MANIFEST.MF > > Shall I create a bug (RC?) to avoid that the package migrates to > testing? On the other hand, it has already been included in Ubuntu 16.10 > [1]. > > How about asking upstream [2]? This looks like an upstream problem with freeplane's extracted OSGi "jars", so I created an upstream issue: https://github.com/knopflerfish/knopflerfish.org/issues/4 Following Markus' advice, I create an RC critical bug to avoid that knopflerfish-osgi-5.2.0-1 migrates to testing: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840130 Can we tell the Ubuntu (16.10) people to revert to the old knopflerfish-osgi until we fixed this? Cheers and Best Regards, -- Felix Natter
knopflerfish-osgi 5.2.0-1 breaks freeplane
hello Emmanuel, your knopflerfish-osgi-5.2.0-1 update breaks freeplane: felix@debianunstable:~$ freeplane org.knopflerfish.framework.readonly=true org.knopflerfish.gosg.jars=reference:file:/usr/share/freeplane/core/ org.freeplane.basedirectory=/usr/share/freeplane java.security.policy=/usr/share/freeplane/freeplane.policy org.osgi.framework.storage=/usr/share/freeplane/fwdir Knopflerfish OSGi framework launcher, version Copyright 2003-2016 Knopflerfish. All Rights Reserved. See http://www.knopflerfish.org for more information. java.lang.IllegalArgumentException: Failed to read exports: java.io.FileNotFoundException: /home/felix/exports (No such file or directory) at org.knopflerfish.framework.SystemBundle.addSysPackagesFromFile(SystemBundle.java:699) at org.knopflerfish.framework.SystemBundle.initSystemBundle(SystemBundle.java:557) at org.knopflerfish.framework.FrameworkContext.init(FrameworkContext.java:402) at org.knopflerfish.framework.SystemBundle.doInit(SystemBundle.java:622) at org.knopflerfish.framework.SystemBundle.init(SystemBundle.java:152) at org.knopflerfish.framework.Main.assertFramework(Main.java:446) at org.knopflerfish.framework.Main.handleArgs(Main.java:546) at org.knopflerfish.framework.Main.start(Main.java:224) at org.knopflerfish.framework.Main.main(Main.java:156) at org.freeplane.launcher.Launcher.run(Launcher.java:115) at org.freeplane.launcher.Launcher.launch(Launcher.java:80) at org.freeplane.launcher.Launcher.main(Launcher.java:67) Error: Command "-istart org.freeplane.core" failed, Failed to read exports: java.io.FileNotFoundException: /home/felix/exports (No such file or directory) Could you please help me resolve this? Freeplane is a bit special in that it does use extracted OSGi jars: felix@debianunstable:/$ find /usr/share/freeplane/core/org.freeplane.core/ /usr/share/freeplane/core/org.freeplane.core/ /usr/share/freeplane/core/org.freeplane.core/lib /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneeditor-1.5.jar /usr/share/freeplane/core/org.freeplane.core/lib/jortho-1.5.jar /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneviewer.jar /usr/share/freeplane/core/org.freeplane.core/lib/freeplaneosgi-1.5.jar /usr/share/freeplane/core/org.freeplane.core/META-INF /usr/share/freeplane/core/org.freeplane.core/META-INF/MANIFEST.MF Shall I create a bug (RC?) to avoid that the package migrates to testing? On the other hand, it has already been included in Ubuntu 16.10 [1]. How about asking upstream [2]? [1] https://bugs.launchpad.net/ubuntu/+source/freeplane/+bug/1631361 [2] https://github.com/knopflerfish/knopflerfish.org/issues Cheers and Best Regards, -- Felix Natter