geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r492620 - /geronimo/devtools/eclipse-plugin/branches/1.2.1/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
Date Thu, 04 Jan 2007 15:51:19 GMT
Author: sppatel
Date: Thu Jan  4 07:51:18 2007
New Revision: 492620

URL: http://svn.apache.org/viewvc?view=rev&rev=492620
Log:
add noemf option for quick build

Modified:
    geronimo/devtools/eclipse-plugin/branches/1.2.1/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java

Modified: geronimo/devtools/eclipse-plugin/branches/1.2.1/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
URL: http://svn.apache.org/viewvc/geronimo/devtools/eclipse-plugin/branches/1.2.1/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java?view=diff&rev=492620&r1=492619&r2=492620
==============================================================================
--- geronimo/devtools/eclipse-plugin/branches/1.2.1/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
(original)
+++ geronimo/devtools/eclipse-plugin/branches/1.2.1/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
Thu Jan  4 07:51:18 2007
@@ -69,6 +69,11 @@
 	 * @parameter expression="${project}"
 	 */
 	protected MavenProject mavenProject;
+	
+	/**
+	 * @parameter expression="${noemf}";
+	 */
+	private boolean noemf = false;
 
 	protected static final String SPACE = " ";
 
@@ -78,6 +83,11 @@
 	 * @see org.apache.maven.plugin.Mojo#execute()
 	 */
 	public void execute() throws MojoExecutionException, MojoFailureException {
+		
+		if(noemf) {
+			getLog().warn("EMF CodeGen Disabled.");
+			return;
+		}
 
 		if (!eclipseHome.exists())
 			throw new MojoFailureException("Eclipse installation not available");



Mime
View raw message