Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2014-07-09 19:11:42 +0400
committerAlexander Köplinger <alex.koeplinger@outlook.com>2014-07-10 19:32:10 +0400
commita3d7cfdb20d6a28162932fe6b0264d946965bac0 (patch)
treed86211c4cac4c48946e27136877a710a77d4b6fc /mcs/class/monodoc
parent9192bdf57cac32f676f35eb0ab56a0655201632d (diff)
[monodoc] Clarified message when a backing file isn't found
If the backing file doesn't exist, it will be ignored. The previous message made it sound like this is a serious problem, which confused people as it is the last message that is printed when building Mono (because of a reference to 'DoesNotExist' in docs/toc.xml) while in reality everything is fine.
Diffstat (limited to 'mcs/class/monodoc')
-rw-r--r--mcs/class/monodoc/Monodoc/providers/xhtml-provider.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/mcs/class/monodoc/Monodoc/providers/xhtml-provider.cs b/mcs/class/monodoc/Monodoc/providers/xhtml-provider.cs
index 23bf89778c8..7a866432d63 100644
--- a/mcs/class/monodoc/Monodoc/providers/xhtml-provider.cs
+++ b/mcs/class/monodoc/Monodoc/providers/xhtml-provider.cs
@@ -49,7 +49,7 @@ namespace Monodoc.Providers
ObjectEntryToParams (inner, out caption, out element);
// Don't add if the backing file doesn't exist
if (!File.Exists (element)) {
- Console.Error.WriteLine ("File `{0}' referenced in TOC but it doesn't exist.", element);
+ Console.Error.WriteLine ("Warning: File `{0}' referenced in TOC but it doesn't exist. It will be ignored.", element);
continue;
}
using (var file = File.OpenRead (element))