Package org.wso2.maven.p2.generate.utils
Class P2Utils
java.lang.Object
org.wso2.maven.p2.generate.utils.P2Utils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateCategoryFile(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 StringgetEquinoxLauncherJarLocation(File p2AgentDir) static File[]getEquinoxLogFiles(File equinoxLaunchLocation) static intgetLastIndexOfProperties(File p2InfFile) static StringgetMatchRule(String matchStr) static ArrayListgetProcessedP2LanucherFiles(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 booleanisMatchString(String matchStr) static booleanstatic voidsetupLauncherLocation(P2Profile p2Profile, File p2LauncherDir, File p2LauncherPluginDir, EquinoxLauncher equinoxLauncher)
-
Constructor Details
-
P2Utils
public P2Utils()
-
-
Method Details
-
setupLauncherLocation
public static void setupLauncherLocation(P2Profile p2Profile, File p2LauncherDir, File p2LauncherPluginDir, EquinoxLauncher equinoxLauncher) throws org.apache.maven.plugin.MojoExecutionException - Throws:
org.apache.maven.plugin.MojoExecutionException
-
getProcessedP2LanucherFiles
public 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 - Throws:
org.apache.maven.plugin.MojoExecutionException
-
getEquinoxLogFiles
-
getLastIndexOfProperties
- Throws:
IOException
-
getEquinoxLauncherJarLocation
- Throws:
Exception
-
isMatchString
-
getMatchRule
-
isPatch
-
createCategoryFile
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 - Throws:
Exception
-