Package xapi.gwtc.api

Examples of xapi.gwtc.api.GwtManifest


    System.out.println(eater);
  }
 
  @Test
  public void testGwtManifest() {
    GwtManifest gwtc = new GwtManifest("module")
      .setAutoOpen(true)
      .setClosureCompiler(true)
      .setDeployDir("deployDir")
      .setDisableAggressiveOptimize(true)
      .setDisableCastCheck(true)
      .setDisableClassMetadata(true)
      .setDisableRunAsync(true)
      .setDisableThreadedWorkers(true)
      .setDraftCompile(true)
      .setEnableAssertions(true)
      .setExtrasDir("extraDir")
      .setFragments(20)
      .setGenDir("genDir")
      .setLocalWorkers(8)
      .setLogLevel(Type.WARN)
      .setObfuscationLevel(ObfuscationLevel.OBFUSCATED)
      .setOpenAction(OpenAction.NO_ACTION)
      .setOptimizationLevel(5)
      .setSoyc(true)
      .setSoycDetailed(true)
      .setStrict(true)
      .setUrlToOpen("urlToOpen")
      .setValidateOnly(true)
      .setWorkDir("workDir")
      .addDependency("dep1")
      .addDependency("dep2")
      .addExtraArg("extra")
      .addJvmArg("jvm")
      .addSource("src1")
      .addSource("src2")
      .addSystemProp("sysProp")
    ;
    YamlLineEater eater = new YamlLineEater();
    eater.eatAll(gwtc.toString());
    System.out.println(gwtc.toString());
    System.out.println(eater.toString());
  }
View Full Code Here

TOP

Related Classes of xapi.gwtc.api.GwtManifest

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.