8000 Replaced scripts to compile the Java classes. · joeferner/node-java@2d0fbdd · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Replaced scripts to compile the Java classes.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeviticusMB authored and joeferner committed Apr 17, 2023
1 parent b2bdd35 commit 2d0fbdd
Show file tree
Hide file tree
Showing 7 changed files with 2,178 additions and 68 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ node-java.cbp
*.iml
*.kdev4
*/.kdev_include_paths
.vscode
16 changes: 0 additions & 16 deletions compile-java-code.cmd

This file was deleted.

30 changes: 0 additions & 30 deletions compile-java-code.sh

This file was deleted.

13 changes: 13 additions & 0 deletions compile-java.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/bin/sh

if [ -z "${JAVA_HOME}" ]; then
export JAVA_HOME=`/usr/libexec/java_home -v 11`
fi

echo "Using `javac -version`."
set -x

javac -source 1.7 -target 1.7 src-java/node/*.java
javac -source 1.7 -target 1.7 test/*.java
javac -source 1.8 -target 1.8 test8/*.java
javah -classpath src-java -d ./src node.NodeDynamicProxyClass
8 changes: 0 additions & 8 deletions compile-java8-code.cmd

This file was deleted.

14 changes: 0 additions & 14 deletions compile-java8-code.sh

This file was deleted.

Loading

0 comments on commit 2d0fbdd

Please sign in to comment.
0