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

Examples of org.openengsb.labs.paxexam.karaf.container.internal.KarafPropertiesFile


        FileUtils.writeStringToFile(featuresXmlFile, featuresXml);
    }

    @Override
    public void adaptDistributionToStartExam(File karafHome, File featuresXmlFile) throws IOException {
        KarafPropertiesFile karafPropertiesFile = new KarafPropertiesFile(karafHome, Constants.FEATURES_CFG_LOCATION);
        karafPropertiesFile.load();
        String finalFilePath = ",file:" + featuresXmlFile.toString().replaceAll("\\\\", "/").replaceAll(" ", "%20");
        karafPropertiesFile.extend("featuresRepositories", finalFilePath);
        karafPropertiesFile.extend("featuresBoot", ",exam");
        karafPropertiesFile.store();
    }
View Full Code Here

TOP

Related Classes of org.openengsb.labs.paxexam.karaf.container.internal.KarafPropertiesFile

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.