public class P2Utils extends Object
| Constructor and Description |
|---|
P2Utils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
createCategoryFile(org.apache.maven.project.MavenProject project,
ArrayList categories,
File categoryFile,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.artifact.resolver.ArtifactResolver resolver) |
static String |
getEquinoxLauncherJarLocation(File p2AgentDir) |
static File[] |
getEquinoxLogFiles(File equinoxLaunchLocation) |
static int |
getLastIndexOfProperties(File p2InfFile) |
static String |
getMatchRule(String matchStr) |
static ArrayList |
getProcessedP2LanucherFiles(ArrayList processedP2LauncherFiles,
EquinoxLauncher equinoxLauncher,
org.apache.maven.project.MavenProject project,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.artifact.resolver.ArtifactResolver resolver) |
static boolean |
isMatchString(String matchStr) |
static boolean |
isPatch(String matchStr) |
static void |
setupLauncherLocation(P2Profile p2Profile,
File p2LauncherDir,
File p2LauncherPluginDir,
EquinoxLauncher equinoxLauncher) |
public static void setupLauncherLocation(P2Profile p2Profile, File p2LauncherDir, File p2LauncherPluginDir, EquinoxLauncher equinoxLauncher) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic static ArrayList getProcessedP2LanucherFiles(ArrayList processedP2LauncherFiles, EquinoxLauncher equinoxLauncher, org.apache.maven.project.MavenProject project, org.apache.maven.artifact.factory.ArtifactFactory artifactFactory, List remoteRepositories, org.apache.maven.artifact.repository.ArtifactRepository localRepository, org.apache.maven.artifact.resolver.ArtifactResolver resolver) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionpublic static int getLastIndexOfProperties(File p2InfFile) throws IOException
IOExceptionpublic static String getEquinoxLauncherJarLocation(File p2AgentDir) throws Exception
Exceptionpublic static boolean isMatchString(String matchStr)
public static boolean isPatch(String matchStr)
public static void createCategoryFile(org.apache.maven.project.MavenProject project,
ArrayList categories,
File categoryFile,
org.apache.maven.artifact.factory.ArtifactFactory artifactFactory,
List remoteRepositories,
org.apache.maven.artifact.repository.ArtifactRepository localRepository,
org.apache.maven.artifact.resolver.ArtifactResolver resolver)
throws Exception
ExceptionCopyright © 2023 WSO2. All rights reserved.