JBIG2-Image-Decoder icon indicating copy to clipboard operation
JBIG2-Image-Decoder copied to clipboard

Resource files (images) are not included into Jar

Open maxim-kukushkin opened this issue 9 years ago • 1 comments

After building the library with "ant" and trying to run the viewer from the examples, the following exception is thrown:

$ java -cp jbig2.jar org.jpedal.jbig2.examples.viewer.JBIG2Viewer java.lang.NullPointerException at javax.swing.ImageIcon.(ImageIcon.java:217) at org.jpedal.jbig2.examples.viewer.JBIG2Viewer.setUpToolbar(Unknown Source) at org.jpedal.jbig2.examples.viewer.JBIG2Viewer.(Unknown Source) at org.jpedal.jbig2.examples.viewer.JBIG2Viewer.main(Unknown Source)

This happens because the resource files are not added to the output Jar file

maxim-kukushkin avatar Apr 02 '15 14:04 maxim-kukushkin

I have a patch for build.xml, but cannot find out how to attach it

maxim-kukushkin avatar Apr 02 '15 14:04 maxim-kukushkin