dartboard icon indicating copy to clipboard operation
dartboard copied to clipboard

Eclipse preference Dart SDK location validation always false - wrong compare string

Open Nawakland opened this issue 6 years ago • 4 comments

  • Test on both Windows 7 and Debian 10 OS
  • Eclipse v4.14
  • Dart v2.10.3

Today, the command dart --version return Dart SDK version: 2.10.3 [...] So the compare string return version.startsWith("Dart VM version"); is always false/not valid line 136 from file org.eclipse.dartboard/src/org/eclipse/dartboard/preferences/DartSDKLocationFieldEditor.java

I suggest to test if the keywords "Dart" and "version" appear in the compare string (and better compare both in lower case to avoid mismatch).

Tell me when it will be available in nighty build to start working with.

Best regards, Nawakland.

dartboard_issue

Nawakland avatar Nov 05 '20 08:11 Nawakland

@Nawakland thanks for the report. Could you send a PR for the fix?

vogella avatar Nov 05 '20 14:11 vogella

@vogella What about nightly build ? Seems there is no update from commits.

Nawakland avatar Nov 10 '20 08:11 Nawakland

@Nawakland sorry for this. I look into this on Friday, the next two days are already really busy.

vogella avatar Nov 10 '20 20:11 vogella

Any solution available.

Not a valid SDK Location?

harshchokshi avatar Sep 05 '22 16:09 harshchokshi