The Wayback Machine - https://web.archive.org/web/20200919095807/https://github.com/SheetJS/sheetjs/issues/2071
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Demo Issue #2071

Open
LightDvlpr opened this issue Jul 26, 2020 · 1 comment
Open

Java Demo Issue #2071

LightDvlpr opened this issue Jul 26, 2020 · 1 comment

Comments

@LightDvlpr
Copy link

@LightDvlpr LightDvlpr commented Jul 26, 2020

when running make rhinojs fails due to a missing cp command

cp rhino/buildGradle/libs/rhino*.jar rhino.jar
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
       cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
make: *** [rhino.jar] Error 64

Issue was resolved by manually copying one of the jars

cp rhino/buildGradle/libs/rhino-1.7.13-SNAPSHOT.jar rhino.jar

@SheetJSDev
Copy link
Contributor

@SheetJSDev SheetJSDev commented Jul 29, 2020

Running the test locally, I see three jar files generated in the build process.

It probably would suffice to change that line (https://github.com/SheetJS/sheetjs/blob/master/demos/altjs/Makefile#L57) to

cp rhino/buildGradle/libs/rhino-1*.jar rhino.jar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.