|
Gant 1.9.6 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgant.tools.Subdirectories
final class Subdirectories extends java.lang.Object
Provides methods for executing processes in all subdirectories of the working directory.
Constructor Summary | |
Subdirectories(GantBinding binding)
Constructor for the "includeTool <<" usage. |
|
Subdirectories(GantBinding binding, java.util.Map map)
Constructor for the "includeTool **" usage. |
Method Summary | |
---|---|
void
|
forAllSubdirectoriesAnt(java.lang.String target)
Execute an Ant target in all the subdirectories of this one. |
void
|
forAllSubdirectoriesGant(java.lang.String target)
Execute a Gant target in all the subdirectories of this one. |
void
|
forAllSubdirectoriesRun(java.lang.String command)
Run a shell command in all the subdirectories of this one. |
void
|
runSubprocess(java.lang.String command, java.io.File directory)
Run a shell command in a named directory. |
Methods inherited from class java.lang.Object | |
---|---|
java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#wait(), 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() |
Constructor Detail |
---|
Subdirectories(GantBinding binding)
binding
- The GantBinding
to bind to.
Subdirectories(GantBinding binding, java.util.Map map)
Map
entry provides a
filename or a list of filenames of Ant XML files to load.
binding
- The GantBinding
to bind to.map
- The Map
of initialization parameters.
Method Detail |
---|
void forAllSubdirectoriesAnt(java.lang.String target)
target
- The target to execute.
void forAllSubdirectoriesGant(java.lang.String target)
target
- The target to execute.
void forAllSubdirectoriesRun(java.lang.String command)
command
- The shell command to execute.
void runSubprocess(java.lang.String command, java.io.File directory)
command
- The shell command to execute.directory
- Path of the directory in which to execute the shell command.
Copyright © 2006–9 The Codehaus. All Rights Reserved.