Skip to content

Latest commit

 

History

History
88 lines (67 loc) · 3.43 KB

readme.rst

File metadata and controls

88 lines (67 loc) · 3.43 KB

The example directory is distributed as a part of eidreader project in order to facilitate deployment.

It contains a set of ready-to use signed .jar files and some .html files which are publically served at http://test-eidreader.lino-framework.org/

Note about redistributing third-party jar files

Three of the four ready-to use signed .jar files were obtained from third party projects, and we redistribute them along with EIDReader without any code change as signed .jar files:

  • The file eid-applet-services.jar is from the eid-applet project which is published under the LGPL.
  • commons-logging.jar is from the commons-logging project.
  • commons-codec.jar is from the commons-codec project.

Both commons projects are licensed under the Apache license 2.0 which states that we "must give any other recipients of the Work or Derivative Works a copy of this License", so here it is: LICENSE-2.0.txt.

AFAICS I don't need to also redistribute the source code of these jar files, but here is how you can get them yourself:

$ cd eidreader/example
$ ./get_jars.sh

The .jar files have then been built using the Makefile:

$ cd ..
$ make jars

The get_jars.sh script will:

  • Download an appropriate version of eid-applet-sdk-VERSION.zip from the eid-applet downloads page and extract eid-applet-service-VERSION.jar into a file eid-applet-service.jar in your example directory. For example something like:

    $ cd eidreader/example
    $ wget http://eid-applet.googlecode.com/files/eid-applet-sdk-1.1.0.GA.zip
    $ unzip eid-applet-sdk-1.1.0.GA.zip
    $ mv eid-applet-sdk-1.1.0.GA/eid-applet-service-1.1.0.GA.jar eid-applet-service.jar
    $ rm -R eid-applet-sdk-1.1.0.GA
  • Download an appropriate version of LogFactory from commons.apache.org and extract a file commons-logging.jar from it to your example directory. For example something like:

    $ wget http://servingzone.com/mirrors/apache//commons/logging/binaries/commons-logging-1.1.3-bin.tar.gz
    $ tar -xvzf commons-logging-1.1.3-bin.tar.gz 
    $ mv commons-logging-1.1.3/commons-logging-1.1.3.jar commons-logging.jar
    $ rm -R commons-logging-1.1.3
  • Download an appropriate version of commons-codec and extract a file commons-codec.jar from it to your example directory:

    $ wget http://servingzone.com/mirrors/apache//commons/codec/binaries/commons-codec-1.8-bin.tar.gz
    $ tar -xvzf commons-codec-1.8-bin.tar.gz 
    $ mv commons-codec-1.8/commons-codec-1.8.jar commons-codec.jar
    $ rm -R commons-codec-1.8