incubator-nmaven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sisb...@apache.org
Subject svn commit: r532587 - in /incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin: FieldInjectorAttribute.cs Generator/JavaClassUnmarshaller.cs Injector/MavenProjectInjector.cs Injector/StringInjector.cs
Date Thu, 26 Apr 2007 03:22:19 GMT
Author: sisbell
Date: Wed Apr 25 20:22:19 2007
New Revision: 532587

URL: http://svn.apache.org/viewvc?view=rev&rev=532587
Log:
Adding missing classes deleting unneeded ones.

Added:
    incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/FieldInjectorAttribute.cs
Removed:
    incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Injector/MavenProjectInjector.cs
    incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Injector/StringInjector.cs
Modified:
    incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaClassUnmarshaller.cs

Added: incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/FieldInjectorAttribute.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/FieldInjectorAttribute.cs?view=auto&rev=532587
==============================================================================
--- incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/FieldInjectorAttribute.cs
(added)
+++ incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/FieldInjectorAttribute.cs
Wed Apr 25 20:22:19 2007
@@ -0,0 +1,45 @@
+#region Apache License, Version 2.0 
+//
+// Licensed to the Apache Software Foundation (ASF) under one
+// or more contributor license agreements.  See the NOTICE file
+// distributed with this work for additional information
+// regarding copyright ownership.  The ASF licenses this file
+// to you under the Apache License, Version 2.0 (the
+// "License"); you may not use this file except in compliance
+// with the License.  You may obtain a copy of the License at
+//
+//   http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing,
+// software distributed under the License is distributed on an
+// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+// KIND, either express or implied.  See the License for the
+// specific language governing permissions and limitations
+// under the License.
+//
+#endregion
+using System;
+
+namespace NMaven.Plugin
+{
+	/// <summary>
+	/// Description of FieldInjectorAttribute.
+	/// </summary>
+	public sealed class FieldInjectorAttribute : Attribute
+	{
+		private string targetClassName;
+		
+		public FieldInjectorAttribute(string targetClassName)
+		{
+			this.targetClassName = targetClassName;
+		}
+		
+		public string TargetClassName 
+		{
+			get 
+			{
+				return targetClassName;
+			}
+		}		
+	}
+}

Modified: incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaClassUnmarshaller.cs
URL: http://svn.apache.org/viewvc/incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaClassUnmarshaller.cs?view=diff&rev=532587&r1=532586&r2=532587
==============================================================================
--- incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaClassUnmarshaller.cs
(original)
+++ incubator/nmaven/branches/SI_XPT/assemblies/NMaven.Plugin/src/main/csharp/NMaven/Plugin/Generator/JavaClassUnmarshaller.cs
Wed Apr 25 20:22:19 2007
@@ -42,7 +42,7 @@
 	        JavaClass javaClass = new JavaClass();
 		 	javaClass.PackageName = abstractMojoType.Namespace;
 		 	javaClass.ClassName = abstractMojoType.Name;
-		 	javaClass.ExtendsClassName = "org.apache.maven.plugin.AbstractMojo";
+		 	javaClass.ExtendsClassName = "org.apache.maven.dotnet.plugin.AbstractMojo";
 		 	
 		 	List<String> classComments = new List<String>();
 			System.Attribute[] attributes =



Mime
View raw message