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