Examples of ConfigFile


Examples of com.sun.security.auth.login.ConfigFile

        kernel.unloadGBean(jmxRouter);
        kernel.unloadGBean(serverStub);

        kernel.shutdown();

        Configuration.setConfiguration(new ConfigFile());
    }
View Full Code Here

Examples of com.sun.security.auth.login.ConfigFile

        kernel.unloadGBean(propertiesRealm);
        kernel.unloadGBean(propertiesCE);

        super.tearDown();

        Configuration.setConfiguration(new ConfigFile());
    }
View Full Code Here

Examples of com.sun.security.auth.login.ConfigFile

        kernel.stopGBean(kerberosCE);
        kernel.unloadGBean(kerberosCE);

        super.tearDown();

        Configuration.setConfiguration(new ConfigFile());
    }
View Full Code Here

Examples of com.sun.security.auth.login.ConfigFile

        kernel.unloadGBean(propertiesRealm);
        kernel.unloadGBean(propertiesCE);

        super.tearDown();

        Configuration.setConfiguration(new ConfigFile());
    }
View Full Code Here

Examples of com.sun.security.auth.login.ConfigFile

        kernel.stopGBean(serverInfo);
        kernel.unloadGBean(testCE);
        kernel.unloadGBean(testRealm);
        kernel.unloadGBean(serverInfo);
        super.tearDown();
        Configuration.setConfiguration(new ConfigFile());
    }
View Full Code Here

Examples of com.sun.security.auth.login.ConfigFile

        kernel.unloadGBean(propertiesCE);
        kernel.unloadGBean(serverInfo);

        super.tearDown();

        Configuration.setConfiguration(new ConfigFile());
    }
View Full Code Here

Examples of de.matrixweb.smaller.config.ConfigFile

    new File(tempIn, "dir/dir/c.test").createNewFile();
    new File(tempIn, "in").createNewFile();

    final Processor processor = new Processor();
    processor.setSrc("in");
    final ConfigFile configFile = new ConfigFile();
    final Environment env = configFile.getEnvironments().get("first");
    env.setPipeline(new String[] { "processor" });
    env.getProcessors().put("processor", processor);
    env.setProcess("out");

    final byte[] bytes = util.zip(tempIn,
View Full Code Here

Examples of de.matrixweb.smaller.config.ConfigFile

    }
  }

  private void registerServlets() {
    try {
      final ConfigFile configFile = ConfigFile.read(this.smallerConfigBundle.getResource(this.config));

      final Manifest manifest = Manifest.fromConfigFile(configFile);
      for (final String envName : configFile.getBuildServer().getEnvironments()) {
        final Environment env = configFile.getEnvironments().get(envName);
        final ProcessDescription processDescription = getProcessDescription(env, manifest);

        final ServiceHolder holder = new ServiceHolder();
        holder.vfs = new VFS();
        setupVfs(holder.vfs, env);
View Full Code Here

Examples of de.matrixweb.smaller.config.ConfigFile

        log("Reading config-file: " + this.configFilePath);
        if (!this.configFilePath.exists()) {
          throw new RuntimeException(this.configFilePath.toString());
        }
        final ConfigFile configFile = ConfigFile.read(this.configFilePath);

        final List<String> includedFiles = new ArrayList<String>();
        for (final String envName : configFile.getBuildServer()
            .getEnvironments()) {
          final Environment env = configFile.getEnvironments().get(envName);
          for (final String dir : env.getFiles().getFolder()) {
            copyFirstInputFile(env, dir, temp);

            final String base = new File(this.configFilePath.getParentFile(),
                dir).getAbsolutePath();
View Full Code Here

Examples of de.matrixweb.smaller.config.ConfigFile

      try {
        temp.delete();
        temp.mkdirs();

        this.log.info("Reading config-file: " + this.configFilePath);
        final ConfigFile configFile = ConfigFile.read(this.configFilePath);

        final List<String> includedFiles = new ArrayList<String>();
        for (final String envName : configFile.getBuildServer()
            .getEnvironments()) {
          this.log.info("Preparing environment " + envName);
          final Environment env = configFile.getEnvironments().get(envName);
          for (final String dir : env.getFiles().getFolder()) {
            copyFirstInputFile(env, dir, temp);

            File base = new File(dir);
            if (!base.isAbsolute()) {
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.