Package com.dragome.compiler.utils

Examples of com.dragome.compiler.utils.Log


      write("dragomeJs.loadScript(" + sizeOfAllJunks + ");");
      out.flush();
      out.close();
    }

    Log logger= Log.getLogger();
    String newJunkName= "webapp.js";
    logger.debug("Creating assembly " + newJunkName);
    out= new FileWriter(new File(assembly, newJunkName));
    sizeOfCurrentJunk= 0;
    junkCount++;
  }
View Full Code Here


  public void visit(ClassUnit clazz)
  {
    if (clazz.isResolved())
      return;

    Log logger= Log.getLogger();

    if (clazz.getSignature().toString().startsWith("["))
    {

    }
    else if (!clazz.isUpToDate())
    {
      clazz.clear();
      try
      {
        compile(clazz);
        DragomeJsCompiler.compiler.compileCount++;
      }
      catch (RuntimeException ex)
      {
        DragomeJsCompiler.errorCount++;
        logger.error(ex.toString());

        if (DragomeJsCompiler.compiler.failOnError)
        {
          throw ex;
        }
      }
    }
    else
    {
      logger.debug("Up to date: " + clazz);
    }

    clazz.setResolved(true);
  }
View Full Code Here

  public void execute() throws Exception
  {
    if (logger == null)
    {
      setLogger(new Log());
    }

    for (Assembly assembly : assemblies)
    {
      execute(assembly);
View Full Code Here

  public void execute() throws Exception
  {
    if (logger == null)
    {
      setLogger(new Log());
    }

    for (Assembly assembly : assemblies)
    {
      execute(assembly);
View Full Code Here

TOP

Related Classes of com.dragome.compiler.utils.Log

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.