Liferay 6.1.10-ee-ga1

com.liferay.portal.tools
Class PluginsEnvironmentBuilder

java.lang.Object
  extended by com.liferay.portal.tools.PluginsEnvironmentBuilder

public class PluginsEnvironmentBuilder
extends Object


Constructor Summary
PluginsEnvironmentBuilder(File dir)
           
 
Method Summary
protected  void addClasspathEntry(StringBundler sb, String jar)
           
protected  void addClasspathEntry(StringBundler sb, String jar, Map<String,String> attributes)
           
static void main(String[] args)
           
protected  void setupProject(String dirName, String fileName)
           
protected  void writeClasspathFile(File libDir, String[] dependencyJars, String projectDirName, String projectName, boolean javaProject)
           
protected  void writeEclipseFiles(File libDir, File projectDir, String[] dependencyJars)
           
protected  void writeProjectFile(String projectDirName, String projectName, boolean javaProject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginsEnvironmentBuilder

public PluginsEnvironmentBuilder(File dir)
                          throws Exception
Throws:
Exception
Method Detail

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception

addClasspathEntry

protected void addClasspathEntry(StringBundler sb,
                                 String jar)

addClasspathEntry

protected void addClasspathEntry(StringBundler sb,
                                 String jar,
                                 Map<String,String> attributes)

setupProject

protected void setupProject(String dirName,
                            String fileName)
                     throws Exception
Throws:
Exception

writeClasspathFile

protected void writeClasspathFile(File libDir,
                                  String[] dependencyJars,
                                  String projectDirName,
                                  String projectName,
                                  boolean javaProject)
                           throws Exception
Throws:
Exception

writeEclipseFiles

protected void writeEclipseFiles(File libDir,
                                 File projectDir,
                                 String[] dependencyJars)
                          throws Exception
Throws:
Exception

writeProjectFile

protected void writeProjectFile(String projectDirName,
                                String projectName,
                                boolean javaProject)
                         throws Exception
Throws:
Exception

Liferay 6.1.10-ee-ga1