Skip to content

Resource files (images) are not included into Jar #3

Open
@maxim-kukushkin

Description

@maxim-kukushkin

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions