+8
-4
lines changedFilter options
+8
-4
lines changed Original file line number Diff line number Diff line change
@@ -3,11 +3,15 @@
3
3
if [[ -z "$INSTALLDIR" ]]; then
4
4
INSTALLDIR="$HOME/Documents/Arduino"
5
5
fi
6
+
if [[ -z "$IDEDIR" ]]; then
7
+
IDEDIR="/Applications/Arduino.app/Contents/Java/"
8
+
#IDEDIR="../../../"
9
+
fi
6
10
echo "INSTALLDIR: $INSTALLDIR"
7
11
8
-
pde_path=`find ../../../ -name pde.jar`
9
-
core_path=`find ../../../ -name arduino-core.jar`
10
-
lib_path=`find ../../../ -name commons-codec-1.7.jar`
12
+
pde_path=`find $IDEDIR -name pde.jar`
13
+
core_path=`find $IDEDIR -name arduino-core.jar`
14
+
lib_path=`find $IDEDIR -name commons-codec-1.7.jar`
11
15
if [[ -z "$core_path" || -z "$pde_path" ]]; then
12
16
echo "Some java libraries have not been built yet (did you run ant build?)"
13
17
return 1
@@ -19,7 +23,7 @@ echo "lib_path: $lib_path"
19
23
set -e
20
24
21
25
mkdir -p bin
22
-
javac -target 1.8 -cp "$pde_path:$core_path:$lib_path" \
26
+
/Library/Java/JavaVirtualMachines/openlogic-openjdk-8.jdk/Contents/Home/bin/javac -target 1.8 -cp "$pde_path:$core_path:$lib_path" \
23
27
-d bin src/ESP32FS.java
24
28
25
29
pushd bin
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4