public class PluginsEnvironmentBuilder
extends Object
Constructor and Description |
---|
PluginsEnvironmentBuilder(File dir) |
Modifier and Type | Method and Description |
---|---|
protected void |
addClasspathEntry(com.liferay.portal.kernel.util.StringBundler sb,
String jar) |
protected void |
addClasspathEntry(com.liferay.portal.kernel.util.StringBundler sb,
String jar,
Map<String,String> attributes) |
protected void |
addIvyCacheJar(com.liferay.portal.kernel.util.StringBundler sb,
String ivyDirName,
String dependencyName,
String version) |
protected void |
addIvyCacheJars(com.liferay.portal.kernel.util.StringBundler sb,
String content,
String ivyDirName) |
protected List<String> |
getCommonJars() |
protected List<String> |
getImportSharedJars(File projectDir) |
protected List<String> |
getPortalDependencyJars(Properties properties) |
protected List<String> |
getRequiredDeploymentContextsJars(File libDir,
Properties properties) |
protected boolean |
hasModulesGitIgnore(String dirName) |
static void |
main(String[] args) |
protected void |
setupJarProject(String dirName,
String fileName,
List<String> dependencyJars,
boolean sharedProject) |
protected void |
setupWarProject(String dirName,
String fileName) |
protected void |
writeClasspathFile(File libDir,
List<String> dependencyJars,
String projectDirName,
String projectName,
boolean javaProject) |
protected void |
writeEclipseFiles(File libDir,
File projectDir,
List<String> dependencyJars) |
protected void |
writeProjectFile(String projectDirName,
String projectName,
boolean javaProject) |
public PluginsEnvironmentBuilder(File dir) throws Exception
Exception
public static void main(String[] args) throws Exception
Exception
protected void addClasspathEntry(com.liferay.portal.kernel.util.StringBundler sb, String jar)
protected void addClasspathEntry(com.liferay.portal.kernel.util.StringBundler sb, String jar, Map<String,String> attributes)
protected void addIvyCacheJar(com.liferay.portal.kernel.util.StringBundler sb, String ivyDirName, String dependencyName, String version) throws Exception
Exception
protected void addIvyCacheJars(com.liferay.portal.kernel.util.StringBundler sb, String content, String ivyDirName) throws Exception
Exception
protected List<String> getCommonJars()
protected List<String> getImportSharedJars(File projectDir) throws Exception
Exception
protected List<String> getPortalDependencyJars(Properties properties)
protected List<String> getRequiredDeploymentContextsJars(File libDir, Properties properties) throws Exception
Exception
protected boolean hasModulesGitIgnore(String dirName)
protected void setupJarProject(String dirName, String fileName, List<String> dependencyJars, boolean sharedProject) throws Exception
Exception
protected void setupWarProject(String dirName, String fileName) throws Exception
Exception
protected void writeClasspathFile(File libDir, List<String> dependencyJars, String projectDirName, String projectName, boolean javaProject) throws Exception
Exception
protected void writeEclipseFiles(File libDir, File projectDir, List<String> dependencyJars) throws Exception
Exception
protected void writeProjectFile(String projectDirName, String projectName, boolean javaProject) throws Exception
Exception