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.

On Feb 5, 2017 11:58 AM, "Felix Natter" <[email protected]> wrote:

> hello Matthew,
>
> I apologize for the very late reply.
>
> Many thanks for the gradle.py patch!
>
> Matthew Aguirre <[email protected]> writes:
> > Here's a snap + wrapper that seems to work.
> > It's really messy as it copies the contents of freeplane twice.
> > https://gist.github.com/ZenHarbinger/cf3aec2d7c6110ab0a0780b315cadc2f
>
> Thanks, the wrapper works perfectly!
>
> I have got one more question:
> It looks like with your stage-packages: or with the jdk plugin,
> the whole jdk is included in the snap, so it is 108Mb (freeplane needs
> "only" 30Mb). Is there a way (plug/interface) for using the system jdk?
>
> I guess I would have to give up sandboxing for this to work.
> This would be ok [1], because I'm most interested in a normal package,
> backported to older (i.e. LTS) Debian/Ubuntu versions.
> (I provide a .deb for Debian main but I want to provide the most current
> version also for LTS versions)
>
> [1] Freeplane can execute scripts contained in maps, but it has its own
> security layer for containment of scripts.
>
> I guess this is not what snap is for and the best way to achieve this is
> by using a normal but non-main deb, with all jars included?
>
> Many Thanks,
> --
> Felix Natter
>
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to