Skip to content

Commit beea856

Browse files
committed
[Bindings.targets] Warn about deprecated jar2xml and XamarinAndroid values.
1 parent ee3a0c5 commit beea856

17 files changed

+175
-1
lines changed

Documentation/guides/messages/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ ms.date: 01/24/2020
127127
+ XA4225: Widget '{widget}' in layout '{layout}' has multiple instances with different types. The property type will be set to: {type}
128128
+ XA4226: Resource item '{file}' does not have the required metadata item '{metadataName}'.
129129
+ XA4228: Unable to find specified //activity-alias/@android:targetActivity: '{targetActivity}'
130+
+ XA4229: The Android class parser '$(AndroidClassParser)' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.
131+
+ XA4230: The Android code generator '$(AndroidCodegenTarget)' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead.
130132
+ XA4300: Native library '{library}' will not be bundled because it has an unsupported ABI.
131133
+ [XA4301](xa4301.md): Apk already contains the item `xxx`.
132134
+ [XA4302](xa4302.md): Unhandled exception merging \`AndroidManifest.xml\`: {ex}

src/Xamarin.Android.Build.Tasks/Properties/Resources.Designer.cs

Lines changed: 18 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Xamarin.Android.Build.Tasks/Properties/Resources.resx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -521,6 +521,12 @@ In this mesage, the term "layout" means an Android UI layout.
521521
<comment>The following are literal names and should not be translated: //activity-alias/@android:targetActivity
522522
{0} - The specified targetActivity name</comment>
523523
</data>
524+
<data name="XA4229" xml:space="preserve">
525+
<value>The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</value>
526+
</data>
527+
<data name="XA4230" xml:space="preserve">
528+
<value>The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</value>
529+
</data>
524530
<data name="XA4300" xml:space="preserve">
525531
<value>Native library '{0}' will not be bundled because it has an unsupported ABI.</value>
526532
<comment>The abbreviation "ABI" should not be translated.

src/Xamarin.Android.Build.Tasks/Properties/xlf/Resources.cs.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,16 @@ In this mesage, the term "layout" means an Android UI layout.
492492
<note>The following are literal names and should not be translated: //activity-alias/@android:targetActivity
493493
{0} - The specified targetActivity name</note>
494494
</trans-unit>
495+
<trans-unit id="XA4229">
496+
<source>The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</source>
497+
<target state="new">The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</target>
498+
<note />
499+
</trans-unit>
500+
<trans-unit id="XA4230">
501+
<source>The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</source>
502+
<target state="new">The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</target>
503+
<note />
504+
</trans-unit>
495505
<trans-unit id="XA4300">
496506
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
497507
<target state="translated">Nativní knihovna {0} se nezahrne do sady prostředků, protože má nepodporované ABI.</target>

src/Xamarin.Android.Build.Tasks/Properties/xlf/Resources.de.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,16 @@ In this mesage, the term "layout" means an Android UI layout.
492492
<note>The following are literal names and should not be translated: //activity-alias/@android:targetActivity
493493
{0} - The specified targetActivity name</note>
494494
</trans-unit>
495+
<trans-unit id="XA4229">
496+
<source>The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</source>
497+
<target state="new">The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</target>
498+
<note />
499+
</trans-unit>
500+
<trans-unit id="XA4230">
501+
<source>The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</source>
502+
<target state="new">The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</target>
503+
<note />
504+
</trans-unit>
495505
<trans-unit id="XA4300">
496506
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
497507
<target state="translated">Die native Bibliothek "{0}" wird nicht gebündelt, weil sie eine nicht unterstützte ABI umfasst.</target>

src/Xamarin.Android.Build.Tasks/Properties/xlf/Resources.es.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,16 @@ In this mesage, the term "layout" means an Android UI layout.
492492
<note>The following are literal names and should not be translated: //activity-alias/@android:targetActivity
493493
{0} - The specified targetActivity name</note>
494494
</trans-unit>
495+
<trans-unit id="XA4229">
496+
<source>The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</source>
497+
<target state="new">The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</target>
498+
<note />
499+
</trans-unit>
500+
<trans-unit id="XA4230">
501+
<source>The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</source>
502+
<target state="new">The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</target>
503+
<note />
504+
</trans-unit>
495505
<trans-unit id="XA4300">
496506
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
497507
<target state="translated">La biblioteca nativa "{0}" no se empaquetará porque tiene un conjunto ABI no admitido.</target>

src/Xamarin.Android.Build.Tasks/Properties/xlf/Resources.fr.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,16 @@ In this mesage, the term "layout" means an Android UI layout.
492492
<note>The following are literal names and should not be translated: //activity-alias/@android:targetActivity
493493
{0} - The specified targetActivity name</note>
494494
</trans-unit>
495+
<trans-unit id="XA4229">
496+
<source>The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</source>
497+
<target state="new">The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</target>
498+
<note />
499+
</trans-unit>
500+
<trans-unit id="XA4230">
501+
<source>The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</source>
502+
<target state="new">The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</target>
503+
<note />
504+
</trans-unit>
495505
<trans-unit id="XA4300">
496506
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
497507
<target state="translated">La bibliothèque native '{0}' n'est pas incluse dans le bundle, car elle a un ABI non pris en charge.</target>

src/Xamarin.Android.Build.Tasks/Properties/xlf/Resources.it.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,16 @@ In this mesage, the term "layout" means an Android UI layout.
492492
<note>The following are literal names and should not be translated: //activity-alias/@android:targetActivity
493493
{0} - The specified targetActivity name</note>
494494
</trans-unit>
495+
<trans-unit id="XA4229">
496+
<source>The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</source>
497+
<target state="new">The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</target>
498+
<note />
499+
</trans-unit>
500+
<trans-unit id="XA4230">
501+
<source>The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</source>
502+
<target state="new">The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</target>
503+
<note />
504+
</trans-unit>
495505
<trans-unit id="XA4300">
496506
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
497507
<target state="translated">La libreria nativa '{0}' non verrà inclusa nel bundle perché contiene un ABI non supportato.</target>

src/Xamarin.Android.Build.Tasks/Properties/xlf/Resources.ja.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,16 @@ In this mesage, the term "layout" means an Android UI layout.
492492
<note>The following are literal names and should not be translated: //activity-alias/@android:targetActivity
493493
{0} - The specified targetActivity name</note>
494494
</trans-unit>
495+
<trans-unit id="XA4229">
496+
<source>The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</source>
497+
<target state="new">The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</target>
498+
<note />
499+
</trans-unit>
500+
<trans-unit id="XA4230">
501+
<source>The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</source>
502+
<target state="new">The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</target>
503+
<note />
504+
</trans-unit>
495505
<trans-unit id="XA4300">
496506
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
497507
<target state="translated">サポートされていない ABI が含まれるため、ネイティブ ライブラリ '{0}' はバンドルされません。</target>

src/Xamarin.Android.Build.Tasks/Properties/xlf/Resources.ko.xlf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -492,6 +492,16 @@ In this mesage, the term "layout" means an Android UI layout.
492492
<note>The following are literal names and should not be translated: //activity-alias/@android:targetActivity
493493
{0} - The specified targetActivity name</note>
494494
</trans-unit>
495+
<trans-unit id="XA4229">
496+
<source>The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</source>
497+
<target state="new">The Android class parser value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'class-parse'.</target>
498+
<note />
499+
</trans-unit>
500+
<trans-unit id="XA4230">
501+
<source>The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</source>
502+
<target state="new">The Android code generator value '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Update Project Properties to use 'XAJavaInterop1'.</target>
503+
<note />
504+
</trans-unit>
495505
<trans-unit id="XA4300">
496506
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
497507
<target state="translated">네이티브 라이브러리 '{0}'은(는) 지원되지 않는 ABI를 포함하므로 함께 제공되지 않습니다.</target>

0 commit comments

Comments
 (0)