diff --git a/java/src/processing/mode/java/ExportPrompt.java b/java/src/processing/mode/java/ExportPrompt.java index 06f9fd8c5..856d4d736 100644 --- a/java/src/processing/mode/java/ExportPrompt.java +++ b/java/src/processing/mode/java/ExportPrompt.java @@ -296,6 +296,8 @@ public class ExportPrompt { } else { // Launch the process asynchronously PApplet.exec("xcode-select", "--install"); + // Reset the installed state so that the message will change. + JavaBuild.resetXcodeInstalled(); // Close the window so that we can rebuild it with different text // once they've finished installing the Command Line Tools. dialog.setVisible(false); diff --git a/java/src/processing/mode/java/JavaBuild.java b/java/src/processing/mode/java/JavaBuild.java index 6a9dca880..3acef1bef 100644 --- a/java/src/processing/mode/java/JavaBuild.java +++ b/java/src/processing/mode/java/JavaBuild.java @@ -1104,6 +1104,11 @@ public class JavaBuild { } + static protected void resetXcodeInstalled() { + xcodeInstalled = null; // give them another chance + } + + /** * Run the launch4j build.xml file through ant to create the exe. * Most of this code was lifted from Android mode.