/** * @return the includeLibraries */ @Override public Collection<File> getIncludeLibraries() { if (includeLibraries == null) includeLibraries = Configurator.toFileList(configuration.getCompilerIncludeLibraries()); return includeLibraries; }
/** * @return the themes */ @Override public List<File> getThemes() { if (themes == null) themes = Configurator.toFileList(configuration.getCompilerThemeFiles()); return themes; }
/** * @return the externalLibraryPath */ @Override public Collection<File> getExternalLibraryPath() { if (externalLibraryPath == null) externalLibraryPath = Configurator.toFileList(configuration.getCompilerExternalLibraryPath()); return externalLibraryPath; }
/** * @return the externalLibraryPath */ @Override public Collection<File> getExternalLibraryPath() { if (externalLibraryPath == null) externalLibraryPath = Configurator.toFileList(configuration.getCompilerExternalLibraryPath()); return externalLibraryPath; }
/** * @return the includeLibraries */ @Override public Collection<File> getIncludeLibraries() { if (includeLibraries == null) includeLibraries = Configurator.toFileList(configuration.getCompilerIncludeLibraries()); return includeLibraries; }
/** * @return the themes */ @Override public List<File> getThemes() { if (themes == null) themes = Configurator.toFileList(configuration.getCompilerThemeFiles()); return themes; }
/** * @return the includeFiles */ @Override public Collection<File> getIncludeSources() { if (includeSources == null) { includeSources = new HashSet<File>(); List<File> files = Configurator.toFileList(configuration.getIncludeSources()); for (File file : files) { if (file.isFile()) { includeSources.add(file); continue; } else if (file.isDirectory()) { for (File fileInFolder : FileUtils.listFiles(file, new String[] {"as", "mxml"}, true)) includeSources.add(fileInFolder); } } } return includeSources; }
/** * @return the includeFiles */ @Override public Collection<File> getIncludeSources() { if (includeSources == null) { includeSources = new HashSet<File>(); List<File> files = Configurator.toFileList(configuration.getIncludeSources()); for (File file : files) { if (file.isFile()) { includeSources.add(file); continue; } else if (file.isDirectory()) { for (File fileInFolder : FileUtils.listFiles(file, new String[] {"as", "mxml"}, true)) includeSources.add(fileInFolder); } } } return includeSources; }
/** * @return the externalLibraryPath */ @Override public Collection<File> getExternalLibraryPath() { if (externalLibraryPath == null) { List<File> files = Configurator.toFileList(project != null ? ((IRoyaleProject)project).getCompilerExternalLibraryPath(configuration) : configuration.getCompilerExternalLibraryPath()); Set<File> expandedFiles = LibraryPathManager.discoverSWCFilePathsAsFiles(files.toArray(new File[files.size()])); externalLibraryPath = new ArrayList<File>(expandedFiles.size()); for (File swcFile : expandedFiles) externalLibraryPath.add(swcFile); } return externalLibraryPath; }
/** * @return the externalLibraryPath */ @Override public Collection<File> getExternalLibraryPath() { if (externalLibraryPath == null) { List<File> files = Configurator.toFileList(project != null ? ((IRoyaleProject)project).getCompilerExternalLibraryPath(configuration) : configuration.getCompilerExternalLibraryPath()); Set<File> expandedFiles = LibraryPathManager.discoverSWCFilePathsAsFiles(files.toArray(new File[files.size()])); externalLibraryPath = new ArrayList<File>(expandedFiles.size()); for (File swcFile : expandedFiles) externalLibraryPath.add(swcFile); } return externalLibraryPath; } }