peterreilly 2005/03/11 06:56:48
Modified: src/main/org/apache/tools/ant/taskdefs ExecuteJava.java
Log:
stylecheck
Revision Changes Path
1.49 +5 -2
ant/src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java
Index: ExecuteJava.java
===================================================================
RCS file:
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/ExecuteJava.java,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- ExecuteJava.java 1 Mar 2005 21:24:59 -0000 1.48
+++ ExecuteJava.java 11 Mar 2005 14:56:48 -0000 1.49
@@ -108,6 +108,7 @@
/**
* Execute the Java class against the specified Ant Project.
* @param project the Project to use.
+ * @throws BuildException on error.
*/
public void execute(Project project) throws BuildException {
final String classname = javaCommand.getExecutable();
@@ -248,6 +249,8 @@
* the full flexibility of the Java task, but may be enough for
* simple needs.
* @param pc the ProjectComponent to use for logging, etc.
+ * @return the exit status of the subprocess.
+ * @throws BuildException on error.
* @since Ant 1.6.3
*/
public int fork(ProjectComponent pc) throws BuildException {
@@ -266,8 +269,8 @@
Redirector redirector = new Redirector(pc);
Execute exe
= new Execute(redirector.createHandler(),
- timeout == null
- ? null
+ timeout == null
+ ? null
: new ExecuteWatchdog(timeout.longValue()));
exe.setAntRun(pc.getProject());
if (Os.isFamily("openvms")) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]