Package org.apache.directory.daemon

Examples of org.apache.directory.daemon.InstallationLayout


    {
        Service service = new Service();

        if ( args.length > 0 && new File( args[0] ).isDirectory() )
        {
            InstallationLayout layout = new InstallationLayout( args[0] );
            String confFile = layout.getConfigurationFile().toURI().toURL().toString();
            service.init( layout, new String[]
                { confFile } );
        }
        else if ( args.length > 0 && new File( args[0] ).isFile() )
        {
View Full Code Here


    }


    public void setLayout( File installationDirectory )
    {
        this.layout = new InstallationLayout( installationDirectory );
    }
View Full Code Here

    }


    public void setLayout( String installationPath )
    {
        this.layout = new InstallationLayout( new File( installationPath ) );
    }
View Full Code Here

    public void execute() throws MojoExecutionException, MojoFailureException
    {
        // make the layout directories
        log.info( "Creating image ... " );
        File dir = new File( mymojo.getOutputDirectory(), target.getId() );
        layout = new InstallationLayout( dir );
        target.setLayout( layout );
        layout.mkdirs();

        // copy over the read me file if present otherwise use the bundled copy
        if ( target.getApplication().getReadme() != null && target.getApplication().getReadme().exists() )
View Full Code Here

    {
        Service service = new Service();

        if ( args.length > 0 && new File( args[0] ).isDirectory() )
        {
            InstallationLayout layout = new InstallationLayout( args[0] );
            String confFile = layout.getConfigurationFile().getAbsolutePath();
            service.init( layout, new String[]
                { confFile } );
        }
        else if ( args.length > 0 && new File( args[0] ).isFile() )
        {
View Full Code Here

    {
        Service service = new Service();

        if ( args.length > 0 && new File( args[0] ).isDirectory() )
        {
            InstallationLayout layout = new InstallationLayout( args[0] );
            String confFile = layout.getConfigurationFile().getAbsolutePath();
            service.init( layout, new String[]
                { confFile } );
        }
        else if ( args.length > 0 && new File( args[0] ).isFile() )
        {
View Full Code Here

    {
        Service server = new Service();

        if ( args.length > 0 && new File( args[0] ).isDirectory() )
        {
            InstallationLayout layout = new InstallationLayout( args[0] );
            String confFile = layout.getConfigurationFile().getAbsolutePath();
            server.init( layout, new String[]
                { confFile } );
            server.start();
        }
        else if ( args.length > 0 && new File( args[0] ).isFile() )
View Full Code Here

    }


    public void setLayout( File installationDirectory )
    {
        this.layout = new InstallationLayout( installationDirectory );
    }
View Full Code Here

    }


    public void setLayout( String installationPath )
    {
        this.layout = new InstallationLayout( new File( installationPath ) );
    }
View Full Code Here

TOP

Related Classes of org.apache.directory.daemon.InstallationLayout

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.