<div dir="auto">Unfortunately, to get the Java dependencies, this is the only way to get them. Snapd doesn't have Java, so it must come in the snap.</div><div class="gmail_extra"><br><div class="gmail_quote">On Feb 5, 2017 11:58 AM, "Felix Natter" <<a href="mailto:fnatter@gmx.net">fnatter@gmx.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hello Matthew,<br>
<br>
I apologize for the very late reply.<br>
<br>
Many thanks for the gradle.py patch!<br>
<br>
Matthew Aguirre <<a href="mailto:matt.aguirre@gmail.com">matt.aguirre@gmail.com</a>> writes:<br>
> Here's a snap + wrapper that seems to work.<br>
> It's really messy as it copies the contents of freeplane twice.<br>
> <a href="https://gist.github.com/ZenHarbinger/cf3aec2d7c6110ab0a0780b315cadc2f" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>ZenHarbinger/<wbr>cf3aec2d7c6110ab0a0780b315cadc<wbr>2f</a><br>
<br>
Thanks, the wrapper works perfectly!<br>
<br>
I have got one more question:<br>
It looks like with your stage-packages: or with the jdk plugin,<br>
the whole jdk is included in the snap, so it is 108Mb (freeplane needs<br>
"only" 30Mb). Is there a way (plug/interface) for using the system jdk?<br>
<br>
I guess I would have to give up sandboxing for this to work.<br>
This would be ok [1], because I'm most interested in a normal package,<br>
backported to older (i.e. LTS) Debian/Ubuntu versions.<br>
(I provide a .deb for Debian main but I want to provide the most current<br>
version also for LTS versions)<br>
<br>
[1] Freeplane can execute scripts contained in maps, but it has its own<br>
security layer for containment of scripts.<br>
<br>
I guess this is not what snap is for and the best way to achieve this is<br>
by using a normal but non-main deb, with all jars included?<br>
<br>
Many Thanks,<br>
--<br>
Felix Natter<br>
</blockquote></div></div>