if ( target.getApplicationAuthor() == null ) { target.setApplicationAuthor( applicationAuthor ); } if ( target.getApplicationEmail() == null ) { target.setApplicationEmail( applicationEmail ); } if ( target.getApplicationJavaVersion() == null ) { target.setApplicationJavaVersion( applicationJavaVersion ); } if ( target.getApplicationUrl() == null ) { target.setApplicationUrl( applicationUrl ); }
    private void setDefaults()    {        if ( allTargets == null )        {            return;        }                for ( int ii = 0; ii < allTargets.size(); ii++ )        {            Target target = ( Target ) allTargets.get( ii );            if ( target.getLoggerConfigurationFile() == null )            {                target.setLoggerConfigurationFile( new File( sourceDirectory, "log4j.properties" ) );            }            if ( target.getBootstrapperConfiguraitonFile() == null )            {                target.setBootstrapperConfiguraitonFile( new File( sourceDirectory, "bootstrapper.properties" ) );            }            if ( target.getServerConfigurationFile() == null )            {                target.setServerConfigurationFile( new File( sourceDirectory, "server.xml" ) );            }            if ( target.getOsVersion() == null )            {                target.setOsVersion( "*" );            }        }    }