Package flex2.compiler.config

Examples of flex2.compiler.config.ConfigurationBuffer


    // expect args to have --file-specs because we need it to find app-specific-config.xml.
    OEMUtil.init(logger, mimeMappings, null, resolver, null);
   
        try
    {
            ConfigurationBuffer cfgbuf = new ConfigurationBuffer(ApplicationCompilerConfiguration.class,
                                       ApplicationCompilerConfiguration.getAliases());
            cfgbuf.setDefaultVar(Mxmlc.FILE_SPECS);           
            DefaultsConfigurator.loadDefaults(cfgbuf);
            Object obj = Mxmlc.processConfiguration(ThreadLocalToolkit.getLocalizationManager(),
                                   "oem",
                                   args,
                                   cfgbuf,
View Full Code Here


    // expect no SWC inputs in args.
    OEMUtil.init(logger, mimeMappings, null, resolver, null);
   
        try
    {
            ConfigurationBuffer cfgbuf = new ConfigurationBuffer(LibraryCompilerConfiguration.class,
                                       LibraryCompilerConfiguration.getAliases());
          DefaultsConfigurator.loadOEMCompcDefaults( cfgbuf );
          Object obj = Mxmlc.processConfiguration(ThreadLocalToolkit.getLocalizationManager(),
                                 "oem",
                                 args,
View Full Code Here

  {
    OEMUtil.init(logger, mimeMappings, null, resolver, null);
   
        try
    {
            ConfigurationBuffer cfgbuf = new ConfigurationBuffer(LinkerConfiguration.class,
                                       LinkerConfiguration.getAliases());
           
            DefaultsConfigurator.loadDefaults(cfgbuf);
            Object obj = Mxmlc.processConfiguration(ThreadLocalToolkit.getLocalizationManager(),
                                 "oem",
View Full Code Here

    }
  }

  public static final ConfigurationBuffer getCommandLineConfigurationBuffer(Logger logger, PathResolver resolver, String[] args)
  {
    ConfigurationBuffer cfgbuf = null;
   
        try
        {
      OEMUtil.init(logger, null, null, resolver, null);
     
          cfgbuf = new ConfigurationBuffer(CommandLineConfiguration.class, CommandLineConfiguration.getAliases());
          SystemPropertyConfigurator.load( cfgbuf, "flex" );
          CommandLineConfigurator.parse( cfgbuf, null, args);
        }
        catch (ConfigurationException ex)
        {
View Full Code Here

        return cfgbuf;
  }
 
  public static final ConfigurationBuffer getCompcConfigurationBuffer(Logger logger, PathResolver resolver, String[] args)
  {
    ConfigurationBuffer cfgbuf = null;
   
        try
        {
      OEMUtil.init(logger, null, null, resolver, null);
     
          cfgbuf = new ConfigurationBuffer(CompcConfiguration.class, CompcConfiguration.getAliases());
          SystemPropertyConfigurator.load( cfgbuf, "flex" );
          CommandLineConfigurator.parse( cfgbuf, null, args);
        }
        catch (ConfigurationException ex)
        {
View Full Code Here

  }
 
  private static CompcConfiguration getCompcConfiguration(String[] args)
        throws ConfigurationException, IOException
  {
        ConfigurationBuffer cfgbuf = new ConfigurationBuffer(CompcConfiguration.class,
                                   CompcConfiguration.getAliases());
        cfgbuf.setDefaultVar("include-classes");
        DefaultsConfigurator.loadCompcDefaults( cfgbuf );
        Object obj = Mxmlc.processConfiguration(ThreadLocalToolkit.getLocalizationManager(),
                               "compc",
                               args,
                               cfgbuf,
View Full Code Here

    }
 
  private static CommandLineConfiguration getCommandLineConfiguration(String[] args)
        throws ConfigurationException, IOException
  {
        ConfigurationBuffer cfgbuf = new ConfigurationBuffer(CommandLineConfiguration.class,
                                   CommandLineConfiguration.getAliases());
        cfgbuf.setDefaultVar("file-specs");
        DefaultsConfigurator.loadDefaults( cfgbuf );
        Object obj = Mxmlc.processConfiguration(ThreadLocalToolkit.getLocalizationManager(),
                               "mxmlc",
                               args,
                               cfgbuf,
View Full Code Here

    // expect args to have --file-specs because we need it to find app-specific-config.xml.
    OEMUtil.init(logger, mimeMappings, null, resolver, null);
   
        try
    {
            ConfigurationBuffer cfgbuf = new ConfigurationBuffer(ApplicationCompilerConfiguration.class,
                                       ApplicationCompilerConfiguration.getAliases());
            cfgbuf.setDefaultVar("--file-specs" /*Mxmlc.FILE_SPECS*/);           
            DefaultsConfigurator.loadDefaults(cfgbuf);
            MXMLC mxmlc = new MXMLC();
            mxmlc.configure(args);
            ApplicationCompilerConfiguration configuration = processMXMLCConfiguration(mxmlc.config);
           
View Full Code Here

    // expect no SWC inputs in args.
    OEMUtil.init(logger, mimeMappings, null, resolver, null);
   
        try
    {
            ConfigurationBuffer cfgbuf = new ConfigurationBuffer(LibraryCompilerConfiguration.class,
                                       LibraryCompilerConfiguration.getAliases());
          DefaultsConfigurator.loadOEMCompcDefaults( cfgbuf );
            COMPC compc = new COMPC();
            compc.configure(args);
            LibraryCompilerConfiguration configuration = processCOMPCCConfiguration(compc.config);
View Full Code Here

  {
    OEMUtil.init(logger, mimeMappings, null, resolver, null);
   
        try
    {
            ConfigurationBuffer cfgbuf = new ConfigurationBuffer(ApplicationCompilerConfiguration.class,
                    ApplicationCompilerConfiguration.getAliases());
            cfgbuf.setDefaultVar("--file-specs" /*Mxmlc.FILE_SPECS*/);           
            DefaultsConfigurator.loadDefaults(cfgbuf);
            MXMLC mxmlc = new MXMLC();
            mxmlc.configure(args);
            ApplicationCompilerConfiguration configuration = processMXMLCConfiguration(mxmlc.config);
           
View Full Code Here

TOP

Related Classes of flex2.compiler.config.ConfigurationBuffer

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.