Java Demo Issue #2071

Closed
opened 2020-07-26 00:41:46 +00:00 by LightDvlpr · 1 comment
LightDvlpr commented 2020-07-26 00:41:46 +00:00 (Migrated from github.com)

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

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 commented 2020-07-29 17:29:44 +00:00 (Migrated from github.com)

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
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 ```bash cp rhino/buildGradle/libs/rhino-1*.jar rhino.jar ```
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: sheetjs/sheetjs#2071
No description provided.