Package org.codehaus.mojo.appassembler.model

Examples of org.codehaus.mojo.appassembler.model.GeneratorConfiguration


    String[] windowsServiceDependencies = null;

    for (Iterator i = daemon.getGeneratorConfigurations().iterator();
      i.hasNext(); )
    {
      GeneratorConfiguration generatorConfiguration =
        (GeneratorConfiguration) i.next();

      if (generatorConfiguration.getGenerator().equals(NATIVE_GROUPID))
      {
        String winSerDep =
          generatorConfiguration.getConfiguration().getProperty(
            PROPERTY_WIN_DEPENDENCIES);

        if ((winSerDep != null) && (winSerDep.length() > 0))
        {
          windowsServiceDependencies = winSerDep.split(",");
        }
        else
        {
          windowsServiceDependencies = new String[0];
        }

        startup = generatorConfiguration.getConfiguration().getProperty(
          PROPERTY_WIN_STARTUP, startup);

        if (startup.equalsIgnoreCase("manual")
          || startup.equalsIgnoreCase("auto"))
        {
          startup = startup.toLowerCase(Locale.ENGLISH);
        }
        else
        {
          throw new IllegalArgumentException(
            "wrong value for windows.service.startup, possible values are manual or auto");
        }

        configDirectory = generatorConfiguration.getConfiguration().getProperty(
          PROPERTY_CONFIGDIRECTORY);

        String value = generatorConfiguration.getConfiguration().getProperty(
                         PROPERTY_DARWIN_USE_ARCH);

        if ((value != null) && value.equalsIgnoreCase("false"))
        {
          darwinArch = false;
View Full Code Here

TOP

Related Classes of org.codehaus.mojo.appassembler.model.GeneratorConfiguration

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.