grails.util
Class BuildSettings
java.lang.Object
grails.util.BuildSettings
- All Implemented Interfaces:
- groovy.lang.GroovyObject
public class BuildSettings
- extends Object
- implements groovy.lang.GroovyObject
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APP_BASE_DIR
public static String APP_BASE_DIR
WORK_DIR
public static String WORK_DIR
PROJECT_WORK_DIR
public static String PROJECT_WORK_DIR
PROJECT_WAR_EXPLODED_DIR
public static String PROJECT_WAR_EXPLODED_DIR
PLUGINS_DIR
public static String PLUGINS_DIR
GLOBAL_PLUGINS_DIR
public static String GLOBAL_PLUGINS_DIR
PROJECT_RESOURCES_DIR
public static String PROJECT_RESOURCES_DIR
PROJECT_SOURCE_DIR
public static String PROJECT_SOURCE_DIR
PROJECT_WEB_XML_FILE
public static String PROJECT_WEB_XML_FILE
PROJECT_CLASSES_DIR
public static String PROJECT_CLASSES_DIR
PROJECT_TEST_CLASSES_DIR
public static String PROJECT_TEST_CLASSES_DIR
PROJECT_TEST_REPORTS_DIR
public static String PROJECT_TEST_REPORTS_DIR
PROJECT_TEST_SOURCE_DIR
public static String PROJECT_TEST_SOURCE_DIR
PROJECT_TARGET_DIR
public static String PROJECT_TARGET_DIR
PROJECT_WAR_FILE
public static String PROJECT_WAR_FILE
PROJECT_WAR_OSGI_HEADERS
public static String PROJECT_WAR_OSGI_HEADERS
BUILD_LISTENERS
public static String BUILD_LISTENERS
VERBOSE_COMPILE
public static String VERBOSE_COMPILE
FUNCTIONAL_BASE_URL_PROPERTY
public static String FUNCTIONAL_BASE_URL_PROPERTY
settingsFileLoaded
protected boolean settingsFileLoaded
BuildSettings
public BuildSettings()
BuildSettings
public BuildSettings(File grailsHome)
BuildSettings
public BuildSettings(File grailsHome,
File baseDir)
getJAR_PATTERN
public static Pattern getJAR_PATTERN()
getUserHome
public File getUserHome()
setUserHome
public void setUserHome(File value)
getGrailsHome
public File getGrailsHome()
setGrailsHome
public void setGrailsHome(File value)
getGrailsVersion
public String getGrailsVersion()
setGrailsVersion
public void setGrailsVersion(String value)
getGrailsEnv
public String getGrailsEnv()
setGrailsEnv
public void setGrailsEnv(String value)
getDefaultEnv
public boolean getDefaultEnv()
isDefaultEnv
public boolean isDefaultEnv()
setDefaultEnv
public void setDefaultEnv(boolean value)
getDependenciesExternallyConfigured
public boolean getDependenciesExternallyConfigured()
isDependenciesExternallyConfigured
public boolean isDependenciesExternallyConfigured()
setDependenciesExternallyConfigured
public void setDependenciesExternallyConfigured(boolean value)
getRootLoader
public URLClassLoader getRootLoader()
setRootLoader
public void setRootLoader(URLClassLoader value)
getConfig
public groovy.util.ConfigObject getConfig()
setConfig
public void setConfig(groovy.util.ConfigObject value)
getProxySettings
public groovy.util.ConfigObject getProxySettings()
setProxySettings
public void setProxySettings(groovy.util.ConfigObject value)
getProxySettingsFile
public File getProxySettingsFile()
setProxySettingsFile
public void setProxySettingsFile(File value)
getGrailsScriptClosure
public groovy.lang.Closure getGrailsScriptClosure()
setGrailsScriptClosure
public void setGrailsScriptClosure(groovy.lang.Closure value)
getDefaultPluginSet
public Set getDefaultPluginSet()
setDefaultPluginSet
public void setDefaultPluginSet(Set value)
getDefaultPluginMap
public Map getDefaultPluginMap()
setDefaultPluginMap
public void setDefaultPluginMap(Map value)
getApplicationJars
public List getApplicationJars()
setApplicationJars
public void setApplicationJars(List value)
getVerboseCompile
public boolean getVerboseCompile()
isVerboseCompile
public boolean isVerboseCompile()
getDefaultCompileDependencies
public List<File> getDefaultCompileDependencies()
setDefaultCompileDependencies
public void setDefaultCompileDependencies(List<File> value)
getDefaultTestDependencies
public List<File> getDefaultTestDependencies()
setDefaultTestDependencies
public void setDefaultTestDependencies(List<File> value)
getDefaultRuntimeDependencies
public List<File> getDefaultRuntimeDependencies()
setDefaultRuntimeDependencies
public void setDefaultRuntimeDependencies(List<File> value)
getProvidedDependencies
public List<File> getProvidedDependencies()
setProvidedDependencies
public void setProvidedDependencies(List<File> value)
getBuildDependencies
public List<File> getBuildDependencies()
setBuildDependencies
public void setBuildDependencies(List<File> value)
getDependencyManager
public IvyDependencyManager getDependencyManager()
setDependencyManager
public void setDependencyManager(IvyDependencyManager value)
getCompileDependencies
public List<File> getCompileDependencies()
setCompileDependencies
public void setCompileDependencies(List<File> deps)
getTestDependencies
public List<File> getTestDependencies()
setTestDependencies
public void setTestDependencies(List<File> deps)
getRuntimeDependencies
public List<File> getRuntimeDependencies()
setRuntimeDependencies
public void setRuntimeDependencies(List<File> deps)
getBaseDir
public File getBaseDir()
setBaseDir
public void setBaseDir(File newBaseDir)
getGrailsWorkDir
public File getGrailsWorkDir()
setGrailsWorkDir
public void setGrailsWorkDir(File dir)
getProjectWorkDir
public File getProjectWorkDir()
setProjectWorkDir
public void setProjectWorkDir(File dir)
getProjectTargetDir
public File getProjectTargetDir()
setProjectTargetDir
public void setProjectTargetDir(File dir)
getProjectWarFile
public File getProjectWarFile()
setProjectWarFile
public void setProjectWarFile(File file)
getProjectWarExplodedDir
public File getProjectWarExplodedDir()
setProjectWarExplodedDir
public void setProjectWarExplodedDir(File dir)
getProjectWarOsgiHeaders
public boolean getProjectWarOsgiHeaders()
setProjectWarOsgiHeaders
public void setProjectWarOsgiHeaders(boolean flag)
getClassesDir
public File getClassesDir()
setClassesDir
public void setClassesDir(File dir)
getTestClassesDir
public File getTestClassesDir()
setTestClassesDir
public void setTestClassesDir(File dir)
getResourcesDir
public File getResourcesDir()
setResourcesDir
public void setResourcesDir(File dir)
getSourceDir
public File getSourceDir()
setSourceDir
public void setSourceDir(File dir)
getProjectPluginsDir
public File getProjectPluginsDir()
setProjectPluginsDir
public void setProjectPluginsDir(File dir)
getGlobalPluginsDir
public File getGlobalPluginsDir()
setGlobalPluginsDir
public void setGlobalPluginsDir(File dir)
getTestReportsDir
public File getTestReportsDir()
setTestReportsDir
public void setTestReportsDir(File dir)
getTestSourceDir
public File getTestSourceDir()
setTestSourceDir
public void setTestSourceDir(File dir)
setBuildListeners
public void setBuildListeners(Object buildListeners)
getBuildListeners
public Object[] getBuildListeners()
setVerboseCompile
public void setVerboseCompile(boolean flag)
loadConfig
public groovy.util.ConfigObject loadConfig()
loadConfig
public groovy.util.ConfigObject loadConfig(File configFile)
loadConfig
public groovy.util.ConfigObject loadConfig(groovy.util.ConfigObject config)
postLoadConfig
protected void postLoadConfig()
loadSettingsFile
protected groovy.util.ConfigObject loadSettingsFile()
obtainGroovyClassLoader
public groovy.lang.GroovyClassLoader obtainGroovyClassLoader()
configureDependencyManager
public Object configureDependencyManager(groovy.util.ConfigObject config)
pluginDependencyHandler
public groovy.lang.Closure pluginDependencyHandler()
createConfigSlurper
public groovy.util.ConfigSlurper createConfigSlurper()
parseGrailsBuildListeners
protected void parseGrailsBuildListeners()
getWebXmlLocation
public File getWebXmlLocation()
setWebXmlLocation
public void setWebXmlLocation(File location)
getFunctionalTestBaseUrl
public String getFunctionalTestBaseUrl()
$getStaticMetaClass
protected groovy.lang.MetaClass $getStaticMetaClass()
getMetaClass
public groovy.lang.MetaClass getMetaClass()
- Specified by:
getMetaClass
in interface groovy.lang.GroovyObject
setMetaClass
public void setMetaClass(groovy.lang.MetaClass mc)
- Specified by:
setMetaClass
in interface groovy.lang.GroovyObject
invokeMethod
public Object invokeMethod(String method,
Object arguments)
- Specified by:
invokeMethod
in interface groovy.lang.GroovyObject
getProperty
public Object getProperty(String property)
- Specified by:
getProperty
in interface groovy.lang.GroovyObject
setProperty
public void setProperty(String property,
Object value)
- Specified by:
setProperty
in interface groovy.lang.GroovyObject
Copyright (c) 2005-2009 The Grails project