DO NOT REPLY [Bug 29904] - unable to instantiate tomcat jasper task more than once

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29904

unable to instantiate tomcat jasper task more than once





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 22:02 ---
I tried ant 1.6.2 and tomcat 5.0.27.  The behaviour is still the same, but the 
"caused by" error message  
in the "ant -v" output is now different:

Caused by: org.apache.commons.logging.LogConfigurationException: Invalid class 
loader hierarchy.  
You have more than one version of 'org.apache.commons.logging.Log' visible, 
which is not allowed.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29904] - unable to instantiate tomcat jasper task more than once

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29904

unable to instantiate tomcat jasper task more than once





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 21:37 ---
I am saying a more than that.  Not only is the loaderRef compulsory, but all 
must refer to the _same_ 
loader reference.  In the zip'd example, if you change the "bad" target in 
buildall.xml to:




"ant -f buildall.xml bad" will still fail, even though the tomcat taskdef uses 
loaderRef.

Sharing a single loader reference among a hierarchy of build.xml files that 
call one another is at best 
awkward.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 12157] - Enhancement to XMLValidate task

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=12157

Enhancement to XMLValidate task

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.6



--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 16:42 ---
This was actually submitted by Stefan Bodewig :
revision 1.26
date: 2002/09/23 14:59:42;  author: bodewig;  state: Exp;  lines: +96 -24
Add ability to set parser features in .

Submitted by:   Nick Pellow

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30160] - [PATCH] Some Javadoc fixes for Location, Project, and RuntimeConfigurable

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30160

[PATCH] Some Javadoc fixes for Location, Project, and RuntimeConfigurable

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.6.3



--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 16:36 ---
Patch submitted, thanks.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant WHATSNEW

2004-07-17 Thread antoine
antoine 2004/07/17 09:34:40

  Modified:.Tag: ANT_16_BRANCH WHATSNEW
  Log:
  Merge from HEAD
  Javadoc fixes for RuntimeConfigurable, Project, Location
  PR: 30160
  Submitted by: Jesse Glick (jglick at netbeans dot org)
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.503.2.121 +3 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.120
  retrieving revision 1.503.2.121
  diff -u -r1.503.2.120 -r1.503.2.121
  --- WHATSNEW  17 Jul 2004 16:11:58 -  1.503.2.120
  +++ WHATSNEW  17 Jul 2004 16:34:40 -  1.503.2.121
  @@ -9,6 +9,9 @@
   
   * New attribute ignorecontents for  selector
   
  +* Javadoc fixes for Location, Project, and RuntimeConfigurable
  +  Bugzilla 30160.
  +
   Fixed bugs:
   ---
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/src/main/org/apache/tools/ant Location.java Project.java RuntimeConfigurable.java

2004-07-17 Thread antoine
antoine 2004/07/17 09:34:40

  Modified:src/main/org/apache/tools/ant Tag: ANT_16_BRANCH
Location.java Project.java RuntimeConfigurable.java
  Log:
  Merge from HEAD
  Javadoc fixes for RuntimeConfigurable, Project, Location
  PR: 30160
  Submitted by: Jesse Glick (jglick at netbeans dot org)
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.15.2.5  +1 -1  ant/src/main/org/apache/tools/ant/Location.java
  
  Index: Location.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Location.java,v
  retrieving revision 1.15.2.4
  retrieving revision 1.15.2.5
  diff -u -r1.15.2.4 -r1.15.2.5
  --- Location.java 9 Mar 2004 17:01:29 -   1.15.2.4
  +++ Location.java 17 Jul 2004 16:34:40 -  1.15.2.5
  @@ -113,7 +113,7 @@
* An error message can be appended easily. For unknown locations, an
* empty string is returned.
*
  - * @return a String of the form "fileName: lineNumber: "
  + * @return a String of the form "fileName:lineNumber: "
* if both file name and line number are known,
* "fileName: " if only the file name is known,
* and the empty string for unknown locations.
  
  
  
  1.154.2.11 +6 -6  ant/src/main/org/apache/tools/ant/Project.java
  
  Index: Project.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Project.java,v
  retrieving revision 1.154.2.10
  retrieving revision 1.154.2.11
  diff -u -r1.154.2.10 -r1.154.2.11
  --- Project.java  28 Jun 2004 07:47:05 -  1.154.2.10
  +++ Project.java  17 Jul 2004 16:34:40 -  1.154.2.11
  @@ -88,31 +88,31 @@
   /**
* Version constant for Java 1.0
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_0} instead.
*/
   public static final String JAVA_1_0 = JavaEnvUtils.JAVA_1_0;
   /**
* Version constant for Java 1.1
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_1} instead.
*/
   public static final String JAVA_1_1 = JavaEnvUtils.JAVA_1_1;
   /**
* Version constant for Java 1.2
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_2} instead.
*/
   public static final String JAVA_1_2 = JavaEnvUtils.JAVA_1_2;
   /**
* Version constant for Java 1.3
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_3} instead.
*/
   public static final String JAVA_1_3 = JavaEnvUtils.JAVA_1_3;
   /**
* Version constant for Java 1.4
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_4} instead.
*/
   public static final String JAVA_1_4 = JavaEnvUtils.JAVA_1_4;
   
  
  
  
  1.45.2.6  +4 -2  
ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java
  
  Index: RuntimeConfigurable.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java,v
  retrieving revision 1.45.2.5
  retrieving revision 1.45.2.6
  diff -u -r1.45.2.5 -r1.45.2.6
  --- RuntimeConfigurable.java  9 Mar 2004 17:01:29 -   1.45.2.5
  +++ RuntimeConfigurable.java  17 Jul 2004 16:34:40 -  1.45.2.6
  @@ -183,6 +183,7 @@
   /** Return the attribute map.
*
* @return Attribute name to attribute value map
  + * @since Ant 1.6
*/
   public Hashtable getAttributeMap() {
   if (attributeMap != null) {
  @@ -195,7 +196,7 @@
   /**
* Returns the list of attributes for the wrapped element.
*
  - * @deprecated
  + * @deprecated Deprecated since Ant 1.6 in favor of [EMAIL PROTECTED] 
#getAttributeMap}.
* @return An AttributeList representing the attributes defined in the
* XML for this element. May be null.
*/
  @@ -231,7 +232,7 @@
   /**
* Returns an enumeration of all child wrappers.
* @return an enumeration of the child wrappers.
  - * @since Ant 1.5.1
  + * @since Ant 1.6
*/
   public Enumeration getChildren() {
   if (children != null) {
  @@ -282,6 +283,7 @@
* multiple fragments.
*
* @return the text content of this element.
  + * @since Ant 1.6
*/
   public StringBuffer getText() {
   if (characters != null) {
  
  
  


cvs commit: ant/src/main/org/apache/tools/ant Location.java Project.java RuntimeConfigurable.java

2004-07-17 Thread antoine
antoine 2004/07/17 09:31:40

  Modified:src/main/org/apache/tools/ant Location.java Project.java
RuntimeConfigurable.java
  Log:
  Javadoc fixes for RuntimeConfigurable, Project, Location
  PR: 30160
  Submitted by: Jesse Glick (jglick at netbeans dot org)
  
  Revision  ChangesPath
  1.20  +1 -1  ant/src/main/org/apache/tools/ant/Location.java
  
  Index: Location.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Location.java,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- Location.java 9 Mar 2004 16:47:59 -   1.19
  +++ Location.java 17 Jul 2004 16:31:40 -  1.20
  @@ -113,7 +113,7 @@
* An error message can be appended easily. For unknown locations, an
* empty string is returned.
*
  - * @return a String of the form "fileName: lineNumber: "
  + * @return a String of the form "fileName:lineNumber: "
* if both file name and line number are known,
* "fileName: " if only the file name is known,
* and the empty string for unknown locations.
  
  
  
  1.171 +6 -6  ant/src/main/org/apache/tools/ant/Project.java
  
  Index: Project.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/Project.java,v
  retrieving revision 1.170
  retrieving revision 1.171
  diff -u -r1.170 -r1.171
  --- Project.java  24 Jun 2004 19:30:03 -  1.170
  +++ Project.java  17 Jul 2004 16:31:40 -  1.171
  @@ -88,31 +88,31 @@
   /**
* Version constant for Java 1.0
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_0} instead.
*/
   public static final String JAVA_1_0 = JavaEnvUtils.JAVA_1_0;
   /**
* Version constant for Java 1.1
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_1} instead.
*/
   public static final String JAVA_1_1 = JavaEnvUtils.JAVA_1_1;
   /**
* Version constant for Java 1.2
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_2} instead.
*/
   public static final String JAVA_1_2 = JavaEnvUtils.JAVA_1_2;
   /**
* Version constant for Java 1.3
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_3} instead.
*/
   public static final String JAVA_1_3 = JavaEnvUtils.JAVA_1_3;
   /**
* Version constant for Java 1.4
*
  - * @deprecated use org.apache.tools.ant.util.JavaEnvUtils instead
  + * @deprecated Use [EMAIL PROTECTED] JavaEnvUtils#JAVA_1_4} instead.
*/
   public static final String JAVA_1_4 = JavaEnvUtils.JAVA_1_4;
   
  
  
  
  1.52  +4 -2  
ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java
  
  Index: RuntimeConfigurable.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/RuntimeConfigurable.java,v
  retrieving revision 1.51
  retrieving revision 1.52
  diff -u -r1.51 -r1.52
  --- RuntimeConfigurable.java  24 May 2004 15:09:55 -  1.51
  +++ RuntimeConfigurable.java  17 Jul 2004 16:31:40 -  1.52
  @@ -180,6 +180,7 @@
   /** Return the attribute map.
*
* @return Attribute name to attribute value map
  + * @since Ant 1.6
*/
   public Hashtable getAttributeMap() {
   if (attributeMap != null) {
  @@ -192,7 +193,7 @@
   /**
* Returns the list of attributes for the wrapped element.
*
  - * @deprecated
  + * @deprecated Deprecated since Ant 1.6 in favor of [EMAIL PROTECTED] 
#getAttributeMap}.
* @return An AttributeList representing the attributes defined in the
* XML for this element. May be null.
*/
  @@ -228,7 +229,7 @@
   /**
* Returns an enumeration of all child wrappers.
* @return an enumeration of the child wrappers.
  - * @since Ant 1.5.1
  + * @since Ant 1.6
*/
   public Enumeration getChildren() {
   if (children != null) {
  @@ -279,6 +280,7 @@
* multiple fragments.
*
* @return the text content of this element.
  + * @since Ant 1.6
*/
   public StringBuffer getText() {
   if (characters != null) {
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant WHATSNEW

2004-07-17 Thread antoine
antoine 2004/07/17 09:31:40

  Modified:.WHATSNEW
  Log:
  Javadoc fixes for RuntimeConfigurable, Project, Location
  PR: 30160
  Submitted by: Jesse Glick (jglick at netbeans dot org)
  
  Revision  ChangesPath
  1.640 +3 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.639
  retrieving revision 1.640
  diff -u -r1.639 -r1.640
  --- WHATSNEW  17 Jul 2004 16:08:41 -  1.639
  +++ WHATSNEW  17 Jul 2004 16:31:39 -  1.640
  @@ -39,6 +39,9 @@
   
   * New attribute ignorecontents for  selector
   
  +* Javadoc fixes for Location, Project, and RuntimeConfigurable
  +  Bugzilla 30160.
  +
   Fixed bugs:
   ---
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/src/main/org/apache/tools/ant/types/selectors DifferentSelector.java

2004-07-17 Thread antoine
antoine 2004/07/17 09:11:58

  Modified:.Tag: ANT_16_BRANCH WHATSNEW
   docs/manual/CoreTypes Tag: ANT_16_BRANCH selectors.html
   src/main/org/apache/tools/ant/types/selectors Tag:
ANT_16_BRANCH DifferentSelector.java
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.503.2.120 +2 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.119
  retrieving revision 1.503.2.120
  diff -u -r1.503.2.119 -r1.503.2.120
  --- WHATSNEW  17 Jul 2004 15:13:47 -  1.503.2.119
  +++ WHATSNEW  17 Jul 2004 16:11:58 -  1.503.2.120
  @@ -7,6 +7,8 @@
   Other changes:
   --
   
  +* New attribute ignorecontents for  selector
  +
   Fixed bugs:
   ---
   
  
  
  
  No   revision
  No   revision
  1.15.2.7  +10 -1 ant/docs/manual/CoreTypes/selectors.html
  
  Index: selectors.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTypes/selectors.html,v
  retrieving revision 1.15.2.6
  retrieving revision 1.15.2.7
  diff -u -r1.15.2.6 -r1.15.2.7
  --- selectors.html26 Apr 2004 19:20:24 -  1.15.2.6
  +++ selectors.html17 Jul 2004 16:11:58 -  1.15.2.7
  @@ -300,7 +300,8 @@
Files with different lengths are different.
If ignoreFileTimes is turned off, then differing file
   timestamps will cause files to be regarded as different.
  - Finally a byte-for-byte check is run against the two files
  + UnlessignoreContents is set to true, a byte-for-byte check 
is run
  +against the two files
   
   
   This is a useful selector to work with programs and tasks that don't 
handle
  @@ -339,6 +340,14 @@
   ignoreFileTimes
   Whether to use file times in the comparison or not.
 Default is true (time differences are ignored).
  +
  +No
  +  
  +  
  +ignoreContents
  +Whether to do a byte per byte compare.
  +  Default is false (contents are compared).
  +  Since ant 1.6.3
   
   No
 
  
  
  
  No   revision
  No   revision
  1.8.2.5   +26 -11
ant/src/main/org/apache/tools/ant/types/selectors/DifferentSelector.java
  
  Index: DifferentSelector.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/DifferentSelector.java,v
  retrieving revision 1.8.2.4
  retrieving revision 1.8.2.5
  diff -u -r1.8.2.4 -r1.8.2.5
  --- DifferentSelector.java9 Mar 2004 17:01:56 -   1.8.2.4
  +++ DifferentSelector.java17 Jul 2004 16:11:58 -  1.8.2.5
  @@ -25,10 +25,14 @@
   
   /**
* This selector selects files against a mapped set of target files, 
selecting
  - * all those files which are different. A byte-by-byte comparision is 
performed
  - * on equal length files; files with different lengths are deemed different
  - * automatically; files with identical timestamps are viewed as matching by
  + * all those files which are different.
  + * Files with different lengths are deemed different
  + * automatically
  + * Files with identical timestamps are viewed as matching by
* default, unless you specify otherwise.
  + * Contents are compared if the lengths are the same
  + * and the timestamps are ignored or the same,
  + * except if you decide to ignore contents to gain speed.
* 
* This is a useful selector to work with programs and tasks that don't 
handle
* dependency checking properly; Even if a predecessor task always creates 
its
  @@ -47,6 +51,7 @@
   private FileUtils fileUtils = FileUtils.newFileUtils();
   
   private boolean ignoreFileTimes = true;
  +private boolean ignoreContents = false;
   
   
   /**
  @@ -56,7 +61,14 @@
   public void setIgnoreFileTimes(boolean ignoreFileTimes) {
   this.ignoreFileTimes = ignoreFileTimes;
   }
  -
  +/**
  + * This flag tells the selector to ignore contents
  + * @param ignoreContents if true ignore contents
  + * @since ant 1.6.3
  + */
  +public void setIgnoreContents(boolean ignoreContents) {
  +this.ignoreContents = ignoreContents;
  +}
   /**
* this test is our selection test that compared the file with the 
destfile
* @param srcfile the source file
  @@ -86,13 +98,16 @@
   return true;
   }
   }
  -
  -//here do a bulk comparison
  -try {
  -return !fileUtils.contentEquals(srcfile, destfile);
  -} catch (IOException e) {
  -throw new BuildException("while comparing " + srcfile + " and "
  -+

cvs commit: ant/src/main/org/apache/tools/ant/types/selectors DifferentSelector.java

2004-07-17 Thread antoine
antoine 2004/07/17 09:08:41

  Modified:.WHATSNEW
   docs/manual/CoreTypes selectors.html
   src/main/org/apache/tools/ant/types/selectors
DifferentSelector.java
  Log:
  Added an ignorecontents attribute to 
  
  Revision  ChangesPath
  1.639 +2 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.638
  retrieving revision 1.639
  diff -u -r1.638 -r1.639
  --- WHATSNEW  17 Jul 2004 15:10:10 -  1.638
  +++ WHATSNEW  17 Jul 2004 16:08:41 -  1.639
  @@ -37,6 +37,8 @@
   Other changes:
   --
   
  +* New attribute ignorecontents for  selector
  +
   Fixed bugs:
   ---
   
  
  
  
  1.25  +10 -1 ant/docs/manual/CoreTypes/selectors.html
  
  Index: selectors.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTypes/selectors.html,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- selectors.html12 Jul 2004 15:04:13 -  1.24
  +++ selectors.html17 Jul 2004 16:08:41 -  1.25
  @@ -300,7 +300,8 @@
Files with different lengths are different.
If ignoreFileTimes is turned off, then differing file
   timestamps will cause files to be regarded as different.
  - Finally a byte-for-byte check is run against the two files
  + UnlessignoreContents is set to true, a byte-for-byte check 
is run
  +against the two files
   
   
   This is a useful selector to work with programs and tasks that don't 
handle
  @@ -339,6 +340,14 @@
   ignoreFileTimes
   Whether to use file times in the comparison or not.
 Default is true (time differences are ignored).
  +
  +No
  +  
  +  
  +ignoreContents
  +Whether to do a byte per byte compare.
  +  Default is false (contents are compared).
  +  Since ant 1.6.3
   
   No
 
  
  
  
  1.13  +26 -11
ant/src/main/org/apache/tools/ant/types/selectors/DifferentSelector.java
  
  Index: DifferentSelector.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/DifferentSelector.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DifferentSelector.java9 Mar 2004 16:48:47 -   1.12
  +++ DifferentSelector.java17 Jul 2004 16:08:41 -  1.13
  @@ -25,10 +25,14 @@
   
   /**
* This selector selects files against a mapped set of target files, 
selecting
  - * all those files which are different. A byte-by-byte comparision is 
performed
  - * on equal length files; files with different lengths are deemed different
  - * automatically; files with identical timestamps are viewed as matching by
  + * all those files which are different.
  + * Files with different lengths are deemed different
  + * automatically
  + * Files with identical timestamps are viewed as matching by
* default, unless you specify otherwise.
  + * Contents are compared if the lengths are the same
  + * and the timestamps are ignored or the same,
  + * except if you decide to ignore contents to gain speed.
* 
* This is a useful selector to work with programs and tasks that don't 
handle
* dependency checking properly; Even if a predecessor task always creates 
its
  @@ -47,6 +51,7 @@
   private FileUtils fileUtils = FileUtils.newFileUtils();
   
   private boolean ignoreFileTimes = true;
  +private boolean ignoreContents = false;
   
   
   /**
  @@ -56,7 +61,14 @@
   public void setIgnoreFileTimes(boolean ignoreFileTimes) {
   this.ignoreFileTimes = ignoreFileTimes;
   }
  -
  +/**
  + * This flag tells the selector to ignore contents
  + * @param ignoreContents if true ignore contents
  + * @since ant 1.6.3
  + */
  +public void setIgnoreContents(boolean ignoreContents) {
  +this.ignoreContents = ignoreContents;
  +}
   /**
* this test is our selection test that compared the file with the 
destfile
* @param srcfile the source file
  @@ -86,13 +98,16 @@
   return true;
   }
   }
  -
  -//here do a bulk comparison
  -try {
  -return !fileUtils.contentEquals(srcfile, destfile);
  -} catch (IOException e) {
  -throw new BuildException("while comparing " + srcfile + " and "
  -+ destfile, e);
  +if (!ignoreContents) {
  +//here do a bulk comparison
  +try {
  +return !fileUtils.contentEquals(srcfile, destfile);
  +} catch (IOException e) {
  +throw new BuildException("while comparing " + srcfile + " 
an

DO NOT REPLY [Bug 30097] - AbstractCvsTask prematurely closes its outputStream and errorStream

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30097

AbstractCvsTask prematurely closes its outputStream and errorStream

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.6.3



--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 15:19 ---
Thanks for the submission, it is checked in both the ANT_16 branch and the HEAD.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs AbstractCvsTask.java

2004-07-17 Thread antoine
antoine 2004/07/17 08:13:47

  Modified:.Tag: ANT_16_BRANCH WHATSNEW CONTRIBUTORS
   src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
AbstractCvsTask.java
  Log:
  Merge from HEAD
  PR: 30097
  Submitted by: Will Wang
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.503.2.119 +15 -0 ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.118
  retrieving revision 1.503.2.119
  diff -u -r1.503.2.118 -r1.503.2.119
  --- WHATSNEW  16 Jul 2004 07:37:11 -  1.503.2.118
  +++ WHATSNEW  17 Jul 2004 15:13:47 -  1.503.2.119
  @@ -1,3 +1,18 @@
  +Changes from Ant 1.6.2 to current Ant 1.6 CVS version
  +=
  +
  +Changes that could break older environments:
  +
  +
  +Other changes:
  +--
  +
  +Fixed bugs:
  +---
  +
  +* AbstractCvsTask prematurely closed its outputStream and errorStream.
  +  Bugzilla 30097.
  +
   Changes from Ant 1.6.1 to Ant 1.6.2
   ===
   
  
  
  
  1.1.2.21  +1 -0  ant/CONTRIBUTORS
  
  Index: CONTRIBUTORS
  ===
  RCS file: /home/cvs/ant/CONTRIBUTORS,v
  retrieving revision 1.1.2.20
  retrieving revision 1.1.2.21
  diff -u -r1.1.2.20 -r1.1.2.21
  --- CONTRIBUTORS  2 Jul 2004 07:24:56 -   1.1.2.20
  +++ CONTRIBUTORS  17 Jul 2004 15:13:47 -  1.1.2.21
  @@ -199,6 +199,7 @@
   Tom Dimock
   Tom Eugelink
   Ulrich Schmidt
  +Will Wang
   William Ferguson
   Wolfgang Werner
   Wolf Siberski
  
  
  
  No   revision
  No   revision
  1.26.2.8  +15 -15
ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
  
  Index: AbstractCvsTask.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java,v
  retrieving revision 1.26.2.7
  retrieving revision 1.26.2.8
  diff -u -r1.26.2.7 -r1.26.2.8
  --- AbstractCvsTask.java  14 Apr 2004 15:42:40 -  1.26.2.7
  +++ AbstractCvsTask.java  17 Jul 2004 15:13:47 -  1.26.2.8
  @@ -365,21 +365,6 @@
   } else {
   log("Caught exception: " + e.getMessage(), Project.MSG_WARN);
   }
  -} finally {
  -if (outputStream != null) {
  -try {
  -outputStream.close();
  -} catch (IOException e) {
  -//ignore
  -}
  -}
  -if (errorStream != null) {
  -try {
  -errorStream.close();
  -} catch (IOException e) {
  -//ignore
  -}
  -}
   }
   }
   
  @@ -413,6 +398,21 @@
   removeCommandline(cloned);
   }
   setCommand(savedCommand);
  +
  +if (outputStream != null) {
  +try {
  +outputStream.close();
  +} catch (IOException e) {
  +//ignore
  +}
  +}
  +if (errorStream != null) {
  +try {
  +errorStream.close();
  +} catch (IOException e) {
  +//ignore
  +}
  +}
   }
   }
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs AbstractCvsTask.java

2004-07-17 Thread antoine
antoine 2004/07/17 08:10:11

  Modified:.WHATSNEW CONTRIBUTORS
   src/main/org/apache/tools/ant/taskdefs AbstractCvsTask.java
  Log:
  Prevent AbstractCvsTask from closing its output and error streams
  prematurely
  PR: 30097
  Submitted by: Will Wang (telerice at yahoo dot com)
  
  Revision  ChangesPath
  1.638 +16 -1 ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.637
  retrieving revision 1.638
  diff -u -r1.637 -r1.638
  --- WHATSNEW  15 Jul 2004 16:43:13 -  1.637
  +++ WHATSNEW  17 Jul 2004 15:10:10 -  1.638
  @@ -28,8 +28,23 @@
 specification of multiple sub-build targets, which are executed
 with a single dependency analysis.
   
  -Changes from Ant 1.6.1 to current Ant 1.6 CVS version
  +Changes from Ant 1.6.2 to current Ant 1.6 CVS version
   =
  +
  +Changes that could break older environments:
  +
  +
  +Other changes:
  +--
  +
  +Fixed bugs:
  +---
  +
  +* AbstractCvsTask prematurely closed its outputStream and errorStream.
  +  Bugzilla 30097.
  +
  +Changes from Ant 1.6.1 to Ant 1.6.2
  +===
   
   Changes that could break older environments:
   
  
  
  
  1.27  +1 -0  ant/CONTRIBUTORS
  
  Index: CONTRIBUTORS
  ===
  RCS file: /home/cvs/ant/CONTRIBUTORS,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- CONTRIBUTORS  2 Jul 2004 07:23:53 -   1.26
  +++ CONTRIBUTORS  17 Jul 2004 15:10:11 -  1.27
  @@ -196,6 +196,7 @@
   Tom Dimock
   Tom Eugelink
   Ulrich Schmidt
  +Will Wang
   William Ferguson
   Wolfgang Werner
   Wolf Siberski
  
  
  
  1.35  +15 -15
ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
  
  Index: AbstractCvsTask.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- AbstractCvsTask.java  14 Apr 2004 15:42:06 -  1.34
  +++ AbstractCvsTask.java  17 Jul 2004 15:10:11 -  1.35
  @@ -365,21 +365,6 @@
   } else {
   log("Caught exception: " + e.getMessage(), Project.MSG_WARN);
   }
  -} finally {
  -if (outputStream != null) {
  -try {
  -outputStream.close();
  -} catch (IOException e) {
  -//ignore
  -}
  -}
  -if (errorStream != null) {
  -try {
  -errorStream.close();
  -} catch (IOException e) {
  -//ignore
  -}
  -}
   }
   }
   
  @@ -413,6 +398,21 @@
   removeCommandline(cloned);
   }
   setCommand(savedCommand);
  +
  +if (outputStream != null) {
  +try {
  +outputStream.close();
  +} catch (IOException e) {
  +//ignore
  +}
  +}
  +if (errorStream != null) {
  +try {
  +errorStream.close();
  +} catch (IOException e) {
  +//ignore
  +}
  +}
   }
   }
   
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30097] - AbstractCvsTask prematurely closes its outputStream and errorStream

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30097

AbstractCvsTask prematurely closes its outputStream and errorStream

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30143] - tar task : directory checksum error

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30143

tar task : directory checksum error





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 13:43 ---
Just a small historical note - Ant distributions have long required GNU tar, due
to their long paths. Such paths are quite common in java hierarchies. We used to
have a red warning to this effect on the download pages but I guess that went
away when we moved to the mirrored distribution system. See for example, the
1.4.1 release notes

http://archive.apache.org/dist/ant/binaries/RELEASE-NOTES-1.4.1.html

It is always possible to use the zip distribution and to expand it with the jar
command.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 27162] - SQL task doesn't work with Informix IDS 9.2

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=27162

SQL task doesn't work with Informix IDS 9.2

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
   ||pl



--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 13:19 ---
*** Bug 30069 has been marked as a duplicate of this bug. ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30069] - Task SQL - Method can be called only once.

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30069

Task SQL - Method can be called only once.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE



--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 13:19 ---
I think this is a duplicate of bug report 27162.
27162 is solved in ant 1.6.2.
Can you try to upgrade to ant 1.6.2 and see if it solves your problem ?
Cheers,
Antoine

*** This bug has been marked as a duplicate of 27162 ***

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29376] - Similar to bug 25668 - ant ftp will not list or get files from HPUX

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29376

Similar to bug 25668 - ant ftp will not list or get files from HPUX





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 13:15 ---
Can you try to install commons-net-1.2.2 and let us know if it fixes your 
problem.
I think it should.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30143] - tar task : directory checksum error

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30143

tar task : directory checksum error

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX



--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 13:13 ---
Added comment on web site, closing this issue as WONTFIX
(because I do not have a solution to produce tar files which the native tar
command of Solaris will expand when they have long file names).

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/xdocs bindownload.xml srcdownload.xml

2004-07-17 Thread antoine
antoine 2004/07/17 06:09:12

  Modified:docs Tag: ANT_16_BRANCH bindownload.html
srcdownload.html
   xdocsTag: ANT_16_BRANCH bindownload.xml srcdownload.xml
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.36.2.6  +6 -0  ant/docs/bindownload.html
  
  Index: bindownload.html
  ===
  RCS file: /home/cvs/ant/docs/bindownload.html,v
  retrieving revision 1.36.2.5
  retrieving revision 1.36.2.6
  diff -u -r1.36.2.5 -r1.36.2.6
  --- bindownload.html  16 Jul 2004 07:25:05 -  1.36.2.5
  +++ bindownload.html  17 Jul 2004 13:09:12 -  1.36.2.6
  @@ -222,6 +222,12 @@
   Ant 1.6.2 has been released on 16-July-2004 and
   may not be available on all mirrors for a few days.
   
  +
  +
  +Tar files may require gnu tar to extract
  +Tar files in the distribution contain long file names, 
and may
  + require gnu tar to do the extraction.
  +
   
   .zip archive: 
   apache-ant-1.6.2-bin.zip
  
  
  
  1.35.2.6  +6 -0  ant/docs/srcdownload.html
  
  Index: srcdownload.html
  ===
  RCS file: /home/cvs/ant/docs/srcdownload.html,v
  retrieving revision 1.35.2.5
  retrieving revision 1.35.2.6
  diff -u -r1.35.2.5 -r1.35.2.6
  --- srcdownload.html  16 Jul 2004 07:25:05 -  1.35.2.5
  +++ srcdownload.html  17 Jul 2004 13:09:12 -  1.35.2.6
  @@ -220,6 +220,12 @@
   Ant 1.6.2 has been released on 16-July-2004 and
   may not be available on all mirrors for a few days.
   
  +
  +
  +Tar files may require gnu tar to extract
  +Tar files in the distribution contain long file names, 
and may
  + require gnu tar to do the extraction.
  +
   
   .zip archive: 
   apache-ant-1.6.2-src.zip
  
  
  
  No   revision
  No   revision
  1.17.2.4  +6 -0  ant/xdocs/bindownload.xml
  
  Index: bindownload.xml
  ===
  RCS file: /home/cvs/ant/xdocs/bindownload.xml,v
  retrieving revision 1.17.2.3
  retrieving revision 1.17.2.4
  diff -u -r1.17.2.3 -r1.17.2.4
  --- bindownload.xml   16 Jul 2004 07:25:04 -  1.17.2.3
  +++ bindownload.xml   17 Jul 2004 13:09:12 -  1.17.2.4
  @@ -83,6 +83,12 @@
   Ant 1.6.2 has been released on 16-July-2004 and
   may not be available on all mirrors for a few days.
   
  +
  +
  +Tar files may require gnu tar to extract
  +Tar files in the distribution contain long file names, 
and may
  + require gnu tar to do the extraction.
  +
   
   
   .zip archive: 
  
  
  
  1.15.2.4  +6 -0  ant/xdocs/srcdownload.xml
  
  Index: srcdownload.xml
  ===
  RCS file: /home/cvs/ant/xdocs/srcdownload.xml,v
  retrieving revision 1.15.2.3
  retrieving revision 1.15.2.4
  diff -u -r1.15.2.3 -r1.15.2.4
  --- srcdownload.xml   16 Jul 2004 07:25:04 -  1.15.2.3
  +++ srcdownload.xml   17 Jul 2004 13:09:12 -  1.15.2.4
  @@ -79,6 +79,12 @@
   Ant 1.6.2 has been released on 16-July-2004 and
   may not be available on all mirrors for a few days.
   
  +
  +
  +Tar files may require gnu tar to extract
  +Tar files in the distribution contain long file names, 
and may
  + require gnu tar to do the extraction.
  +
   
   
   .zip archive: 
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



cvs commit: ant/xdocs bindownload.xml srcdownload.xml

2004-07-17 Thread antoine
antoine 2004/07/17 06:06:20

  Modified:docs bindownload.html srcdownload.html
   xdocsbindownload.xml srcdownload.xml
  Log:
  Add a note concerning long file names in tar files, gnu tar
  PR: 30143
  
  Revision  ChangesPath
  1.49  +6 -0  ant/docs/bindownload.html
  
  Index: bindownload.html
  ===
  RCS file: /home/cvs/ant/docs/bindownload.html,v
  retrieving revision 1.48
  retrieving revision 1.49
  diff -u -r1.48 -r1.49
  --- bindownload.html  16 Jul 2004 09:30:51 -  1.48
  +++ bindownload.html  17 Jul 2004 13:06:20 -  1.49
  @@ -222,6 +222,12 @@
   Ant 1.6.2 has been released on 16-July-2004 and
   may not be available on all mirrors for a few days.
   
  +
  +
  +Tar files may require gnu tar to extract
  +Tar files in the distribution contain long file names, 
and may
  + require gnu tar to do the extraction.
  +
   
   .zip archive: 
   apache-ant-1.6.2-bin.zip
  
  
  
  1.48  +6 -0  ant/docs/srcdownload.html
  
  Index: srcdownload.html
  ===
  RCS file: /home/cvs/ant/docs/srcdownload.html,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- srcdownload.html  16 Jul 2004 09:30:51 -  1.47
  +++ srcdownload.html  17 Jul 2004 13:06:20 -  1.48
  @@ -220,6 +220,12 @@
   Ant 1.6.2 has been released on 16-July-2004 and
   may not be available on all mirrors for a few days.
   
  +
  +
  +Tar files may require gnu tar to extract
  +Tar files in the distribution contain long file names, 
and may
  + require gnu tar to do the extraction.
  +
   
   .zip archive: 
   apache-ant-1.6.2-src.zip
  
  
  
  1.25  +6 -0  ant/xdocs/bindownload.xml
  
  Index: bindownload.xml
  ===
  RCS file: /home/cvs/ant/xdocs/bindownload.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- bindownload.xml   16 Jul 2004 09:30:51 -  1.24
  +++ bindownload.xml   17 Jul 2004 13:06:20 -  1.25
  @@ -83,6 +83,12 @@
   Ant 1.6.2 has been released on 16-July-2004 and
   may not be available on all mirrors for a few days.
   
  +
  +
  +Tar files may require gnu tar to extract
  +Tar files in the distribution contain long file names, 
and may
  + require gnu tar to do the extraction.
  +
   
   
   .zip archive: 
  
  
  
  1.23  +6 -0  ant/xdocs/srcdownload.xml
  
  Index: srcdownload.xml
  ===
  RCS file: /home/cvs/ant/xdocs/srcdownload.xml,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- srcdownload.xml   16 Jul 2004 09:30:51 -  1.22
  +++ srcdownload.xml   17 Jul 2004 13:06:20 -  1.23
  @@ -79,6 +79,12 @@
   Ant 1.6.2 has been released on 16-July-2004 and
   may not be available on all mirrors for a few days.
   
  +
  +
  +Tar files may require gnu tar to extract
  +Tar files in the distribution contain long file names, 
and may
  + require gnu tar to do the extraction.
  +
   
   
   .zip archive: 
  
  
  

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30143] - tar task : directory checksum error

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30143

tar task : directory checksum error





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 12:48 ---
I found this article : http://www.itworld.com/nl/unix_insider/07242003/
concerning the different flavours of tar, ...
So the problem boils down to :
- the tar.gz files of the ant distribution include filenames longer > 100,
- this is not supported by standard Solaris (UNIX) tar, but only by GNU tar.

The only types of actions that we can do concerning this bug report is to add a
warning on the download pages of the Web Site, saying that the tar files contain
long file names and may require gnu tar for extracting.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30143] - tar task : directory checksum error

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30143

tar task : directory checksum error





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 11:26 ---
My last tests showed that the problem also happens with a directory of 100 chars
long. Maybe the problem can be summarized as "Solaris 5.8 tar cannot extract tar
files created by ant, and containing gnu long file names"

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30143] - tar task : directory checksum error

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30143

tar task : directory checksum error





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 11:25 ---
Created an attachment (id=12134)
buildfile producing a tar which cannot be expanded under Solaris

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30143] - tar task : directory checksum error

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30143

tar task : directory checksum error





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 10:51 ---
I have narrowed down the problem :
it happens if you create a tar entry in a directory exactly 99 characters long.
not 100% sure how this can be solved, maybe by bringing the limit down one
character for applying the gnu rules when the entry is a directory in
Tar.java/TarOutputStream.java.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30143] - tar task : directory checksum error

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30143

tar task : directory checksum error

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary|apache 1.6.2 tar.gz checks  |tar task : directory
   |checksum error. md5 sum is  |checksum error
   |correct |



--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 09:36 ---
I have tried to untar apache-ant-1.6.2-src.tar.gz on Solaris, and found out the
following :
- it works with GNU tar 1.13.19 without any error/warning
- with the tar of Solaris 5.8, I get the same error as Patrick Beilby :
x apache-ant-1.6.2/src/etc/testcases/taskdefs/optional/echoproperties.xml, 2864
bytes, 6 tape blocks
x
apache-ant-1.6.2/src/etc/testcases/taskdefs/optional/i18n/translate/expected/de/template.txt,
53 bytes, 1 tape blocks
tar: directory checksum error

It sounds like there are two bugs or differences between the s

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29978] - No way to run Apt processor for JDK 1.5

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29978

No way to run Apt processor for JDK 1.5

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.6.2beta1  |1.6.2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30094] - Performance enhancements using java.nio & lazy calls

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30094

Performance enhancements using java.nio & lazy calls

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.6.2beta1  |1.6.2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29904] - unable to instantiate tomcat jasper task more than once

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29904

unable to instantiate tomcat jasper task more than once

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.6.2beta1  |1.6.2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30143] - apache 1.6.2 tar.gz checks checksum error. md5 sum is correct

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30143

apache 1.6.2 tar.gz checks checksum error. md5 sum is correct

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.6.2beta1  |1.6.2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29999] - Want ability to update property file from other property file.

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=2

Want ability to update property file from other property file.

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.6.2beta1  |1.6.2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 30031] - forkmode="once" doesn't work with JUnitTestRunner

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30031

forkmode="once" doesn't work with JUnitTestRunner

[EMAIL PROTECTED] changed:

   What|Removed |Added

Version|1.6.2beta1  |1.6.2

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29904] - unable to instantiate tomcat jasper task more than once

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29904

unable to instantiate tomcat jasper task more than once





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 06:45 ---
Hello Andy,
what you are saying boils down to :
"the use of the loaderRef attribute is compulsory in order to be able to use the
tomcat jasper task multiple times in one run of ant."





-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



DO NOT REPLY [Bug 29904] - unable to instantiate tomcat jasper task more than once

2004-07-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29904

unable to instantiate tomcat jasper task more than once





--- Additional Comments From [EMAIL PROTECTED]  2004-07-17 00:21 ---
Created an attachment (id=12133)
an example of a work around

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]