filterProperties.put( "app.author" , "Directory Project Team" ); filterProperties.put( "app.email" , "dev@directory.apache.org" ); filterProperties.put( "app.url" , "http: filterProperties.put( "app.java.version" , "1.4" );
filterProperties.put( "app.author" , target.getApplicationAuthor() ); filterProperties.put( "app.email" , target.getApplicationEmail() ); filterProperties.put( "app.url" , target.getApplicationUrl() ); filterProperties.put( "app.java.version" , target.getApplicationJavaVersion() );
    private void initializeFiltering()     {        filterProperties.putAll( mymojo.getProject().getProperties() );        filterProperties.put( "app" , mymojo.getApplicationName() );        filterProperties.put( "app.caps" , mymojo.getApplicationName().toUpperCase() );        filterProperties.put( "app.server.class", mymojo.getApplicationClass() );        if ( mymojo.getApplicationVersion() != null )        {            filterProperties.put( "app.version", mymojo.getApplicationVersion() );        }                if ( mymojo.getApplicationDescription() != null )        {            filterProperties.put( "app.init.message", mymojo.getApplicationDescription() );        }        // -------------------------------------------------------------------        // WARNING: hard code values just to for testing        // -------------------------------------------------------------------                // optional properties from mojo but should default:        filterProperties.put( "app.author" , "Directory Project Team" );        filterProperties.put( "app.email" , "dev@directory.apache.org" );        filterProperties.put( "app.url" , "http://directory.apache.org" );        filterProperties.put( "app.java.version" , "1.4" );                // izpack compiler will barf if these files are not present        // files which are user specified also from mojo        // these files need to be copied to the image folder of the target                // this one is installed or a defualt is installed by create image command        filterProperties.put( "app.license" , layout.getLicenseFile().getPath() );        if ( ! layout.getReadmeFile().exists() )        {            touchFile( layout.getReadmeFile() );        }        filterProperties.put( "app.readme" , layout.getReadmeFile().getPath() );        // this one is installed or a default is installed by create image command        filterProperties.put( "app.icon" , layout.getLogoIconFile().getPath() );                // generated files        if ( target.getOsFamily().equals( "windows" ) )        {            filterProperties.put( "windows.shortcuts" , izPackWindowsShortcuts.getPath() );        }                if ( target.getOsFamily().equals( "unix" ) && target.getOsFamily().equals( "unix" ) )        {            filterProperties.put( "unix.shortcuts", izPackUnixShortcuts.getPath() );        }        filterProperties.put( "user.input", izPackUserInput.getPath() );        filterProperties.put( "image.basedir", layout.getBaseDirectory().getPath() );        if ( target.getOsFamily().equals( "mac" )|| target.getOsFamily().equals( "unix" ) )        {            filterProperties.put( "server.init", layout.getInitScript().getName() );        }                // for the substitution of the application's installation path done by izPack        filterProperties.put( "app.install.base", "%INSTALL_PATH" );    }