Package org.apache.karaf.eik.core.model

Examples of org.apache.karaf.eik.core.model.WorkingKarafPlatformModel


        final File configDir =
            LaunchConfigurationHelper.getConfigurationArea(configuration);

        final IPath workingArea = new Path(configDir.getAbsolutePath());
        final WorkingKarafPlatformModel workingKarafPlatform =
            new WorkingKarafPlatformModel(workingArea, karafPlatform);

        workingKarafPlatform.getConfigurationDirectory().toFile().mkdirs();
        workingKarafPlatform.getUserDeployedDirectory().toFile().mkdirs();

        // TODO: Factor this out so that it pulls the ID from this plugins
        // registry
        configuration.setAttribute(IPDELauncherConstants.OSGI_FRAMEWORK_ID, "org.apache.karaf.eik.Framework"); //$NON-NLS-1$
        configuration.setAttribute(IPDEUIConstants.LAUNCHER_PDE_VERSION, "3.3"); //$NON-NLS-1$
View Full Code Here


        final IPath runtimeLocation = server.getRuntime().getLocation();
        this.karafPlatform = KarafPlatformModelRegistry.findPlatformModel(runtimeLocation);

        final IPath workingArea = new Path(getConfigDir(configuration).getAbsolutePath());
        workingKarafPlatform = new WorkingKarafPlatformModel(workingArea, karafPlatform);

        karafServer = (KarafServerBehavior) server.loadAdapter(KarafServerBehavior.class, null);

        monitor.worked(10);
    }
View Full Code Here

        this.karafPlatform = KarafPlatformModelRegistry.findActivePlatformModel();

        monitor.worked(10);

        final IPath workingArea = new Path(getConfigDir(configuration).getAbsolutePath());
        workingKarafPlatform = new WorkingKarafPlatformModel(workingArea, karafPlatform);

        monitor.worked(10);
    }
View Full Code Here

    public boolean performFinish() {
        karafPlatformModel = installationSelectionPage.getKarafPlatformModel();
        if (karafPlatformModel != null) {
            try {
                final KarafWorkingPlatformModel workingPlatformModel =
                    new WorkingKarafPlatformModel(mainPage.getLocationPath().append(mainPage.getProjectName()), karafPlatformModel);

                final IKarafProject karafProject = new KarafProject(mainPage.getProjectHandle());
                if (mainPage.getProjectHandle().exists()) {
                    return false;
                }
View Full Code Here

TOP

Related Classes of org.apache.karaf.eik.core.model.WorkingKarafPlatformModel

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.