You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by br...@apache.org on 2005/09/15 06:52:16 UTC
svn commit: r289147 -
/maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
Author: brett
Date: Wed Sep 14 21:52:10 2005
New Revision: 289147
URL: http://svn.apache.org/viewcvs?rev=289147&view=rev
Log:
rollback system properties change, it didn't do what I thought it did
Modified:
maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
Modified: maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java
URL: http://svn.apache.org/viewcvs/maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java?rev=289147&r1=289146&r2=289147&view=diff
==============================================================================
--- maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java (original)
+++ maven/components/trunk/maven-core/src/main/java/org/apache/maven/cli/MavenCli.java Wed Sep 14 21:52:10 2005
@@ -483,20 +483,17 @@
// are most dominant.
// ----------------------------------------------------------------------
- Properties systemProperties = new Properties();
if ( commandLine.hasOption( CLIManager.SET_SYSTEM_PROPERTY ) )
{
String[] defStrs = commandLine.getOptionValues( CLIManager.SET_SYSTEM_PROPERTY );
for ( int i = 0; i < defStrs.length; ++i )
{
- setCliProperty( defStrs[i], systemProperties );
+ setCliProperty( defStrs[i] );
}
}
-
- System.setProperties( systemProperties );
}
- private static void setCliProperty( String property, Properties systemProperties )
+ private static void setCliProperty( String property )
{
String name;
@@ -517,7 +514,7 @@
value = property.substring( i + 1 ).trim();
}
- systemProperties.setProperty( name, value );
+ System.setProperty( name, value );
}
// ----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org