Hi,
 I am trying to build up some competency with snapcraft for java
applications.

Currently I have a hello world project which is based on
https://github.com/ubuntu-core/snapcraft/blob/1.x/examples/java-hello-world/snapcraft.yaml
.

I have extended in that HelloWorld.java references a method from another
package in an external jar file (HellowWorld-helper.jar)

I edited the snapcraft.yaml to use the copy plugin to copy the jar file to
the jar directory.
It can be seen there after the snap stage.

However in bin.wrapper.wrapper , the external jar file is not added to the
classpath. So the application fails on running.

How do I fix this?

Jenny





-- 
*Jenny Murphy*
*EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland*
[email protected] <[email protected]>  t | +353 (0) 61
512 511  w | http://www.episensor.com
-- 
Snapcraft mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/snapcraft

Reply via email to