dion 2003/08/17 23:12:11 Modified: src/java/org/apache/maven/cli Tag: MAVEN_RC1_STABLE App.java Log: De-tab Revision Changes Path No revision No revision 1.28.2.3 +10 -10 maven/src/java/org/apache/maven/cli/App.java Index: App.java =================================================================== RCS file: /home/cvs/maven/src/java/org/apache/maven/cli/App.java,v retrieving revision 1.28.2.2 retrieving revision 1.28.2.3 diff -u -r1.28.2.2 -r1.28.2.3 --- App.java 18 Aug 2003 06:07:06 -0000 1.28.2.2 +++ App.java 18 Aug 2003 06:12:10 -0000 1.28.2.3 @@ -183,9 +183,9 @@ /** Debug option. */ private static final String DEBUG = "X"; - /** Working dir option. */ - private static final String WORKING_DIR = "d"; - + /** Working dir option. */ + private static final String WORKING_DIR = "d"; + // ------------------------------------------------------------ // C L A S S M E M B E R S // ------------------------------------------------------------ @@ -340,18 +340,18 @@ this.writer = new OutputStreamWriter( this.consoleOut ); XMLOutput output = XMLOutput.createXMLOutput( writer, false ); - if ( getCli().hasOption( WORKING_DIR ) ) - { - String workingDir = getCli().getOptionValue(WORKING_DIR); - System.setProperty("user.dir", workingDir); - } + if ( getCli().hasOption( WORKING_DIR ) ) + { + String workingDir = getCli().getOptionValue(WORKING_DIR); + System.setProperty("user.dir", workingDir); + } // We will assume here that there might not be a project.xml file present // and we will create the root context from the directory gleaned from // the user.dir system property. MavenJellyContext c = MavenUtils.createContext( new File( System.getProperty("user.dir") ) ); setRootContext( c ); - + if ( getCli().hasOption( DEBUG ) ) { getRootContext().setXMLOutput( output );
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]