OSDN Git Service

Adjust "Compiler compliance" error to be more useful.
authorRaphael Moll <ralf@android.com>
Thu, 12 May 2011 23:13:08 +0000 (16:13 -0700)
committerRaphael Moll <ralf@android.com>
Thu, 12 May 2011 23:16:08 +0000 (16:16 -0700)
commita191f888e588227df57868114b3a127b955bf76c
tree25415d05df834ef0e0628376f360f31c47396f71
parentddc754e4650a4b48a82a96f4d38bdeb468059f29
Adjust "Compiler compliance" error to be more useful.

Changed the compiler compliance check to:
- Indicate the current invalid value (good for bug reports too),
- Indicate both 5.0 and 6.0 (aka 1.5 and 1.6) are supported,
- Explicitely name the menu item that can fix the situation
(it wasn't clear the current suggestion was the menu item name
as it looked just like a regular sentence.)

SDK Bug: http://code.google.com/p/android/issues/detail?id=16512

Change-Id: I2ee295ba37af5b15a27b288ba807e6f4964ef632
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/Messages.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/build_messages.properties
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/build/builders/ResourceManagerBuilder.java
eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/project/ProjectHelper.java