/** * Adds a list of path elements to the existing source path list. * * @param paths an array of <code>java.io.File</code> (<code>File.isDirectory()</code> must return <code>true</code>). * @see #setSourcePath */ @Override public void addSourcePath(Collection<File> paths) { addFiles(COMPILER_SOURCE_PATH, paths); isConfigurationDirty = true; }
/** * Adds a list of CSS or SWC files to the existing list of theme files. * * @param files an array of <code>java.io.File</code> * @see #setTheme */ @Override public void addTheme(List<File> files) { addFiles(COMPILER_THEME, files); isConfigurationDirty = true; }
/** * Adds a list of files to the existing list of definitions to be omitted from linking. * * @see #setLoadExterns * @see #setExterns * @param files an array of <code>java.io.File</code>. */ public void addLoadExterns(Collection<File> files) { addFiles(LOAD_EXTERNS, files); isConfigurationDirty = true; }
/** * Adds a list of files to the existing list of definitions to be omitted from linking. * * @see #setLoadExterns * @see #setExterns * @param files an array of <code>java.io.File</code>. */ public void addLoadExterns(Collection<File> files) { addFiles(LOAD_EXTERNS, files); isConfigurationDirty = true; }
/** * Adds a list of path elements to the existing source path list. * * @param paths an array of <code>java.io.File</code> (<code>File.isDirectory()</code> must return <code>true</code>). * @see #setSourcePath */ @Override public void addSourcePath(Collection<File> paths) { addFiles(COMPILER_SOURCE_PATH, paths); isConfigurationDirty = true; }
/** * Adds a list of CSS or SWC files to the existing list of theme files. * * @param files an array of <code>java.io.File</code> * @see #setTheme */ @Override public void addTheme(List<File> files) { addFiles(COMPILER_THEME, files); isConfigurationDirty = true; }
/** * * @param key * @param files */ private void addFiles(String key, Collection<File> files) { addFiles(more, key, files); }
/** * * @param key * @param files */ private void addFiles(String key, Collection<File> files) { addFiles(more, key, files); }
/** * Adds a file to the existing list of configuration files. * * @see #setConfiguration(File) * @param file a configuration file */ public void addConfiguration(File file) { addFiles(LOAD_CONFIG, Collections.singleton(file)); isConfigurationDirty = true; }
/** * Adds a file to the existing list of configuration files. * * @see #setConfiguration(File) * @param file a configuration file */ public void addConfiguration(File file) { addFiles(LOAD_CONFIG, Collections.singleton(file)); isConfigurationDirty = true; }
/** * Adds a list of SWC files or directories to the default library path. * * @param paths an array of <code>File</code>. <code>File.isDirectory()</code> should return <code>true</code> or instances must represent SWC files. * @see #setLibraryPath */ public void addLibraryPath(Collection<File> paths) { removeNativeJSLibrariesIfNeeded(paths); addFiles(COMPILER_LIBRARY_PATH, paths); isConfigurationDirty = true; }
/** * Adds a list of SWC files or directories to the default library path. * * @param paths an array of <code>File</code>. <code>File.isDirectory()</code> should return <code>true</code> or instances must represent SWC files. * @see #setLibraryPath */ public void addLibraryPath(Collection<File> paths) { removeNativeJSLibrariesIfNeeded(paths); addFiles(COMPILER_LIBRARY_PATH, paths); isConfigurationDirty = true; }
/** * Adds to the existing list of SWC files. * * @see #setExternalLibraryPath * @param paths <code>File.isDirectory()</code> should return <code>true</code> or <code>File</code> instances should represent SWC files. */ @Override public void addExternalLibraryPath(Collection<File> paths) { removeNativeJSLibrariesIfNeeded(paths); addFiles(COMPILER_EXTERNAL_LIBRARY_PATH, paths); isConfigurationDirty = true; }
/** * Adds to the existing list of SWC files. * * @see #setExternalLibraryPath * @param paths <code>File.isDirectory()</code> should return <code>true</code> or <code>File</code> instances should represent SWC files. */ @Override public void addExternalLibraryPath(Collection<File> paths) { removeNativeJSLibrariesIfNeeded(paths); addFiles(COMPILER_EXTERNAL_LIBRARY_PATH, paths); isConfigurationDirty = true; }