Examples of saveConfiguration()


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

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

        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

Examples of net.zero.smarttrace.ConnectorConfiguration.saveConfiguration()

    {
    if(configurationName.isEnabled())
      {
      ConnectorConfiguration config = ((ConnectorConfiguration)model);
      config.setName(configurationName.getText());
      config.saveConfiguration();
      }
    }
 
  @Override
  public String getModelName()
View Full Code Here

Examples of org.apache.axis.AxisEngine.saveConfiguration()

     */
    protected void applyAndSaveSettings()
            throws AxisFault, ConfigurationException {
        AxisEngine engine = getEngine();
        engine.refreshGlobalOptions();
        engine.saveConfiguration();
    }
}
View Full Code Here

Examples of org.apache.axis.AxisEngine.saveConfiguration()

                    throw new AxisFault( "Admin.error",
                        JavaUtils.getMessage("unknownType01", action + ": " + type),
                        null, null );
            }
           
            engine.saveConfiguration();

            doc = XMLUtils.newDocument();
            doc.appendChild( root = doc.createElementNS("", "Admin" ) );
            root.appendChild( doc.createTextNode( JavaUtils.getMessage("done00") ) );
        }
View Full Code Here

Examples of org.apache.axis.AxisEngine.saveConfiguration()

     */
    protected void applyAndSaveSettings()
            throws AxisFault, ConfigurationException {
        AxisEngine engine = getEngine();
        engine.refreshGlobalOptions();
        engine.saveConfiguration();
    }
}
View Full Code Here

Examples of org.apache.hdt.core.launch.AbstractHadoopCluster.saveConfiguration()

    } catch (IOException ioe) {
      ioe.printStackTrace();
      return false;
    }
    try {
      location.saveConfiguration(confDir, jarFile.getAbsolutePath());
    } catch (IOException ioe) {
      ioe.printStackTrace();
      return false;
    }
    // Setup the Launch class path
View Full Code Here

Examples of org.apache.lenya.cms.publication.Publication.saveConfiguration()

                String paramName = getProxyParameterName(areas[a], ssl);
                String url = getParameterAsString(paramName);
                pub.getProxy(areas[a], ssl).setUrl(url);
            }
        }
        pub.saveConfiguration();
    }

    protected Publication getPublication() throws PublicationException {
        URLInformation info = new URLInformation(getSourceURL());
        String pubId = info.getPublicationId();
View Full Code Here

Examples of org.apache.roller.model.PlanetManager.saveConfiguration()

            assertNull(config.getSiteUrl());
        }
        {   // save config
            PlanetConfigData config = planet.getConfiguration();
            config.setSiteUrl("http://footest/lskdf/null");
            planet.saveConfiguration(config);
            TestUtils.endSession(true);
        }
        {
            // make sure config was saved
            PlanetConfigData config = planet.getConfiguration();
View Full Code Here

Examples of org.apache.roller.model.PlanetManager.saveConfiguration()

        PlanetManager planet = getRoller().getPlanetManager();
        PlanetConfigData config = config = new PlanetConfigData();
        config.setCacheDir("");
        config.setTitle("Test");
        config.setAdminEmail("admin@example.com");
        planet.saveConfiguration(config);
       
        PlanetGroupData group = new PlanetGroupData();
        group.setHandle("external");
        group.setTitle("external");
        planet.saveGroup(group);
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.