Gant 1.9.6

gant.tools
[Groovy] Class Subdirectories

java.lang.Object
  gant.tools.Subdirectories

final class Subdirectories
extends java.lang.Object

Provides methods for executing processes in all subdirectories of the working directory.

Authors:
Russel Winder


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

Subdirectories(GantBinding binding)
Constructor for the "includeTool <<" usage.
Parameters:
binding - The GantBinding to bind to.


Subdirectories

Subdirectories(GantBinding binding, java.util.Map map)
Constructor for the "includeTool **" usage. It is assumed that the Map entry provides a filename or a list of filenames of Ant XML files to load.
Parameters:
binding - The GantBinding to bind to.
map - The Map of initialization parameters.


 
Method Detail

forAllSubdirectoriesAnt

void forAllSubdirectoriesAnt(java.lang.String target)
Execute an Ant target in all the subdirectories of this one.
Parameters:
target - The target to execute.


forAllSubdirectoriesGant

void forAllSubdirectoriesGant(java.lang.String target)
Execute a Gant target in all the subdirectories of this one.
Parameters:
target - The target to execute.


forAllSubdirectoriesRun

void forAllSubdirectoriesRun(java.lang.String command)
Run a shell command in all the subdirectories of this one.
Parameters:
command - The shell command to execute.


runSubprocess

void runSubprocess(java.lang.String command, java.io.File directory)
Run a shell command in a named directory.
Parameters:
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.