From 7d71b84ae26e54f7367c0b167aa28ef0114d9fc0 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Wed, 25 Jun 2014 16:21:31 +0200 Subject: [PATCH] Unconfuse error message When a core directory without boards.txt file was encountered, the IDE would show: Could not find boards.txt in /path/to/core/boards.txt. Is it pre-1.5? Which appears confusing: Is it looking inside a directory called boards.txt? Now this is improved to: Could not find boards.txt in /path/to/core/. Is it pre-1.5? which makes a lot more sense. --- app/src/processing/app/debug/TargetPlatform.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/processing/app/debug/TargetPlatform.java b/app/src/processing/app/debug/TargetPlatform.java index 3dfb29f6e..2666347fa 100644 --- a/app/src/processing/app/debug/TargetPlatform.java +++ b/app/src/processing/app/debug/TargetPlatform.java @@ -71,7 +71,7 @@ public class TargetPlatform { if (!boardsFile.exists() || !boardsFile.canRead()) throw new TargetPlatformException( format(_("Could not find boards.txt in {0}. Is it pre-1.5?"), - boardsFile.getAbsolutePath())); + folder.getAbsolutePath())); // Load boards try {