|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.grails.plugins.publishing.PluginPackager
class PluginPackager extends java.lang.Object
Packages a plugin in source or binary form.
Field Summary | |
---|---|
static java.lang.Object |
EXCLUDED_RESOURCES
|
static java.lang.Object |
INCLUDED_RESOURCES
|
Property Summary | |
---|---|
boolean |
hasApplicationDependencies
|
java.util.List |
jarFiles
|
Constructor Summary | |
PluginPackager(BuildSettings buildSettings, java.lang.Object pluginInfo, org.springframework.core.io.Resource[] resourceList, java.io.File projectWorkDir)
|
Method Summary | |
---|---|
protected java.lang.Object
|
generateDependencyDescriptor()
" exclude name:"* |
java.lang.Object
|
generatePluginXml(java.io.File descriptor)
Generates the plugin.xml file for the plugin descriptor |
groovy.util.AntBuilder
|
getAnt()
|
java.io.File
|
getBasedir()
|
java.io.File
|
getResourcesDir()
|
java.lang.String
|
packageBinary(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir)
|
java.lang.Object
|
packagePlugin(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir)
|
java.lang.String
|
packageSource(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir)
|
void
|
setAnt(groovy.util.AntBuilder ant)
|
void
|
setResourcesDir(java.io.File resourcesDir)
|
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Field Detail |
---|
public static final java.lang.Object EXCLUDED_RESOURCES
public static final java.lang.Object INCLUDED_RESOURCES
Property Detail |
---|
boolean hasApplicationDependencies
java.util.List jarFiles
Constructor Detail |
---|
PluginPackager(BuildSettings buildSettings, java.lang.Object pluginInfo, org.springframework.core.io.Resource[] resourceList, java.io.File projectWorkDir)
Method Detail |
---|
protected java.lang.Object generateDependencyDescriptor()
java.lang.Object generatePluginXml(java.io.File descriptor)
descriptor
- The descriptor
groovy.util.AntBuilder getAnt()
java.io.File getBasedir()
java.io.File getResourcesDir()
java.lang.String packageBinary(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir)
java.lang.Object packagePlugin(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir)
java.lang.String packageSource(java.lang.String pluginName, java.io.File classesDir, java.io.File targetDir)
void setAnt(groovy.util.AntBuilder ant)
void setResourcesDir(java.io.File resourcesDir)
Groovy Documentation