build_examples.sh and build_examples.bat broken because they are referencing to a deleted file
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)
-
-
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.MFIt 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
tocp -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.
- replace all instances of
- Log in to comment
As a result, build scripts are failing here as they expect
META-INF/MANIFEST.MF
to be presenthttps://bitbucket.org/okapiframework/okapi/src/dev/okapi/examples/java/