added Os.OS_FAMILY to showVersion() output (merged from 2.0.x branch r587331)

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@647624 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Herve Boutemy 2008-04-13 20:47:21 +00:00
parent ec3ec0567e
commit a36b220670
1 changed files with 2 additions and 3 deletions

View File

@ -78,9 +78,8 @@ static void showVersion()
System.out.println( "Java version: "
+ System.getProperty( "java.version", "<unknown java version>" ) );
//TODO: when plexus can return the family type, add that here because it will make it easier to know what profile activation settings to use.
System.out.println( "OS name: \"" + Os.OS_NAME + "\" version: \"" + Os.OS_VERSION
+ "\" arch: \"" + Os.OS_ARCH + "\"" );
System.out.println( "OS name: \"" + Os.OS_NAME + "\" version: \"" + Os.OS_VERSION +
"\" arch: \"" + Os.OS_ARCH + "\" Family: \"" + Os.OS_FAMILY + "\"" );
}
catch ( IOException e )
{