geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r389936 - /geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/GenModelModifierMojo.java
Date Thu, 30 Mar 2006 00:13:40 GMT
Author: sppatel
Date: Wed Mar 29 16:13:39 2006
New Revision: 389936

URL: http://svn.apache.org/viewcvs?rev=389936&view=rev
Log:
removed accidental checkin of test code

Modified:
    geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/GenModelModifierMojo.java

Modified: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/GenModelModifierMojo.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/GenModelModifierMojo.java?rev=389936&r1=389935&r2=389936&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/GenModelModifierMojo.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/GenModelModifierMojo.java
Wed Mar 29 16:13:39 2006
@@ -34,7 +34,6 @@
 import org.apache.maven.plugin.MojoFailureException;
 import org.w3c.dom.Document;
 import org.w3c.dom.Element;
-import org.w3c.dom.Node;
 import org.w3c.dom.NodeList;
 
 /**
@@ -45,33 +44,17 @@
  */
 public class GenModelModifierMojo extends AbstractMojo {
 
-	public static final String EMF = "/Users/sppatel/work/geronimo-emf-common/target/classes/emf/";
-	public static final String G = "geronimo-web.genmodel";
-
 	/**
 	 * @parameter
 	 * @required
 	 */
-	private File genmodel = new File(EMF + G);
+	private File genmodel;
 
 	/**
 	 * @parameter
 	 * @required
 	 */
 	private Map attributes;
-
-	public static void main(String[] args) {
-		GenModelModifierMojo mojo = new GenModelModifierMojo();
-		try {
-			mojo.execute();
-		} catch (MojoExecutionException e) {
-			// TODO Auto-generated catch block
-			e.printStackTrace();
-		} catch (MojoFailureException e) {
-			// TODO Auto-generated catch block
-			e.printStackTrace();
-		}
-	}
 
 	/*
 	 * (non-Javadoc)



Mime
View raw message