Author: raja
Date: 2005-05-09 05:34:29 -0400 (Mon, 09 May 2005)
New Revision: 44257

Modified:
   trunk/mcs/class/Mono.GetOptions/ChangeLog
   trunk/mcs/class/Mono.GetOptions/Makefile
   
trunk/mcs/class/Mono.GetOptions/Mono.GetOptions.Useful/CommonCompilerOptions.cs
   trunk/mcs/class/Mono.GetOptions/Samples/Makefile
Log:
* Mono.GetOptions.Useful/CommonCompilerOptions.cs (AddedReference):
Support multiple assemblies separated by commas.


Modified: trunk/mcs/class/Mono.GetOptions/ChangeLog
===================================================================
--- trunk/mcs/class/Mono.GetOptions/ChangeLog   2005-05-09 09:31:25 UTC (rev 
44256)
+++ trunk/mcs/class/Mono.GetOptions/ChangeLog   2005-05-09 09:34:29 UTC (rev 
44257)
@@ -1,3 +1,8 @@
+2005-05-09  Raja R Harinath  <[EMAIL PROTECTED]>
+
+       * Mono.GetOptions.Useful/CommonCompilerOptions.cs (AddedReference):
+       Support multiple assemblies separated by commas.
+
 2005-05-07  Rafael Teixeira  <[EMAIL PROTECTED]>
        * Mono.GetOptions/Options.cs: new constructor adds possibility to not 
break parameter values at commas
        * Mono.GetOptions/OptionDetail.cs: check Options.DontSplitOnCommas when 
parsing values. 


Property changes on: trunk/mcs/class/Mono.GetOptions/ChangeLog
___________________________________________________________________
Name: svn:eol-style
   + native


Property changes on: trunk/mcs/class/Mono.GetOptions/Makefile
___________________________________________________________________
Name: svn:eol-style
   + native

Modified: 
trunk/mcs/class/Mono.GetOptions/Mono.GetOptions.Useful/CommonCompilerOptions.cs
===================================================================
--- 
trunk/mcs/class/Mono.GetOptions/Mono.GetOptions.Useful/CommonCompilerOptions.cs 
    2005-05-09 09:31:25 UTC (rev 44256)
+++ 
trunk/mcs/class/Mono.GetOptions/Mono.GetOptions.Useful/CommonCompilerOptions.cs 
    2005-05-09 09:34:29 UTC (rev 44257)
@@ -176,8 +176,8 @@
                        return WhatToDoNext.GoAhead;
                }
 
-               [Option(-1, "References metadata from the specified 
{assembly}", 'r', "reference")]
-               public string AddedReference { set { 
AssembliesToReference.Add(value); } }
+               [Option(-1, "References metadata from the specified 
{assembly-list}. {assembly-list}:assembly,...", 'r', "reference")]
+               public string AddedReference { set { foreach (string assembly 
in value.Split(',')) AssembliesToReference.Add(assembly); } }
                
                [Option("List of directories to search for metadata 
AssembliesToReference. {path-list}:path,...", "libpath", "lib")]
                public string AddedLibPath { set { foreach(string path in 
value.Split(',')) PathsToSearchForLibraries.Add(path); } }


Property changes on: trunk/mcs/class/Mono.GetOptions/Samples/Makefile
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to