Skip to content

Commit 591364d

Browse files
committed
[Bindings.targets] Warn about deprecated jar2xml and XamarinAndroid values.
1 parent ef12d24 commit 591364d

17 files changed

+177
-1
lines changed

Documentation/guides/messages/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ ms.date: 01/24/2020
134134
+ XA4228: Unable to find specified //activity-alias/@android:targetActivity: '{targetActivity}'
135135
+ XA4229: Unrecognized \`TransformFile\` root element: {element}.
136136
+ XA4230: Error parsing XML: {exception}
137+
+ XA4231: The Android class parser '$(AndroidClassParser)' is deprecated and will be removed in a future version of Xamarin.Android. Use 'class-parse' instead.
138+
+ XA4232: The Android code generator '$(AndroidCodegenTarget)' is deprecated and will be removed in a future version of Xamarin.Android. Use 'XAJavaInterop1' instead.
137139
+ XA4300: Native library '{library}' will not be bundled because it has an unsupported ABI.
138140
+ [XA4301](xa4301.md): Apk already contains the item `xxx`.
139141
+ [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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,14 @@ In this message, "root element" refers to the root element of an XML file.
559559
<value>Error parsing XML: {0}</value>
560560
<comment>{0} - The exception message and stack trace of the associated exception</comment>
561561
</data>
562+
<data name="XA4231" xml:space="preserve">
563+
<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>
564+
<comment>The value 'class-parse' should not be translated.</comment>
565+
</data>
566+
<data name="XA4232" xml:space="preserve">
567+
<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>
568+
<comment>The value 'XAJavaInterop1' should not be translated.</comment>
569+
</data>
562570
<data name="XA4300" xml:space="preserve">
563571
<value>Native library '{0}' will not be bundled because it has an unsupported ABI.</value>
564572
<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
@@ -537,6 +537,16 @@ In this message, "root element" refers to the root element of an XML file.
537537
<target state="new">Error parsing XML: {0}</target>
538538
<note>{0} - The exception message and stack trace of the associated exception</note>
539539
</trans-unit>
540+
<trans-unit id="XA4231">
541+
<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>
542+
<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>
543+
<note>The value 'class-parse' should not be translated.</note>
544+
</trans-unit>
545+
<trans-unit id="XA4232">
546+
<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>
547+
<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>
548+
<note>The value 'XAJavaInterop1' should not be translated.</note>
549+
</trans-unit>
540550
<trans-unit id="XA4300">
541551
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
542552
<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
@@ -537,6 +537,16 @@ In this message, "root element" refers to the root element of an XML file.
537537
<target state="new">Error parsing XML: {0}</target>
538538
<note>{0} - The exception message and stack trace of the associated exception</note>
539539
</trans-unit>
540+
<trans-unit id="XA4231">
541+
<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>
542+
<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>
543+
<note>The value 'class-parse' should not be translated.</note>
544+
</trans-unit>
545+
<trans-unit id="XA4232">
546+
<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>
547+
<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>
548+
<note>The value 'XAJavaInterop1' should not be translated.</note>
549+
</trans-unit>
540550
<trans-unit id="XA4300">
541551
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
542552
<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
@@ -537,6 +537,16 @@ In this message, "root element" refers to the root element of an XML file.
537537
<target state="new">Error parsing XML: {0}</target>
538538
<note>{0} - The exception message and stack trace of the associated exception</note>
539539
</trans-unit>
540+
<trans-unit id="XA4231">
541+
<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>
542+
<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>
543+
<note>The value 'class-parse' should not be translated.</note>
544+
</trans-unit>
545+
<trans-unit id="XA4232">
546+
<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>
547+
<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>
548+
<note>The value 'XAJavaInterop1' should not be translated.</note>
549+
</trans-unit>
540550
<trans-unit id="XA4300">
541551
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
542552
<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
@@ -537,6 +537,16 @@ In this message, "root element" refers to the root element of an XML file.
537537
<target state="new">Error parsing XML: {0}</target>
538538
<note>{0} - The exception message and stack trace of the associated exception</note>
539539
</trans-unit>
540+
<trans-unit id="XA4231">
541+
<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>
542+
<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>
543+
<note>The value 'class-parse' should not be translated.</note>
544+
</trans-unit>
545+
<trans-unit id="XA4232">
546+
<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>
547+
<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>
548+
<note>The value 'XAJavaInterop1' should not be translated.</note>
549+
</trans-unit>
540550
<trans-unit id="XA4300">
541551
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
542552
<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
@@ -537,6 +537,16 @@ In this message, "root element" refers to the root element of an XML file.
537537
<target state="new">Error parsing XML: {0}</target>
538538
<note>{0} - The exception message and stack trace of the associated exception</note>
539539
</trans-unit>
540+
<trans-unit id="XA4231">
541+
<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>
542+
<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>
543+
<note>The value 'class-parse' should not be translated.</note>
544+
</trans-unit>
545+
<trans-unit id="XA4232">
546+
<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>
547+
<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>
548+
<note>The value 'XAJavaInterop1' should not be translated.</note>
549+
</trans-unit>
540550
<trans-unit id="XA4300">
541551
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
542552
<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
@@ -537,6 +537,16 @@ In this message, "root element" refers to the root element of an XML file.
537537
<target state="new">Error parsing XML: {0}</target>
538538
<note>{0} - The exception message and stack trace of the associated exception</note>
539539
</trans-unit>
540+
<trans-unit id="XA4231">
541+
<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>
542+
<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>
543+
<note>The value 'class-parse' should not be translated.</note>
544+
</trans-unit>
545+
<trans-unit id="XA4232">
546+
<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>
547+
<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>
548+
<note>The value 'XAJavaInterop1' should not be translated.</note>
549+
</trans-unit>
540550
<trans-unit id="XA4300">
541551
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
542552
<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
@@ -537,6 +537,16 @@ In this message, "root element" refers to the root element of an XML file.
537537
<target state="new">Error parsing XML: {0}</target>
538538
<note>{0} - The exception message and stack trace of the associated exception</note>
539539
</trans-unit>
540+
<trans-unit id="XA4231">
541+
<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>
542+
<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>
543+
<note>The value 'class-parse' should not be translated.</note>
544+
</trans-unit>
545+
<trans-unit id="XA4232">
546+
<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>
547+
<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>
548+
<note>The value 'XAJavaInterop1' should not be translated.</note>
549+
</trans-unit>
540550
<trans-unit id="XA4300">
541551
<source>Native library '{0}' will not be bundled because it has an unsupported ABI.</source>
542552
<target state="translated">네이티브 라이브러리 '{0}'은(는) 지원되지 않는 ABI를 포함하므로 함께 제공되지 않습니다.</target>

0 commit comments

Comments
 (0)