jar in snap

Alekseenko Vasilii vasilisc777 at gmail.com
Wed Jun 15 07:35:46 UTC 2016


Sorry for my english. Please help me. I have a working Java application 
(*.jar). How do I pack it in the snap?
I have
LT-3.4-SNAPSHOT/
snapcraft.yaml

In snapcraft.yaml
----
name: lt
version: 3.4
summary: LT
description: LT
confinement: strict
architectures: [amd64, i386]

apps:
   lt:
     command: java -jar lt.jar
     plugs: [home]

parts:
   lt:
     plugin: jdk
     source: ./LT-3.4-SNAPSHOT
----
But command
unsquashfs -l *.snap > report.txt
show me what snap contain only java without programm LT.

-- 
Best regards, Vasilisc




More information about the Snapcraft mailing list