@Config(advanced = true, allowMultiple = true) @Mapping({ "compiler", "keep-as3-metadata" }) @Arguments("name") @InfiniteArguments public void setCompilerKeepAs3Metadata(ConfigurationValue cv, List<String> values) { if (as3metadata == null) as3metadata = new HashSet<String>(); as3metadata.addAll(values); }
@Config(advanced = true, allowMultiple = true) @Mapping({ "compiler", "keep-code-with-metadata" }) @Arguments("name") @InfiniteArguments public void setCompilerKeepCodeWithMetadata(ConfigurationValue cv, List<String> values) { if (keepCodeWithMetadata == null) keepCodeWithMetadata = new HashSet<String>(); keepCodeWithMetadata.addAll(values); }
@Config(allowMultiple = true) @Mapping({"dependency", "show-dependent-swcs"}) @Arguments("swc-name") @InfiniteArguments public void setShowDependentSwcs(ConfigurationValue cfgval, String[] swcs) throws ConfigurationException { for (int i = 0; i < swcs.length; ++i) { showDependentSwcs.add(swcs[i]); } }
@Config(allowMultiple=true) @Mapping({"dependency", "types"}) @Arguments("type") @InfiniteArguments public void setTypes( ConfigurationValue cfgval, String[] types ) throws ConfigurationException { for (int i = 0; i < types.length; ++i) { desiredTypes.add( types[i] ); } }
@Config(allowMultiple = true) @Mapping("js-compiler-option") @Arguments("option") @InfiniteArguments public void setJSCompilerOptions(ConfigurationValue cv, List<String> value) throws ConfigurationException { jsCompilerOptions.addAll(value); }
@Config(allowMultiple = true) @Mapping({"dependency", "show-dependent-swcs"}) @Arguments("swc-name") @InfiniteArguments public void setShowDependentSwcs(ConfigurationValue cfgval, String[] swcs) throws ConfigurationException { for (int i = 0; i < swcs.length; ++i) { showDependentSwcs.add(swcs[i]); } }
@Config(allowMultiple = true) @Mapping("js-output-optimization") @Arguments("optimization") @InfiniteArguments public void setJSOutputOptimizations(ConfigurationValue cv, List<String> value) throws ConfigurationException { jsOutputOptimizations.addAll(value); }
@Config(allowMultiple = true) @Mapping("js-output-optimization") @Arguments("optimization") @InfiniteArguments public void setJSOutputOptimizations(ConfigurationValue cv, List<String> value) throws ConfigurationException { jsOutputOptimizations.addAll(value); }
@Config(allowMultiple = true, hidden = true) @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments @SoftPrerequisites("royale") public void setFileSpecs(ConfigurationValue cv, List<String> args) throws ConfigurationException { this.fileSpecs.addAll(args); checkForMxmlFiles(args); }
/** * Sets a list of classes to exclude from linking when compiling a SWF file. This option provides compile-time link * checking for external references that are dynamically linked. */ @Config(advanced = true, allowMultiple = true) @Mapping("externs") @Arguments("symbol") @InfiniteArguments public void setExterns(ConfigurationValue cfgval, List<String> vals) { externs.addAll(QNameNormalization.normalize(vals)); }
/** * Links one or more classes to the resulting application SWF file, whether or not those classes are required at * compile time. To link an entire SWC file rather than individual classes, use the include-libraries option. */ @Config(allowMultiple = true, advanced = true) @Mapping("includes") @Arguments("symbol") @InfiniteArguments public void setIncludes(ConfigurationValue cfgval, List<String> vals) { includes.addAll(QNameNormalization.normalize(vals)); }
/** * Sets a list of classes to exclude from linking when compiling a SWF file. This option provides compile-time link * checking for external references that are dynamically linked. */ @Config(advanced = true, allowMultiple = true) @Mapping("externs") @Arguments("symbol") @InfiniteArguments public void setExterns(ConfigurationValue cfgval, List<String> vals) { externs.addAll(QNameNormalization.normalize(vals)); }
@Config(allowMultiple = true) @Mapping({ "compiler", "mxml", "imports" }) @Arguments("implicit-import") @InfiniteArguments @RoyaleOnly public void setCompilerMxmlImplicitImports(ConfigurationValue cv, String[] imports) throws ConfigurationException { implicitImports = imports; }
@Config @Mapping({ "compiler", "fonts", "local-font-paths" }) @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments @RoyaleOnly public void setCompilerFontsLocalFontPaths(ConfigurationValue cv, List<String> list) throws CannotOpen { // intentionally do nothing here as feature removed, but don't annotate as removed // as to not generate warnings for royale-config's which still set this options }
@Config(advanced = true) @Mapping({ "compiler", "fonts", "managers" }) @Arguments("manager-class") @InfiniteArguments @RoyaleOnly public void setCompilerFontsManagers(ConfigurationValue cv, List<String> list) { // intentionally do nothing here as feature removed, but don't annotate as removed // as to not generate warnings for royale-config's which still set this options }
@Config @Mapping({ "compiler", "fonts", "local-font-paths" }) @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments @RoyaleOnly public void setCompilerFontsLocalFontPaths(ConfigurationValue cv, List<String> list) throws CannotOpen { // intentionally do nothing here as feature removed, but don't annotate as removed // as to not generate warnings for royale-config's which still set this options }
@Config(advanced = true) @Mapping({ "compiler", "fonts", "managers" }) @Arguments("manager-class") @InfiniteArguments @RoyaleOnly public void setCompilerFontsManagers(ConfigurationValue cv, List<String> list) { // intentionally do nothing here as feature removed, but don't annotate as removed // as to not generate warnings for royale-config's which still set this options }
@Config(allowMultiple = true) @Mapping("named-module") @Arguments("module") @InfiniteArguments public void setNamedModules(ConfigurationValue cfgval, List<String> values) { for (String moduleName : values) { addNamedModule(moduleName); } } public void addNamedModule(String moduleName)
@Config(allowMultiple = true, isPath = true) @Mapping("typedefs") @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments public void setTypedef(ConfigurationValue cfgval, String[] vals) throws IOException, CannotOpen { for (String val : vals) addTypedef(resolvePathStrict(val, cfgval)); }
@Config(allowMultiple = true, isPath = true) @Mapping("typedefs") @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments public void setTypedef(ConfigurationValue cfgval, String[] vals) throws IOException, CannotOpen { for (String val : vals) addTypedef(resolvePathStrict(val, cfgval)); }