Examples of addDefine()


Examples of net.sf.antcontrib.cpptasks.types.DefineSet.addDefine()

                DefineArgument def = new DefineArgument();

                def.setName( pair[0] );
                def.setValue( pair.length > 1 ? pair[1] : null );

                defSet.addDefine( def );
            }

            compiler.addConfiguredDefineset( defSet );
        }
View Full Code Here

Examples of net.sf.antcontrib.cpptasks.types.DefineSet.addDefine()

   
    // add VCPROJ_MOJO def (see UnitTestDriverImpl.cpp generated by Krusoe plugin)
    DefineSet defineSet = new DefineSet();
    DefineArgument defineArgument = new DefineArgument();
    defineArgument.setName("VCPROJ_MOJO");
    defineSet.addDefine(defineArgument);
    cpp.addConfiguredDefineset(defineSet);
   
   
    // add javah include path
    File jniDirectory = getJavah().getJniDirectory();
View Full Code Here

Examples of org.platformlayer.ops.java.JavaCommandBuilder.addDefine()

    // /usr/bin/java -Djetty.home=/var/jetty/default -Djava.io.tmpdir=/tmp -jar /var/jetty/default/start.jar
    // --pre=etc/jetty-logging.xml

    JavaCommandBuilder command = new JavaCommandBuilder();
    command.addClasspathFolder(getInstallDir());
    command.addDefine("jetty.home", getBaseDir());
    command.addDefine("java.io.tmpdir", "/tmp");
    command.setJar(new File(getBaseDir(), "start.jar"));
    command.addArgument(Argument.buildLiteral("--pre=etc/jetty-logging.xml"));
    return command.get();
  }
View Full Code Here

Examples of org.platformlayer.ops.java.JavaCommandBuilder.addDefine()

    // --pre=etc/jetty-logging.xml

    JavaCommandBuilder command = new JavaCommandBuilder();
    command.addClasspathFolder(getInstallDir());
    command.addDefine("jetty.home", getBaseDir());
    command.addDefine("java.io.tmpdir", "/tmp");
    command.setJar(new File(getBaseDir(), "start.jar"));
    command.addArgument(Argument.buildLiteral("--pre=etc/jetty-logging.xml"));
    return command.get();
  }
View Full Code Here

Examples of org.platformlayer.ops.java.JavaCommandBuilder.addDefine()

    JavaCommandBuilder command = new JavaCommandBuilder();
    command.addClasspathFolder(getInstallDir());
    // command.addDefine("logback.configurationFile", getLogConfigurationFile());
    command.setMainClass("org.openstack.keystone.server.KeystoneUserServer");

    command.addDefine("conf", getConfigurationFile());

    return command.get();
  }

  @Override
View Full Code Here

Examples of org.platformlayer.ops.java.JavaCommandBuilder.addDefine()

    command.addClasspathFolder(getInstallDir());
    command.addClasspathFolder(getServicesPath());

    command.setMainClass("org.platformlayer.xaas.web.StandaloneXaasWebserver");

    command.addDefine("conf", getConfigurationFile());

    command.addArgument(Argument.buildFile(getRootWar()));

    return command.get();
  }
View Full Code Here

Examples of org.platformlayer.ops.java.JavaCommandBuilder.addDefine()

    JavaCommandBuilder command = new JavaCommandBuilder();
    command.addClasspathFolder(getInstallDir());
    // command.addDefine("logback.configurationFile", getLogConfigurationFile());
    command.setMainClass("org.openstack.keystone.server.KeystoneAdminServer");

    command.addDefine("conf", getConfigurationFile());

    return command.get();
  }

  @Override
View Full Code Here

Examples of org.platformlayer.ops.java.JavaCommandBuilder.addDefine()

  @Override
  protected Command getCommand() throws OpsException {
    JavaCommandBuilder command = new JavaCommandBuilder();
    command.addClasspathFolder(getInstallDir());
    command.setMainClass("com.fathomdb.dns.server.DnsServer");
    command.addDefine("logback.configurationFile", getLogConfigurationPath());

    return command.get();
  }

  @Override
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.