ProcessFilesForPackages.java revision 6521
6521N/A * The contents of this file are subject to the terms of the 6521N/A * Common Development and Distribution License, Version 1.0 only 6521N/A * (the "License"). You may not use this file except in compliance 6521N/A * See the License for the specific language governing permissions 6521N/A * and limitations under the License. 6521N/A * When distributing Covered Code, include this CDDL HEADER in each 6521N/A * If applicable, add the following below this CDDL HEADER, with the 6521N/A * fields enclosed by brackets "[]" replaced with your own identifying 6521N/A * Portions Copyright [yyyy] [name of copyright owner] 6521N/A * Copyright 2013 ForgeRock AS 6521N/A * A utility class for the packaging process. It is used by the build.xml to 6521N/A * perform the package construction. 6521N/A /** The source directory name */ 6521N/A /** Files contained in the package */ 6521N/A /** Files which should be excluded from the package */ 6521N/A /** Package documentation files */ 6521N/A /** The end-of-line character for this platform */ 6521N/A * Returns the source directory name. 6521N/A * @return The source directory name. 6521N/A * Sets the source directory name. 6521N/A * The source directory name. 6521N/A // Process the filtering of the files contained in the given directory. 6521N/A // Returns the properties which can be used fill data. 6521N/A "An error occurs during filtering package files", e);
6521N/A * Formats the file list to be supported by RPM. 6521N/A * The list of files to be processed. 6521N/A * @return A string containing the list of files which should be excluded in 6521N/A * Formats the file list to be supported by RPM. 6521N/A * The list of files to be processed. 6521N/A * @return A string containing the list of files which can be included in the 6521N/A * Formats the document list to be supported by RPM. 6521N/A * The list of files to be processed. 6521N/A * @return A string containing the formatted list doc. 6521N/A // FIXME If directory is mentioned, files are duplicated in doc directory 6521N/A * Sorts all the files contained in selected directory and fills the 6521N/A * The directory where to analyze the files. 6521N/A * If an exception occurs during the process. 6521N/A // Completes the excluded files list. 6521N/A // Completes the document file list. 6521N/A * Returns the relative path to given source directory name. 6521N/A * The file we want the relative path. 6521N/A * @return A string representing the relative path to the given source 6521N/A * A file filter which excludes all files that belong to other OS. 6521N/A * A file filter which accepts only documentation files.