@@ -243,6 +243,7 @@ public class ExecuteOn extends ExecTask {
* Create a nested Mapper element to use for mapping
* Create a nested Mapper element to use for mapping
* source files to target files.
* source files to target files.
* @return <code>Mapper</code>.
* @return <code>Mapper</code>.
* @throws BuildException if more than one mapper is defined.
*/
*/
public Mapper createMapper() throws BuildException {
public Mapper createMapper() throws BuildException {
if (mapperElement != null) {
if (mapperElement != null) {
@@ -294,6 +295,7 @@ public class ExecuteOn extends ExecTask {
* Create the ExecuteStreamHandler instance that will be used
* Create the ExecuteStreamHandler instance that will be used
* during execution.
* during execution.
* @return <code>ExecuteStreamHandler</code>.
* @return <code>ExecuteStreamHandler</code>.
* @throws BuildException on error.
*/
*/
protected ExecuteStreamHandler createHandler() throws BuildException {
protected ExecuteStreamHandler createHandler() throws BuildException {
//if we have a RedirectorElement, return a decoy
//if we have a RedirectorElement, return a decoy
@@ -312,6 +314,7 @@ public class ExecuteOn extends ExecTask {
/**
/**
* Run the specified Execute object.
* Run the specified Execute object.
* @param exe the Execute instance representing the external process.
* @param exe the Execute instance representing the external process.
* @throws BuildException on error
*/
*/
protected void runExec(Execute exe) throws BuildException {
protected void runExec(Execute exe) throws BuildException {
int totalFiles = 0;
int totalFiles = 0;
@@ -642,7 +645,8 @@ public class ExecuteOn extends ExecTask {
* @param exe the Executable to use.
* @param exe the Executable to use.
* @param fileNames the Vector of filenames.
* @param fileNames the Vector of filenames.
* @param baseDirs the Vector of base directories corresponding to fileNames.
* @param baseDirs the Vector of base directories corresponding to fileNames.
*
* @throws IOException on I/O errors.
* @throws BuildException on other errors.
* @since Ant 1.6
* @since Ant 1.6
*/
*/
protected void runParallel(Execute exe, Vector fileNames,
protected void runParallel(Execute exe, Vector fileNames,