@Config @Mapping({"dependency", "show-types"}) @SoftPrerequisites("show-external-classes") public void setShowTypes(ConfigurationValue cv, boolean showTypes) throws ConfigurationException { this.showTypes = showTypes; // if showTypes is set, then turn on show-external-classes show the types will be seen. if (showTypes) showExterns = true; }
info.softPrerequisites = softPre.value();
info.softPrerequisites = softPre.value();
@Config @Mapping({"dependency", "show-types"}) @SoftPrerequisites("show-external-classes") public void setShowTypes(ConfigurationValue cv, boolean showTypes) throws ConfigurationException { this.showTypes = showTypes; // if showTypes is set, then turn on show-external-classes show the types will be seen. if (showTypes) showExterns = true; }
@Config(allowMultiple = true) @Arguments(Arguments.PATH_ELEMENT) @SoftPrerequisites("locale") public void setCompilerSourcePath(ConfigurationValue cv, String[] paths) throws ConfigurationException { final List<String> pathList = Arrays.asList(paths); unexpandedSourcePath.addAll(pathList); final ImmutableList<String> resolvedSourcePaths = expandTokens(pathList, locales, cv); assertThatAllPathsAreDirectories(resolvedSourcePaths, cv); sourcePath.addAll(resolvedSourcePaths); sourcePathContext = cv; }
@Config(allowMultiple = true) @Arguments(Arguments.PATH_ELEMENT) @SoftPrerequisites("locale") public void setCompilerSourcePath(ConfigurationValue cv, String[] paths) throws ConfigurationException { final List<String> pathList = Arrays.asList(paths); unexpandedSourcePath.addAll(pathList); final ImmutableList<String> resolvedSourcePaths = expandTokens(pathList, locales, cv); assertThatAllPathsAreDirectories(resolvedSourcePaths, cv); sourcePath.addAll(resolvedSourcePaths); sourcePathContext = cv; }
@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); }
@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); }
/** * Links SWC files to the resulting application SWF file. The compiler only links in those classes for the SWC file * that are required. You can specify a directory or individual SWC files. */ @Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "js-library-path" }) @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments @SoftPrerequisites({ "locale", "target-player", "exclude-native-js-libraries" }) public void setCompilerJsLibraryPath(ConfigurationValue cv, String[] pathlist) throws CannotOpen { final ImmutableList<String> resolvedPaths = expandTokens(Arrays.asList(pathlist), locales, cv, !reportMissingCompilerLibraries); jslibraryPath.addAll(resolvedPaths); }
/** * Links SWC files to the resulting application SWF file. The compiler only links in those classes for the SWC file * that are required. You can specify a directory or individual SWC files. */ @Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "library-path" }) @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments @SoftPrerequisites({ "locale", "target-player", "exclude-native-js-libraries" }) public void setCompilerLibraryPath(ConfigurationValue cv, String[] pathlist) throws CannotOpen { pathlist = removeNativeJSLibrariesIfNeeded(pathlist); final ImmutableList<String> resolvedPaths = expandTokens(Arrays.asList(pathlist), locales, cv, !reportMissingCompilerLibraries); libraryPath.addAll(resolvedPaths); }
/** * Links SWC files to the resulting application SWF file. The compiler only links in those classes for the SWC file * that are required. You can specify a directory or individual SWC files. */ @Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "swf-library-path" }) @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments @SoftPrerequisites({ "locale", "target-player", "exclude-native-js-libraries" }) public void setCompilerSwfLibraryPath(ConfigurationValue cv, String[] pathlist) throws CannotOpen { pathlist = removeNativeJSLibrariesIfNeeded(pathlist); final ImmutableList<String> resolvedPaths = expandTokens(Arrays.asList(pathlist), locales, cv, !reportMissingCompilerLibraries); swfLibraryPath.addAll(resolvedPaths); }
/** * Links SWC files to the resulting application SWF file. The compiler only links in those classes for the SWC file * that are required. You can specify a directory or individual SWC files. */ @Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "library-path" }) @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments @SoftPrerequisites({ "locale", "target-player", "exclude-native-js-libraries" }) public void setCompilerLibraryPath(ConfigurationValue cv, String[] pathlist) throws CannotOpen { pathlist = removeNativeJSLibrariesIfNeeded(pathlist); final ImmutableList<String> resolvedPaths = expandTokens(Arrays.asList(pathlist), locales, cv, !reportMissingCompilerLibraries); libraryPath.addAll(resolvedPaths); }
/** * Links SWC files to the resulting application SWF file. The compiler only links in those classes for the SWC file * that are required. You can specify a directory or individual SWC files. */ @Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "swf-library-path" }) @Arguments(Arguments.PATH_ELEMENT) @InfiniteArguments @SoftPrerequisites({ "locale", "target-player", "exclude-native-js-libraries" }) public void setCompilerSwfLibraryPath(ConfigurationValue cv, String[] pathlist) throws CannotOpen { pathlist = removeNativeJSLibrariesIfNeeded(pathlist); final ImmutableList<String> resolvedPaths = expandTokens(Arrays.asList(pathlist), locales, cv, !reportMissingCompilerLibraries); swfLibraryPath.addAll(resolvedPaths); }
/** * COMPC ignores RSL settings. */ @Override @Config(allowMultiple = true) @Mapping({"runtime-shared-library-path"}) @SoftPrerequisites({"static-link-runtime-shared-libraries"}) @ArgumentNameGenerator(RSLArgumentNameGenerator.class) @InfiniteArguments public void setRuntimeSharedLibraryPath( ConfigurationValue cfgval, List<String> urls) throws ConfigurationException { } }
/** * COMPC ignores RSL settings. */ @Override @Config(allowMultiple = true) @Mapping({"runtime-shared-library-path"}) @SoftPrerequisites({"static-link-runtime-shared-libraries"}) @ArgumentNameGenerator(RSLArgumentNameGenerator.class) @InfiniteArguments public void setRuntimeSharedLibraryPath( ConfigurationValue cfgval, List<String> urls) throws ConfigurationException { } }
@Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "external-library-path" }) @Arguments(Arguments.PATH_ELEMENT) @SoftPrerequisites({ "target-player", "exclude-native-js-libraries" }) @InfiniteArguments public void setCompilerExternalLibraryPath(ConfigurationValue cv, String[] pathlist) throws ConfigurationException { pathlist = removeNativeJSLibrariesIfNeeded(pathlist); final ImmutableList<String> pathElements = ImmutableList.copyOf(pathlist); final ImmutableList<String> resolvedPaths = expandTokens(pathElements, locales, cv, !reportMissingCompilerLibraries); externalLibraryPath.addAll(resolvedPaths); // TODO: Review usages of "compilingForAIR", because only looking at path elements // on library path isn't enough. There might be a folder on the library path that // contains AIR libraries. compilingForAIR = containsAIRLibraries(pathElements); }
@Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "swf-external-library-path" }) @Arguments(Arguments.PATH_ELEMENT) @SoftPrerequisites({ "target-player", "exclude-native-js-libraries" }) @InfiniteArguments public void setCompilerSwfExternalLibraryPath(ConfigurationValue cv, String[] pathlist) throws ConfigurationException { pathlist = removeNativeJSLibrariesIfNeeded(pathlist); final ImmutableList<String> pathElements = ImmutableList.copyOf(pathlist); final ImmutableList<String> resolvedPaths = expandTokens(pathElements, locales, cv, !reportMissingCompilerLibraries); swfExternalLibraryPath.addAll(resolvedPaths); // TODO: Review usages of "compilingForAIR", because only looking at path elements // on library path isn't enough. There might be a folder on the library path that // contains AIR libraries. compilingForAIR = containsAIRLibraries(pathElements); }
@Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "external-library-path" }) @Arguments(Arguments.PATH_ELEMENT) @SoftPrerequisites({ "target-player", "exclude-native-js-libraries" }) @InfiniteArguments public void setCompilerExternalLibraryPath(ConfigurationValue cv, String[] pathlist) throws ConfigurationException { pathlist = removeNativeJSLibrariesIfNeeded(pathlist); final ImmutableList<String> pathElements = ImmutableList.copyOf(pathlist); final ImmutableList<String> resolvedPaths = expandTokens(pathElements, locales, cv, !reportMissingCompilerLibraries); externalLibraryPath.addAll(resolvedPaths); // TODO: Review usages of "compilingForAIR", because only looking at path elements // on library path isn't enough. There might be a folder on the library path that // contains AIR libraries. compilingForAIR = containsAIRLibraries(pathElements); }
@Config(allowMultiple = true, isPath = true) @Mapping({ "compiler", "swf-external-library-path" }) @Arguments(Arguments.PATH_ELEMENT) @SoftPrerequisites({ "target-player", "exclude-native-js-libraries" }) @InfiniteArguments public void setCompilerSwfExternalLibraryPath(ConfigurationValue cv, String[] pathlist) throws ConfigurationException { pathlist = removeNativeJSLibrariesIfNeeded(pathlist); final ImmutableList<String> pathElements = ImmutableList.copyOf(pathlist); final ImmutableList<String> resolvedPaths = expandTokens(pathElements, locales, cv, !reportMissingCompilerLibraries); swfExternalLibraryPath.addAll(resolvedPaths); // TODO: Review usages of "compilingForAIR", because only looking at path elements // on library path isn't enough. There might be a folder on the library path that // contains AIR libraries. compilingForAIR = containsAIRLibraries(pathElements); }
@SoftPrerequisites({ "static-link-runtime-shared-libraries" }) @ArgumentNameGenerator(RSLArgumentNameGenerator.class) @InfiniteArguments