help with ant and copy plugins for Java application
Jenny Murphy
jenny.murphy at episensor.com
Tue Jun 14 11:15:48 UTC 2016
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 Murphy*
*EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland*
jenny.murphy at episensor.com <jenny.murphy at episensor.com> t | +353 (0) 61
512 511 w | http://www.episensor.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160614/03952f3e/attachment.html>
More information about the Snapcraft
mailing list