geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sppa...@apache.org
Subject svn commit: r382850 - in /geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin: LaunchOSGIMojo.java XSDImporterMojo.java
Date Fri, 03 Mar 2006 15:10:10 GMT
Author: sppatel
Date: Fri Mar  3 07:10:10 2006
New Revision: 382850

URL: http://svn.apache.org/viewcvs?rev=382850&view=rev
Log:
console ouptput on debug only

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

Modified: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java?rev=382850&r1=382849&r2=382850&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/LaunchOSGIMojo.java
Fri Mar  3 07:10:10 2006
@@ -33,7 +33,7 @@
 	 * @parameter expression="${settings.localRepository}/eclipse/eclipse"
 	 */
 	protected File eclipseHome;
-	
+
 	/**
 	 * @parameter expression="${project}"
 	 */
@@ -54,7 +54,8 @@
 			throw new MojoFailureException("OSGI bundle not found");
 		}
 
-		System.setProperty(EclipseStarter.PROP_CONSOLE_LOG, "true");
+		if (getLog().isDebugEnabled())
+			System.setProperty(EclipseStarter.PROP_CONSOLE_LOG, "true");
 		System.setProperty(EclipseStarter.PROP_CLEAN, "true");
 		System.setProperty(EclipseStarter.PROP_INSTALL_AREA, eclipseHome.getAbsolutePath());
 		System.setProperty(EclipseStarter.PROP_FRAMEWORK, osgi.toExternalForm());
@@ -62,10 +63,10 @@
 
 		String[] args = getArguments();
 		if (args == null)
-			args = new String[]{};
-			
+			args = new String[] {};
+
 		getLog().debug(Arrays.asList(args).toString());
-		
+
 		try {
 			EclipseStarter.run(args, null);
 		} catch (Exception e) {

Modified: geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
URL: http://svn.apache.org/viewcvs/geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java?rev=382850&r1=382849&r2=382850&view=diff
==============================================================================
--- geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
(original)
+++ geronimo/devtools/eclipse-plugin/trunk/maven-plugins/maven-emf-plugin/src/main/java/org/apache/emf/plugin/XSDImporterMojo.java
Fri Mar  3 07:10:10 2006
@@ -56,8 +56,6 @@
 	 */
 	protected String type;
 
-	protected String projectId;
-
 	public static final String SPACE = " ";
 
 	/*



Mime
View raw message