Package de.idos.updates.configuration

Examples of de.idos.updates.configuration.Configurator.saveConfiguration()


    @Given("^a file called 'update.properties' in the working directory$")
    public void a_file_called_update_properties_in_the_working_directory() throws Throwable {
        Configurator configurator = createBaseProperties();
        configurator.setRepositoryLocationForLatestVersionTo(Repo_From_WorkingDir);
        configurator.saveConfiguration();
        File repository = new File(Repo_From_WorkingDir, FilesystemRepository.AVAILABLE_VERSIONS);
        repository.mkdirs();
        new File(repository, "1.0.2").mkdir();
    }
View Full Code Here


        Properties properties = new Properties();
        properties.load(new FileInputStream(workingDirConfig));
        Configurator configurator = new Configurator(properties);
        configurator.toggleFixedVersion();
        configurator.changeFixedVersionLocationTo(Fixed_Version_Location);
        configurator.saveConfiguration();
    }

    @When("^I start the update system$")
    public void I_start_the_update_system() throws Throwable {
        updateSystem = ConfiguredUpdateSystem.loadProperties().create();
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.