Author: lluis
Date: 2006-09-12 05:37:19 -0400 (Tue, 12 Sep 2006)
New Revision: 65285
Modified:
trunk/mcs/tools/wsdl/ChangeLog
Log:
2005-09-12 Lluis Sanchez Gual <lluis (AT) ximian (DOT) com>
* MonoWSDL.cs, MonoWSDL2.cs: Return exit code 0 even if there
are warnings.
Modified: trunk/mcs/tools/wsdl/ChangeLog
trunk/mcs/tools/wsdl/ChangeLog2006-09-12 09:36:06 UTC (rev 65284)
trunk/mcs/tools/wsdl/ChangeLog2006-09-12 09:37:19 UTC (rev 65285)
@@ -1,3 +1,8 @@
+2005-09-12 Lluis Sanchez Gual <lluis (AT) ximian (DOT) com>
+
+* MonoWSDL.cs, MonoWSDL2.cs: Return exit code 0 even if there
+are warnings.
+
2006-07-24 Atsushi Enomoto <atsushi (AT) ximian (DOT) com>
* MonoWSDL2.cs : 2.0 API fixes from beta2 to RTM.
Modified:
2006-09-12 09:36:06 UTC (rev 65284)
2006-09-12 09:37:19 UTC (rev 65285)
@@ -575,16 +575,19 @@
}
// generate the code
-if (generator.GenerateCode (descriptions, schemas))
-return 1;
-else
-return 0;
+generator.GenerateCode (descriptions, schemas);
+return 0;
}
catch (NullReferenceException e)
{
Console.WriteLine (e);
return 2;
}
+catch (InvalidCastException e)
+{
+Console.WriteLine (e);
+return 2;
+}
catch (Exception exception)
{
Console.WriteLine("Error: {0}", exception.Message);
Modified:
2006-09-12 09:36:06 UTC (rev 65284)
2006-09-12 09:37:19 UTC (rev 65285)
@@ -149,10 +149,8 @@
return 0;
// generate the code
-if (GenerateCode (references, codeUnit))
-return 1;
-else
-return 0;
+GenerateCode (references, codeUnit);
+return 0;
}
catch (Exception exception)
{
Mono-patches maillist - Mono-patches (AT) lists (DOT) ximian.com