[Monodevelop-patches-list] r2631 - in trunk/MonoDevelop/Extras/JavaBinding: . Project
Lluis Sanchez <lluis@ximian.com>
lluis at mono-cvs.ximian.com
Mon Jul 11 10:56:08 EDT 2005
Author: lluis
Date: 2005-07-11 10:56:08 -0400 (Mon, 11 Jul 2005)
New Revision: 2631
Modified:
trunk/MonoDevelop/Extras/JavaBinding/ChangeLog
trunk/MonoDevelop/Extras/JavaBinding/JavaLanguageBinding.cs
trunk/MonoDevelop/Extras/JavaBinding/Project/JavaCompilerParameters.cs
Log:
2005-07-11 Lluis Sanchez Gual <lluis at novell.com>
* Project/JavaCompilerParameters.cs: Implement ICloneable.
* JavaLanguageBinding.cs : CreateCompilationParameters now returns an
ICloneable.
Modified: trunk/MonoDevelop/Extras/JavaBinding/ChangeLog
===================================================================
--- trunk/MonoDevelop/Extras/JavaBinding/ChangeLog 2005-07-11 14:53:08 UTC (rev 2630)
+++ trunk/MonoDevelop/Extras/JavaBinding/ChangeLog 2005-07-11 14:56:08 UTC (rev 2631)
@@ -1,3 +1,9 @@
+2005-07-11 Lluis Sanchez Gual <lluis at novell.com>
+
+ * Project/JavaCompilerParameters.cs: Implement ICloneable.
+ * JavaLanguageBinding.cs : CreateCompilationParameters now returns an
+ ICloneable.
+
2005-06-11 Lluis Sanchez Gual <lluis at novell.com>
* Gui/ProjectConfigurationPropertyPanel.cs: Fix build.
Modified: trunk/MonoDevelop/Extras/JavaBinding/JavaLanguageBinding.cs
===================================================================
--- trunk/MonoDevelop/Extras/JavaBinding/JavaLanguageBinding.cs 2005-07-11 14:53:08 UTC (rev 2630)
+++ trunk/MonoDevelop/Extras/JavaBinding/JavaLanguageBinding.cs 2005-07-11 14:56:08 UTC (rev 2631)
@@ -64,7 +64,7 @@
// throw new NotImplementedException ();
}
- public object CreateCompilationParameters (XmlElement projectOptions)
+ public ICloneable CreateCompilationParameters (XmlElement projectOptions)
{
JavaCompilerParameters parameters = new JavaCompilerParameters ();
parameters.ClassPath = Path.Combine (Path.Combine (Properties.IkvmPath, "classpath"), "mscorlib.jar");
Modified: trunk/MonoDevelop/Extras/JavaBinding/Project/JavaCompilerParameters.cs
===================================================================
--- trunk/MonoDevelop/Extras/JavaBinding/Project/JavaCompilerParameters.cs 2005-07-11 14:53:08 UTC (rev 2630)
+++ trunk/MonoDevelop/Extras/JavaBinding/Project/JavaCompilerParameters.cs 2005-07-11 14:56:08 UTC (rev 2631)
@@ -17,7 +17,7 @@
/// <summary>
/// This class handles project specific compiler parameters
/// </summary>
- public class JavaCompilerParameters
+ public class JavaCompilerParameters: ICloneable
{
[ItemProperty("deprecation")]
bool deprecation = true;
@@ -43,6 +43,11 @@
[ItemProperty("genwarnings")]
bool genwarnings = false;
+ public object Clone ()
+ {
+ return MemberwiseClone ();
+ }
+
public bool GenWarnings {
get {
return genwarnings;
More information about the Monodevelop-patches-list
mailing list