Package org.openengsb.labs.paxexam.karaf.container.internal.examAdaptions

Examples of org.openengsb.labs.paxexam.karaf.container.internal.examAdaptions.ExamFeaturesFile


            ExamBundlesStartLevel examBundlesStartLevel = system.getSingleOption(ExamBundlesStartLevel.class);
            if (examBundlesStartLevel != null) {
                startLevel = examBundlesStartLevel.getStartLevel();
            }

            ExamFeaturesFile examFeaturesFile;
            if (framework.isUseDeployFolder()) {
                copyReferencedArtifactsToDeployFolder(deploy, subsystem, fileEndings);
                examFeaturesFile = ExamFeaturesFileFactory.createExamFeaturesFile("", startLevel);
            } else {
                StringBuilder extension = extractExtensionString(subsystem);
                examFeaturesFile = ExamFeaturesFileFactory.createExamFeaturesFile(extension.toString(), startLevel);
            }
            examFeaturesFile.writeToFile(featuresXmlFile);
            examFeaturesFile.adaptDistributionToStartExam(karafHome, featuresXmlFile);

            long startedAt = System.currentTimeMillis();

            runner.exec(environment, karafBase, javaHome.toString(), javaOpts.toArray(new String[]{}),
                javaEndorsedDirs, javaExtDirs, karafHome.toString(), karafData, karafOpts,
View Full Code Here

TOP

Related Classes of org.openengsb.labs.paxexam.karaf.container.internal.examAdaptions.ExamFeaturesFile

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.