/** * @return the externalLibraryPath */ @Override public Collection<File> getExternalLibraryPath() { if (externalLibraryPath == null) externalLibraryPath = Configurator.toFileList(configuration.getCompilerExternalLibraryPath()); return externalLibraryPath; }
/** * List of external libraries so it can be overridden */ public List<String> getCompilerExternalLibraryPath(Configuration config) { List<String> list = config.getCompilerSwfExternalLibraryPath(); if (list != null && list.size() > 0) return list; return config.getCompilerExternalLibraryPath(); }
/** * List of external libraries so it can be overridden */ public List<String> getCompilerExternalLibraryPath(Configuration config) { List<String> list = config.getCompilerSwfExternalLibraryPath(); if (list != null && list.size() > 0) return list; return config.getCompilerExternalLibraryPath(); }
/** * @return the externalLibraryPath */ @Override public Collection<File> getExternalLibraryPath() { if (externalLibraryPath == null) externalLibraryPath = Configurator.toFileList(configuration.getCompilerExternalLibraryPath()); return externalLibraryPath; }
/** * List of external libraries so it can be overridden */ public List<String> getCompilerExternalLibraryPath(Configuration config) { List<String> list = ((JSConfiguration)config).getCompilerJsExternalLibraryPath(); if (list != null && list.size() > 0) return list; return config.getCompilerExternalLibraryPath(); }
/** * @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; } }
CompilerConfiguration cc = acc.getCompilerConfiguration(); List<String> externalLibraries = config.getCompilerExternalLibraryPath(); String[] extlibs = new String[externalLibraries.size()]; externalLibraries.toArray(extlibs);
CompilerConfiguration cc = acc.getCompilerConfiguration(); cc.setAccessible(config.getCompilerAccessible()); List<String> externalLibraries = config.getCompilerExternalLibraryPath(); String[] extlibs = new String[externalLibraries.size()]; externalLibraries.toArray(extlibs);