Skip to content

Commit 2fdd11b

Browse files
committed
tweaks and testing for ext.dirs handling
1 parent aa21428 commit 2fdd11b

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

build/windows/config-cmd.xml

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
<jre>
3131
<path>java</path>
3232
<!-- Deal with jokers who install JOGL, ANTLR, etc system-wide -->
33-
<opt>-Djava.ext.dirs=lib/ext</opt>
33+
<opt>-Djava.ext.dirs=%EXEDIR%/java/lib/ext</opt>
3434
<!-- Prevent a user-installed JNA from conflicting with our version.
3535
https://github.com/processing/processing/issues/2239 -->
3636
<opt>-Djna.nosys=true</opt>

build/windows/config.xml

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<jre>
2828
<path>java</path>
2929
<!-- Deal with jokers who install JOGL, ANTLR, etc system-wide -->
30-
<opt>-Djava.ext.dirs=lib/ext</opt>
30+
<opt>-Djava.ext.dirs=%EXEDIR%/java/lib/ext</opt>
3131
<!-- https://github.com/processing/processing/issues/2239 -->
3232
<opt>-Djna.nosys=true</opt>
3333
<!-- Because nosys is set to true, the DLL in the current working

java/src/processing/mode/java/JavaBuild.java

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1135,7 +1135,7 @@ protected boolean exportApplication(File destFolder,
11351135
// https://github.com/processing/processing/issues/2239
11361136
runOptions.add("-Djna.nosys=true");
11371137
// https://github.com/processing/processing/issues/4608
1138-
runOptions.add("-Djava.ext.dirs=lib/ext");
1138+
runOptions.add("-Djava.ext.dirs=%EXEDIR%/java/lib/ext");
11391139
// https://github.com/processing/processing/issues/2559
11401140
if (exportPlatform == PConstants.WINDOWS) {
11411141
runOptions.add("-Djava.library.path=\"%EXEDIR%\\lib\"");

todo.txt

100644100755
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ X https://github.com/processing/processing/issues/4128
1010
X https://github.com/processing/processing/issues/4503
1111
_ test ext.dirs working on Linux (use js example)
1212
_ test ext.dirs on exported app on Linux
13-
_ test ext.dirs working on Windows (use js example)
14-
_ test ext.dirs on exported app on Windows
13+
X test ext.dirs working on Windows (use js example)
14+
X modify ext.dirs for exported apps on Windows
1515
X see if CLASSPATH can be set to screw up p5
1616
X works fine on OS X, couldn't reproduce on Linux
1717
X rewrite Util.listFiles() because it wasn't working properly

0 commit comments

Comments
 (0)