| java.lang.Object org.eclipse.pde.build.internal.tests.Utils
Utils | public class Utils (Code) | | |
Method Summary | |
public static IFolder | createFolder(IFolder parent, String path) Creates a IFolder resources. | public static File | findDeltaPack() | public static void | generateAllElements(IFolder buildFolder, String element) | public static void | generateBundle(IFolder folder, String bundleId) | public static void | generateBundleManifest(IFolder folder, String bundleId, String bundleVersion, Attributes additionalAttributes) | public static void | generateFeature(IFolder workingDirectory, String id, String[] featureList, String[] pluginList) | public static void | generateFeature(IFolder workingDirectory, String id, String[] featureList, String[] pluginList, String product, boolean includeLaunchers, boolean verify) | public static void | generatePluginBuildProperties(IFolder folder, Properties properties) | public static void | storeBuildProperties(IFolder buildFolder, Properties buildProperties) | public static void | transferAndReplace(URL resource, IFile destination, Map replacements) Transfer the contents of resource into the destination IFile. |
createFolder | public static IFolder createFolder(IFolder parent, String path) throws CoreException(Code) | | Creates a IFolder resources. Will create any folders necessary under parent
|
findDeltaPack | public static File findDeltaPack()(Code) | | |
generateAllElements | public static void generateAllElements(IFolder buildFolder, String element) throws CoreException, IOException(Code) | | |
generateBundle | public static void generateBundle(IFolder folder, String bundleId) throws CoreException, IOException(Code) | | |
generateFeature | public static void generateFeature(IFolder workingDirectory, String id, String[] featureList, String[] pluginList) throws CoreException(Code) | | |
generateFeature | public static void generateFeature(IFolder workingDirectory, String id, String[] featureList, String[] pluginList, String product, boolean includeLaunchers, boolean verify) throws CoreException(Code) | | |
transferAndReplace | public static void transferAndReplace(URL resource, IFile destination, Map replacements) throws IOException, CoreException(Code) | | Transfer the contents of resource into the destination IFile. During the transfer, replace all
instances of "@replaceTag@" with "replaceString"
Parameters: resource - - input URL Parameters: destination - - IFile destination Parameters: replacements - - map of tokens and values to replaces, file should contain "@replaceTag@" throws: IOException - throws: CoreException - |
|
|