001    package org.codehaus.mojo.exec;
002    
003    /**
004     * Simple class with a main method to call from unit tests
005     *
006     * @author Jerome Lacoste <jerome@coffeebreaks.org>
007     * @version $Id: DummyMain.java 6588 2008-03-28 12:22:57Z bentmann $
008     */
009    public class DummyMain
010    {
011        /**
012         * Prints Hello followed by each argument, then a new line. Use a space character as separator.
013         *
014         * @param args
015         */
016        public static void main( String[] args )
017        {
018            StringBuffer buffer = new StringBuffer( "Hello" );
019    
020            for ( int i = 0; i < args.length; i++ )
021            {
022                buffer.append( System.getProperty( "line.separator" ) ).append( args[i] );
023            }
024    
025            System.out.println( buffer.toString() );
026        }
027    }