bodewig 2004/01/30 05:58:58
Modified: . WHATSNEW
src/main/org/apache/tools/ant/taskdefs Java.java
Log:
<java> ignored the append attribute.
PR: 26137
Submitted by: Emmanuel Rayzal <emmanuel at ukibi dot com>
Revision Changes Path
1.533 +2 -0 ant/WHATSNEW
Index: WHATSNEW
===================================================================
RCS file: /home/cvs/ant/WHATSNEW,v
retrieving revision 1.532
retrieving revision 1.533
diff -u -r1.532 -r1.533
--- WHATSNEW 28 Jan 2004 22:47:14 -0000 1.532
+++ WHATSNEW 30 Jan 2004 13:58:58 -0000 1.533
@@ -26,6 +26,8 @@
* fixed case handling of macrodef attributes and elements. Bugzilla
Reports 25687 and 26225.
+* <java> ignored the append attribute, Bugzilla Report 26137.
+
Other changes:
--------------
* Translate task logs a debug message specifying the number of files
1.80 +2 -3 ant/src/main/org/apache/tools/ant/taskdefs/Java.java
Index: Java.java
===================================================================
RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Java.java,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- Java.java 12 Dec 2003 09:41:46 -0000 1.79
+++ Java.java 30 Jan 2004 13:58:58 -0000 1.80
@@ -1,7 +1,7 @@
/*
* The Apache Software License, Version 1.1
*
- * Copyright (c) 2000-2003 The Apache Software Foundation. All rights
+ * Copyright (c) 2000-2004 The Apache Software Foundation. All rights
* reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -93,7 +93,6 @@
private boolean newEnvironment = false;
private File dir = null;
private boolean failOnError = false;
- private boolean append = false;
private Long timeout = null;
private Redirector redirector = new Redirector(this);
private String resultProperty;
@@ -587,7 +586,7 @@
* @since Ant 1.5
*/
public void setAppend(boolean append) {
- this.append = append;
+ redirector.setAppend(append);
incompatibleWithSpawn = true;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]