Skip to content

Commit 72d6447

Browse files
committed
[Bindings.targets] Warn about deprecated jar2xml and XamarinAndroid values.
1 parent 75dc590 commit 72d6447

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
@@ -125,6 +125,8 @@ ms.date: 01/24/2020
125125
+ XA4224: Malformed full class name '{name}'. Missing class name.
126126
+ XA4225: Widget '{widget}' in layout '{layout}' has multiple instances with different types. The property type will be set to: {type}
127127
+ XA4226: Resource item '{file}' does not have the required metadata item '{metadataName}'.
128+
+ XA4227: The Android class parser '$(AndroidClassParser)' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.
129+
+ XA4228: The Android code generator '$(AndroidCodegenTarget)' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."
128130
+ XA4300: Native library '{library}' will not be bundled because it has an unsupported ABI.
129131
+ [XA4301](xa4301.md): Apk already contains the item `xxx`.
130132
+ [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
@@ -511,6 +511,12 @@ In this mesage, the term "layout" means an Android UI layout.
511511
<comment>{0} - The name of the Android layout resource file
512512
{1} - The name of the metadata item</comment>
513513
</data>
514+
<data name="XA4227" xml:space="preserve">
515+
<value>The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</value>
516+
</data>
517+
<data name="XA4228" xml:space="preserve">
518+
<value>The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</value>
519+
</data>
514520
<data name="XA4300" xml:space="preserve">
515521
<value>Native library '{0}' will not be bundled because it has an unsupported ABI.</value>
516522
<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
@@ -480,6 +480,16 @@ In this mesage, the term "layout" means an Android UI layout.
480480
<note>{0} - The name of the Android layout resource file
481481
{1} - The name of the metadata item</note>
482482
</trans-unit>
483+
<trans-unit id="XA4227">
484+
<source>The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</source>
485+
<target state="new">The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</target>
486+
<note />
487+
</trans-unit>
488+
<trans-unit id="XA4228">
489+
<source>The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</source>
490+
<target state="new">The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</target>
491+
<note />
492+
</trans-unit>
483493
<trans-unit id="XA4300">
484494
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
485495
<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
@@ -480,6 +480,16 @@ In this mesage, the term "layout" means an Android UI layout.
480480
<note>{0} - The name of the Android layout resource file
481481
{1} - The name of the metadata item</note>
482482
</trans-unit>
483+
<trans-unit id="XA4227">
484+
<source>The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</source>
485+
<target state="new">The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</target>
486+
<note />
487+
</trans-unit>
488+
<trans-unit id="XA4228">
489+
<source>The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</source>
490+
<target state="new">The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</target>
491+
<note />
492+
</trans-unit>
483493
<trans-unit id="XA4300">
484494
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
485495
<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
@@ -480,6 +480,16 @@ In this mesage, the term "layout" means an Android UI layout.
480480
<note>{0} - The name of the Android layout resource file
481481
{1} - The name of the metadata item</note>
482482
</trans-unit>
483+
<trans-unit id="XA4227">
484+
<source>The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</source>
485+
<target state="new">The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</target>
486+
<note />
487+
</trans-unit>
488+
<trans-unit id="XA4228">
489+
<source>The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</source>
490+
<target state="new">The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</target>
491+
<note />
492+
</trans-unit>
483493
<trans-unit id="XA4300">
484494
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
485495
<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
@@ -480,6 +480,16 @@ In this mesage, the term "layout" means an Android UI layout.
480480
<note>{0} - The name of the Android layout resource file
481481
{1} - The name of the metadata item</note>
482482
</trans-unit>
483+
<trans-unit id="XA4227">
484+
<source>The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</source>
485+
<target state="new">The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</target>
486+
<note />
487+
</trans-unit>
488+
<trans-unit id="XA4228">
489+
<source>The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</source>
490+
<target state="new">The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</target>
491+
<note />
492+
</trans-unit>
483493
<trans-unit id="XA4300">
484494
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
485495
<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
@@ -480,6 +480,16 @@ In this mesage, the term "layout" means an Android UI layout.
480480
<note>{0} - The name of the Android layout resource file
481481
{1} - The name of the metadata item</note>
482482
</trans-unit>
483+
<trans-unit id="XA4227">
484+
<source>The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</source>
485+
<target state="new">The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</target>
486+
<note />
487+
</trans-unit>
488+
<trans-unit id="XA4228">
489+
<source>The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</source>
490+
<target state="new">The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</target>
491+
<note />
492+
</trans-unit>
483493
<trans-unit id="XA4300">
484494
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
485495
<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
@@ -480,6 +480,16 @@ In this mesage, the term "layout" means an Android UI layout.
480480
<note>{0} - The name of the Android layout resource file
481481
{1} - The name of the metadata item</note>
482482
</trans-unit>
483+
<trans-unit id="XA4227">
484+
<source>The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</source>
485+
<target state="new">The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</target>
486+
<note />
487+
</trans-unit>
488+
<trans-unit id="XA4228">
489+
<source>The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</source>
490+
<target state="new">The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</target>
491+
<note />
492+
</trans-unit>
483493
<trans-unit id="XA4300">
484494
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
485495
<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
@@ -480,6 +480,16 @@ In this mesage, the term "layout" means an Android UI layout.
480480
<note>{0} - The name of the Android layout resource file
481481
{1} - The name of the metadata item</note>
482482
</trans-unit>
483+
<trans-unit id="XA4227">
484+
<source>The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</source>
485+
<target state="new">The Android class parser '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.</target>
486+
<note />
487+
</trans-unit>
488+
<trans-unit id="XA4228">
489+
<source>The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</source>
490+
<target state="new">The Android code generator '{0}' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead."</target>
491+
<note />
492+
</trans-unit>
483493
<trans-unit id="XA4300">
484494
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
485495
<target state="translated">네이티브 라이브러리 '{0}'은(는) 지원되지 않는 ABI를 포함하므로 함께 제공되지 않습니다.</target>

0 commit comments

Comments
 (0)