Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions src/Xamarin.Android.Build.Tasks/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1165,6 +1165,12 @@ To use a custom JDK path for a command line build, set the 'JavaSdkDirectory' MS
<value>Generated trimmable type map Java source '{0}' was not found.</value>
<comment>The following are literal names and should not be translated: trimmable type map, Java.
{0} - Full path to the generated Java source file</comment>
</data>
<data name="XA4256" xml:space="preserve">
<value>Only one '{0}' is allowed for '{1}' item '{2}'.</value>
<comment>{0} - MSBuild XML element name
{1} - MSBuild XML element name
{2} - MSBuild ItemSpec value</comment>
Comment thread
simonrozsival marked this conversation as resolved.
</data>
<data name="XA0142" xml:space="preserve">
<value>Command '{0}' failed.\n{1}</value>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,8 @@ public static bool TryParseJavaArtifact (this ITaskItem task, string type, TaskL
return false;
}

// TODO: Need a new message saying that only one JavaArtifact is allowed
if (artifacts.Count > 1) {
log.LogCodedError ("XA4243", Properties.Resources.XA4243, "JavaArtifact", type, task.ItemSpec);
log.LogCodedError ("XA4256", Properties.Resources.XA4256, "JavaArtifact", type, task.ItemSpec);
artifact = null;
return false;
}
Expand Down
Loading