Examples of addParameterOption()


Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

  {
    ConsoleParameter parameter;
    ConsoleParametersProcessor parametersProcessor = new ConsoleParametersProcessor("CodeServer");

    parameter = new ConsoleParameter("-moduleName", "The name of the module to be compiled.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("name", "Module name"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("-sourceDir", "The application source folder.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Source dir"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-moduleName", "The name of the module to be compiled.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("name", "Module name"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("-sourceDir", "The application source folder.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Source dir"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-bindAddress", "The ip address of the code server. Defaults to 127.0.0.1.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("ip", "Ip address"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-sourceDir", "The application source folder.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Source dir"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-bindAddress", "The ip address of the code server. Defaults to 127.0.0.1.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("ip", "Ip address"));
    parametersProcessor.addSupportedParameter(parameter);

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-noprecompile", "If informed, code server will not pre compile the source.", false, true));

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-startHotDeploymentScanner", "If informed, a hotdeployment scanner will be started to automatically recompile the module when changes are made on the project.", false, true));
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-startHotDeploymentScanner", "If informed, a hotdeployment scanner will be started to automatically recompile the module when changes are made on the project.", false, true));
   
    parametersProcessor.addSupportedParameter(new ConsoleParameter("-startJetty", "If informed, starts the default application server (Jetty).", false, true));
   
    parameter = new ConsoleParameter("-userAgent", "The userAgent used by hotdeployment scanner to recompile the project.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("agent", "user agent"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("-locale", "The locale used by hotdeployment scanner to recompile the project.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("locale", "locale"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-userAgent", "The userAgent used by hotdeployment scanner to recompile the project.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("agent", "user agent"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("-locale", "The locale used by hotdeployment scanner to recompile the project.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("locale", "locale"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-port", "The port where the code server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-locale", "The locale used by hotdeployment scanner to recompile the project.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("locale", "locale"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-port", "The port where the code server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-notificationServerPort", "The port where the compile notification server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-port", "The port where the code server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-notificationServerPort", "The port where the compile notification server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-workDir", "The root of the directory tree where the code server will write compiler output. If not supplied, a temporary directory will be used.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Work dir"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-notificationServerPort", "The port where the compile notification server will run.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("port", "Port"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-workDir", "The root of the directory tree where the code server will write compiler output. If not supplied, a temporary directory will be used.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Work dir"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-webDir", "The directory to be updated by code server compiler. If provided, after each code server compilation, this folder will be updated.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Web dir"));
    parametersProcessor.addSupportedParameter(parameter);
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

    parameter = new ConsoleParameter("-workDir", "The root of the directory tree where the code server will write compiler output. If not supplied, a temporary directory will be used.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Work dir"));
    parametersProcessor.addSupportedParameter(parameter);

    parameter = new ConsoleParameter("-webDir", "The directory to be updated by code server compiler. If provided, after each code server compilation, this folder will be updated.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dir", "Web dir"));
    parametersProcessor.addSupportedParameter(parameter);

    parametersProcessor.addSupportedParameter(new ConsoleParameter("-help", "Display the usage screen.", false, true));
    parametersProcessor.addSupportedParameter(new ConsoleParameter("-h", "Display the usage screen.", false, true));
    return parametersProcessor; 
View Full Code Here

Examples of org.cruxframework.crux.tools.parameters.ConsoleParameter.addParameterOption()

  {
    ConsoleParameter parameter;
    ConsoleParametersProcessor parametersProcessor = new ConsoleParametersProcessor(getProgramName());

    parameter = new ConsoleParameter("outputDir", "The folder where the compiled files will be created.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dirName", "Folder name"));
    parametersProcessor.addSupportedParameter(parameter);
   
    parameter = new ConsoleParameter("sourceDir", "The project source folder.", false, true);
    parameter.addParameterOption(new ConsoleParameterOption("dirName", "Folder name"));
    parametersProcessor.addSupportedParameter(parameter);
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.