build_examples.sh and build_examples.bat broken because they are referencing to a deleted file

Issue #950 new
Former user created an issue

The following commit deletes META-INF/MANIFEST.MF from the project but did not update how the examples should have been built

https://bitbucket.org/okapiframework/okapi/commits/a60c7d86d442e5ceb77cffed4694a99aa4aafbf7

Comments (2)

  1. Mihai Nita

    Can you please add some info what is the error message, and how you run the script (OS, etc?)

    I’ve tried it on Mac OS (the .sh file only, for now), and yes, the script is broken.
    But there is no indication that the cause is a missing MANIFEST.MF

    It is something more recent (when we took the list of dependencies out from the okapi-lib-<version>.jar

    The error I’m seeing is ICU related (“cannot access ULocale”)

    A fix for that would be:

    • replace all instances of -cp ../lib/okapi-lib-1.39.0.jar with -cp '../lib/*'
    • change cp to cp -R in the "Building example03" step

    With these changes everything builds cleanly.

    There is probably some more fine-tuning to be done, but this should unblock you, hopefully.

  2. Log in to comment