Package flex2.linker

Examples of flex2.linker.PostLink


        }
    }

    public static void logWarning(String path, int line, int col, String warning, String source)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logWarning(path, line, col, warning, source);
        }
        else
        {
            System.err.println(path + ": line " + line + ", col " + col + " - " + warning);
            System.err.println(source);
View Full Code Here


        }
    }

    public static void logWarning(String path, int line, int col, String warning, String source, int errorCode)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logWarning(path, line, col, warning, source, errorCode);
        }
        else
        {
            System.err.println(path + ": line " + line + ", col " + col + " - " + warning);
            System.err.println(source);
View Full Code Here

        }
    }

    public static void logError(String path, int line, int col, String error, String source)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logError(path, line, col, error, source);
        }
        else
        {
            System.err.println(path + ": line " + line + ", col " + col + " - " + error);
            System.err.println(source);
View Full Code Here

        }
    }

    public static void logError(String path, int line, int col, String error, String source, int errorCode)
    {
        Logger l = logger.get();
        if (l != null)
        {
            l.logError(path, line, col, error, source, errorCode);
        }
        else
        {
            System.err.println(path + ": line " + line + ", col " + col + " - " + error);
            System.err.println(source);
View Full Code Here

        log(m);
    }

    public static void log( ILocalizableMessage m )
    {
        Logger logger = getLogger();

        if (logger != null)
        {
            logger.log( m );
        }
    }
View Full Code Here

        }
    }

    public static void log( ILocalizableMessage m, String source)
    {
        Logger logger = getLogger();

        if (logger != null)
        {
            logger.log( m, source );
        }
    }
View Full Code Here

      acc.setHeight(Integer.toString(config.getDefaultHeight()));
        acc.setWidth(Integer.toString(config.getDefaultWidth()));
        acc.setSwfVersion(config.getSwfVersion());
        acc.setScriptRecursionLimit(config.getScriptRecursionLimit());
        acc.setScriptTimeLimit(config.getScriptTimeLimit());
        CompilerConfiguration cc = acc.getCompilerConfiguration();
        cc.setAccessible(config.getCompilerAccessible());
        List<String> externalLibraries = config.getCompilerExternalLibraryPath();
        String[] extlibs = new String[externalLibraries.size()];
        externalLibraries.toArray(extlibs);
        try
        {
            cc.cfgExternalLibraryPath(null, extlibs);
        }
        catch (ConfigurationException e)
        {
            // TODO Auto-generated catch block
            e.printStackTrace();
View Full Code Here

            clean(false /* cleanData */, false /* cleanCache */, false /* cleanOutput */);
            return FAIL;
        }


        CompilerConfiguration compilerConfig = tempOEMConfiguration.configuration.getCompilerConfiguration();
        compilerConfig.setMetadataExport(true);


        clean(true /* cleanData */,
              false /* cleanCache */,
              false /* cleanOutput */,
 
View Full Code Here

      {
        //ThreadLocalToolkit.log(new BadESStrictCombination(es, strict));
      }
       
        // if we're saving signatures to files and the directory is unset, use the default.
        final CompilerConfiguration compilerConfiguration = getCompilerConfiguration();

        validateKeepGeneratedSignatures(configurationBuffer, compilerConfiguration);
        validateKeepGeneratedActionScript(configurationBuffer, compilerConfiguration);
        validateDumpConfig(configurationBuffer);
    }
View Full Code Here

        return sources;
    }

    public void cfgIncludeSources(ConfigurationValue cv, List<String> args) throws ConfigurationException
    {
      CompilerConfiguration compilerConfiguration = getCompilerConfiguration();
      String[] paths = new String[args.size()];
      args.toArray(paths);
      VirtualFile[] newPathElements = compilerConfiguration.expandTokens(paths, compilerConfiguration.getLocales(), cv);

        for (VirtualFile v  : newPathElements)
           sources.add(v.getName());
    }
View Full Code Here

TOP

Related Classes of flex2.linker.PostLink

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.