DO NOT REPLY [Bug 19301] - junitreport fails for long string literals

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=19301

junitreport fails for long string literals

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-02-05 22:49 ---
Fixed in CVS HEAD to use the xalan extension mechanism described in my 
previous comment. Should be part of 1.6.1

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



cvs commit: ant/src/etc/checkstyle checkstyle-frames.xsl checkstyle-text.xsl checkstyle-xdoc.xsl

2004-02-05 Thread antoine
antoine 2004/02/05 15:49:05

  Modified:src/etc/checkstyle checkstyle-frames.xsl checkstyle-text.xsl
checkstyle-xdoc.xsl
  Log:
  New license
  
  Revision  ChangesPath
  1.5   +15 -52ant/src/etc/checkstyle/checkstyle-frames.xsl
  
  Index: checkstyle-frames.xsl
  ===
  RCS file: /home/cvs/ant/src/etc/checkstyle/checkstyle-frames.xsl,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- checkstyle-frames.xsl 2 Sep 2003 11:36:02 -   1.4
  +++ checkstyle-frames.xsl 5 Feb 2004 23:49:05 -   1.5
  @@ -4,58 +4,21 @@
   extension-element-prefixes="redirect">
   
   
  +Copyright  2002-2004 Apache Software Foundation
  +   
  + Licensed under the Apache License, Version 2.0 (the "License");
  + you may not use this file except in compliance with the License.
  + You may obtain a copy of the License at
  +   
  + http://www.apache.org/licenses/LICENSE-2.0
  +   
  + Unless required by applicable law or agreed to in writing, software
  + distributed under the License is distributed on an "AS IS" BASIS,
  + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + See the License for the specific language governing permissions and
  + limitations under the License.
  +   
  +-->
   
   
   
  
  
  
  1.2   +15 -52ant/src/etc/checkstyle/checkstyle-text.xsl
  
  Index: checkstyle-text.xsl
  ===
  RCS file: /home/cvs/ant/src/etc/checkstyle/checkstyle-text.xsl,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- checkstyle-text.xsl   3 Jul 2003 13:59:50 -   1.1
  +++ checkstyle-text.xsl   5 Feb 2004 23:49:05 -   1.2
  @@ -1,58 +1,21 @@
   http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
   
   
  +Copyright  2003-2004 Apache Software Foundation
  +   
  + Licensed under the Apache License, Version 2.0 (the "License");
  + you may not use this file except in compliance with the License.
  + You may obtain a copy of the License at
  +   
  + http://www.apache.org/licenses/LICENSE-2.0
  +   
  + Unless required by applicable law or agreed to in writing, software
  + distributed under the License is distributed on an "AS IS" BASIS,
  + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + See the License for the specific language governing permissions and
  + limitations under the License.
  +   
  +-->
   
   
   
  
  
  
  1.4   +15 -52ant/src/etc/checkstyle/checkstyle-xdoc.xsl
  
  Index: checkstyle-xdoc.xsl
  ===
  RCS file: /home/cvs/ant/src/etc/checkstyle/checkstyle-xdoc.xsl,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- checkstyle-xdoc.xsl   20 Jul 2003 10:18:29 -  1.3
  +++ checkstyle-xdoc.xsl   5 Feb 2004 23:49:05 -   1.4
  @@ -4,58 +4,21 @@
   extension-element-prefixes="redirect">
   
   
  +Copyright  2003-2004 Apache Software Foundation
  +   
  + Licensed under the Apache License, Version 2.0 (the "License");
  + you may not use this file except in compliance with the License.
  + You may obtain a copy of the License at
  +   
  + http://www.apache.org/licenses/LICENSE-2.0
  +   
  + Unless required by applicable law or agreed to in writing, software
  + distributed under the License is distributed on an "AS IS" BASIS,
  + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  + See the License for the specific language governing permissions and
  + limitations under the License.
  +   
  +-->
   
   
   
  
  
  

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



cvs commit: ant/src/etc yearcheck.sh changelog.xsl coverage-frames.xsl jdepend-frames.xsl jdepend.xsl log.xsl maudit-frames.xsl mmetrics-frames.xsl tagdiff.xsl

2004-02-05 Thread antoine
antoine 2004/02/05 15:45:00

  Modified:src/etc  yearcheck.sh changelog.xsl coverage-frames.xsl
jdepend-frames.xsl jdepend.xsl log.xsl
maudit-frames.xsl mmetrics-frames.xsl tagdiff.xsl
  Log:
  Apache License 2.0
  
  Revision  ChangesPath
  1.5   +14 -53ant/src/etc/yearcheck.sh
  
  Index: yearcheck.sh
  ===
  RCS file: /home/cvs/ant/src/etc/yearcheck.sh,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- yearcheck.sh  10 Feb 2003 14:13:28 -  1.4
  +++ yearcheck.sh  5 Feb 2004 23:45:00 -   1.5
  @@ -1,58 +1,19 @@
  -#!/bin/sh
  -
  +#
  +#  Copyright  2002-2004 Apache Software Foundation
   # 
  -#  The Apache Software License, Version 1.1
  -# 
  -#  Copyright (c) 2002-2003 The Apache Software Foundation.  All rights
  -#  reserved.
  -# 
  -#  Redistribution and use in source and binary forms, with or without
  -#  modification, are permitted provided that the following conditions
  -#  are met:
  -# 
  -#  1. Redistributions of source code must retain the above copyright
  -# notice, this list of conditions and the following disclaimer.
  -# 
  -#  2. Redistributions in binary form must reproduce the above copyright
  -# notice, this list of conditions and the following disclaimer in
  -# the documentation and/or other materials provided with the
  -# distribution.
  -# 
  -#  3. The end-user documentation included with the redistribution, if
  -# any, must include the following acknowlegement:
  -#"This product includes software developed by the
  -# Apache Software Foundation (http://www.apache.org/)."
  -# Alternately, this acknowlegement may appear in the software itself,
  -# if and wherever such third-party acknowlegements normally appear.
  -# 
  -#  4. The names "Ant" and "Apache Software
  -# Foundation" must not be used to endorse or promote products derived
  -# from this software without prior written permission. For written
  -# permission, please contact [EMAIL PROTECTED]
  -# 
  -#  5. Products derived from this software may not be called "Apache"
  -# nor may "Apache" appear in their names without prior written
  -# permission of the Apache Group.
  -# 
  -#  THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
  -#  WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
  -#  OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  -#  DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
  -#  ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
  -#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
  -#  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
  -#  USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  -#  ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
  -#  OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
  -#  OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
  -#  SUCH DAMAGE.
  -#  
  -# 
  -#  This software consists of voluntary contributions made by many
  -#  individuals on behalf of the Apache Software Foundation.  For more
  -#  information on the Apache Software Foundation, please see
  -#  .
  +#   Licensed under the Apache License, Version 2.0 (the "License");
  +#   you may not use this file except in compliance with the License.
  +#   You may obtain a copy of the License at
  +# 
  +#   http://www.apache.org/licenses/LICENSE-2.0
  +# 
  +#   Unless required by applicable law or agreed to in writing, software
  +#   distributed under the License is distributed on an "AS IS" BASIS,
  +#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +#   See the License for the specific language governing permissions and
  +#   limitations under the License.
   # 
  +#
   
   #
   # Simple shell script that checks whether changed files contain a copyright
  
  
  
  1.6   +15 -52ant/src/etc/changelog.xsl
  
  Index: changelog.xsl
  ===
  RCS file: /home/cvs/ant/src/etc/changelog.xsl,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- changelog.xsl 10 Feb 2003 14:13:28 -  1.5
  +++ changelog.xsl 5 Feb 2004 23:45:00 -   1.6
  @@ -5,58 +5,21 @@
   version='1.0'>
   
   
  +Copyright  2002,2004 Apache Software Foundation
  +   
  + Licensed under the Apache License, Version 2.0 (the "License");
  + you may not use this file except in compliance with the License.
  + You may obtain a copy of the License at
  +   
  + http://www.apache.org/licenses/LICENSE-2.0
  +   
  + Unless required by applicable law or ag

Re: cvs commit: ant WHATSNEW

2004-02-05 Thread Antoine Lévy-Lambert
[EMAIL PROTECTED] wrote:
sbailliez2004/02/05 14:55:37
 Modified:.WHATSNEW
 Log:
 PR: 19301
 Use xalan extensions to replace strings and avoid a stack overflow when doing deep recursions.
 
 Revision  ChangesPath
 1.537 +4 -0  ant/WHATSNEW
 
 Index: WHATSNEW
 ===
 RCS file: /home/cvs/ant/WHATSNEW,v
 retrieving revision 1.536
 retrieving revision 1.537
 diff -u -r1.536 -r1.537
 --- WHATSNEW	2 Feb 2004 10:53:41 -	1.536
 +++ WHATSNEW	5 Feb 2004 22:55:37 -	1.537
 @@ -6,6 +6,10 @@
  
  Fixed bugs:
  ---
 +* Remove a recursive template call in the junit xsls that could trigger a stack
 +  overflow. It now uses Xalan extensions to call a Java class directly.
 +  Bugzilla Report 19301
 +  
  * Translate task does not remove tokens when a key is not found.
It logs a verbose message.  Bugzilla Report 13936.
  
 
 
 

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

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


cvs commit: ant NOTICE

2004-02-05 Thread antoine
antoine 2004/02/05 12:13:00

  Added:   .Tag: ANT_16_BRANCH NOTICE
  Log:
  adding NOTICE file
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.1   +0 -0  ant/NOTICE
  
  Index: NOTICE
  ===
  RCS file: /home/cvs/ant/NOTICE,v
  retrieving revision 1.1
  retrieving revision 1.1.2.1
  diff -u -r1.1 -r1.1.2.1
  
  
  

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



cvs commit: ant NOTICE

2004-02-05 Thread antoine
antoine 2004/02/05 12:12:12

  Added:   .NOTICE
  Log:
  Added NOTICE file as discussed previously on the development list
  
  Revision  ChangesPath
  1.1  ant/NOTICE
  
  Index: NOTICE
  ===
 =
 ==  NOTICE file corresponding to the section 4 d of==
 ==  the Apache License, Version 2.0,   ==
 ==  in this case for the Apache Ant distribution.  ==
 =
  
 This product includes software developed by
 The Apache Software Foundation (http://www.apache.org/).
  
 This product includes also software developed by :
   - the W3C consortium (http://www.w3c.org) ,
   - the SAX project (http://www.saxproject.org)
  
 Please read the different LICENSE files present in the root directory of
 this distribution.
  
 The names "Ant" and  "Apache Software Foundation"  must not be used to
 endorse  or promote  products derived  from this  software without prior
 written permission. For written permission, please contact
 [EMAIL PROTECTED]
  
  

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



cvs commit: ant WHATSNEW

2004-02-05 Thread sbailliez
sbailliez2004/02/05 14:55:37

  Modified:.WHATSNEW
  Log:
  PR: 19301
  Use xalan extensions to replace strings and avoid a stack overflow when doing 
deep recursions.
  
  Revision  ChangesPath
  1.537 +4 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.536
  retrieving revision 1.537
  diff -u -r1.536 -r1.537
  --- WHATSNEW  2 Feb 2004 10:53:41 -   1.536
  +++ WHATSNEW  5 Feb 2004 22:55:37 -   1.537
  @@ -6,6 +6,10 @@
   
   Fixed bugs:
   ---
  +* Remove a recursive template call in the junit xsls that could trigger a 
stack
  +  overflow. It now uses Xalan extensions to call a Java class directly.
  +  Bugzilla Report 19301
  +  
   * Translate task does not remove tokens when a key is not found.
 It logs a verbose message.  Bugzilla Report 13936.
   
  
  
  

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



cvs commit: ant/src/etc junit-frames.xsl junit-noframes.xsl

2004-02-05 Thread sbailliez
sbailliez2004/02/05 14:45:51

  Modified:src/etc  junit-frames.xsl junit-noframes.xsl
  Log:
  PR: 19301
  Use xalan extensions to replace strings and avoid a stack overflow when doing 
deep recursions.
  
  Revision  ChangesPath
  1.17  +18 -77ant/src/etc/junit-frames.xsl
  
  Index: junit-frames.xsl
  ===
  RCS file: /home/cvs/ant/src/etc/junit-frames.xsl,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- junit-frames.xsl  31 Jul 2003 19:38:39 -  1.16
  +++ junit-frames.xsl  5 Feb 2004 22:45:50 -   1.17
  @@ -1,61 +1,24 @@
   http://www.w3.org/1999/XSL/Transform"; 
version="1.0"
   xmlns:lxslt="http://xml.apache.org/xslt";
   xmlns:redirect="org.apache.xalan.lib.Redirect"
  +xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils"
   extension-element-prefixes="redirect">
   
   
   
   
   
   
   
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  +
  +
   
   
   
  
  
  
  1.11  +20 -78ant/src/etc/junit-noframes.xsl
  
  Index: junit-noframes.xsl
  ===
  RCS file: /home/cvs/ant/src/etc/junit-noframes.xsl,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- junit-noframes.xsl10 Feb 2003 14:13:28 -  1.10
  +++ junit-noframes.xsl5 Feb 2004 22:45:50 -   1.11
  @@ -1,59 +1,23 @@
  -http://www.w3.org/1999/XSL/Transform"; 
version="1.0">
  +http://www.w3.org/1999/XSL/Transform"; 
version="1.0"
  + xmlns:lxslt="http://xml.apache.org/xslt";
  + xmlns:stringutils="xalan://org.apache.tools.ant.util.StringUtils">
   
   
   

   
   
   
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  -
  +
  +
   
   
   
  
  
  

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



cvs commit: ant bootstrap.sh build.xml

2004-02-05 Thread antoine
antoine 2004/02/05 12:49:42

  Modified:.Tag: ANT_16_BRANCH bootstrap.sh build.xml
  Log:
  Merge from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.67.2.1  +13 -2 ant/bootstrap.sh
  
  Index: bootstrap.sh
  ===
  RCS file: /home/cvs/ant/bootstrap.sh,v
  retrieving revision 1.67
  retrieving revision 1.67.2.1
  diff -u -r1.67 -r1.67.2.1
  --- bootstrap.sh  21 Jul 2003 08:56:13 -  1.67
  +++ bootstrap.sh  5 Feb 2004 20:49:42 -   1.67.2.1
  @@ -1,7 +1,18 @@
   #!/bin/sh
   
  -#   Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  -#   reserved.
  +#   Copyright 2000-2004 Apache Software Foundation
  +#
  +#   Licensed under the Apache License, Version 2.0 (the "License");
  +#   you may not use this file except in compliance with the License.
  +#   You may obtain a copy of the License at
  +#
  +#   http://www.apache.org/licenses/LICENSE-2.0
  +#
  +#   Unless required by applicable law or agreed to in writing, software
  +#   distributed under the License is distributed on an "AS IS" BASIS,
  +#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +#   See the License for the specific language governing permissions and
  +#   limitations under the License.
   
   # OS specific support.  $var _must_ be set to either true or false.
   cygwin=false;
  
  
  
  1.392.2.19 +15 -3 ant/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/ant/build.xml,v
  retrieving revision 1.392.2.18
  retrieving revision 1.392.2.19
  diff -u -r1.392.2.18 -r1.392.2.19
  --- build.xml 29 Jan 2004 20:21:14 -  1.392.2.18
  +++ build.xml 5 Feb 2004 20:49:42 -   1.392.2.19
  @@ -686,6 +686,7 @@
   
   
   
  +
 
 
   
  @@ -738,7 +739,10 @@
 
   
 
  -  
  +  
  +
  +
  +  
   
 
   
  @@ -768,7 +772,10 @@
basedir="${build.classes}"
manifest="${manifest}">
 
  -  
  +  
  +
  +
  +  
 
   
  @@ -813,7 +820,10 @@
 
   
 
  -  
  +  
  +
  +
  +  
   
   
   
  @@ -973,6 +983,7 @@
   
   
   
  +
   
   
   
  @@ -1064,6 +1075,7 @@
   
   
   
  +
   
   
   
  
  
  

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



cvs commit: ant bootstrap.sh build.xml

2004-02-05 Thread antoine
antoine 2004/02/05 12:44:02

  Modified:.bootstrap.sh build.xml
  Log:
  Added the NOTICE to the metainf dir of ant.jar, ant-launcher.jar and 
ant-nodeps.jar
  and also to the distribution files
  Updated the copyright notice in bootstrap.sh
  
  Revision  ChangesPath
  1.68  +13 -2 ant/bootstrap.sh
  
  Index: bootstrap.sh
  ===
  RCS file: /home/cvs/ant/bootstrap.sh,v
  retrieving revision 1.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- bootstrap.sh  21 Jul 2003 08:56:13 -  1.67
  +++ bootstrap.sh  5 Feb 2004 20:44:02 -   1.68
  @@ -1,7 +1,18 @@
   #!/bin/sh
   
  -#   Copyright (c) 2000-2003 The Apache Software Foundation.  All rights
  -#   reserved.
  +#   Copyright 2000-2004 Apache Software Foundation
  +#
  +#   Licensed under the Apache License, Version 2.0 (the "License");
  +#   you may not use this file except in compliance with the License.
  +#   You may obtain a copy of the License at
  +#
  +#   http://www.apache.org/licenses/LICENSE-2.0
  +#
  +#   Unless required by applicable law or agreed to in writing, software
  +#   distributed under the License is distributed on an "AS IS" BASIS,
  +#   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  +#   See the License for the specific language governing permissions and
  +#   limitations under the License.
   
   # OS specific support.  $var _must_ be set to either true or false.
   cygwin=false;
  
  
  
  1.408 +15 -3 ant/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/ant/build.xml,v
  retrieving revision 1.407
  retrieving revision 1.408
  diff -u -r1.407 -r1.408
  --- build.xml 13 Jan 2004 12:39:53 -  1.407
  +++ build.xml 5 Feb 2004 20:44:02 -   1.408
  @@ -687,6 +687,7 @@
   
   
   
  +
 
 
   
  @@ -739,7 +740,10 @@
 
   
 
  -  
  +  
  +
  +
  +  
   
 
   
  @@ -769,7 +773,10 @@
basedir="${build.classes}"
manifest="${manifest}">
 
  -  
  +  
  +
  +
  +  
 
   
  @@ -814,7 +821,10 @@
 
   
 
  -  
  +  
  +
  +
  +  
   
   
   
  @@ -974,6 +984,7 @@
   
   
   
  +
   
   
   
  @@ -1065,6 +1076,7 @@
   
   
   
  +
   
   
   
  
  
  

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



DO NOT REPLY [Bug 26696] New: - Corrupted zip file

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26696

Corrupted zip file

   Summary: Corrupted zip file
   Product: Ant
   Version: 1.6.0
  Platform: PC
OS/Version: Other
Status: NEW
  Severity: Minor
  Priority: Other
 Component: Documentation
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


The tutorial-writing-tasks-src.zip file is corrupted in ANT 1.6.0 formal 
release.  It could not be unzipped by using windzip under window2000. The 
download has been confirmed using "fsum.exe -jm filename".  Please attach a 
good one.  Thanks.

Kirk Lu

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



Re: [VOTE] Matt Benson as a committer

2004-02-05 Thread Peter Reilly
Antoine Lévy-Lambert wrote:
I am impressed by the number of contributions to the user list and of 
patches sent to Bugzilla by Matt Benson.

I would like to propose him to become an ant committer.
Do you agree
[ ] Yes
[ ] No
Let me start with my +1
Antoine
[x] Yes +1
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 26690] - ZoneInfoMappings

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26690

ZoneInfoMappings





--- Additional Comments From [EMAIL PROTECTED]  2004-02-05 17:29 ---
Why ZoneInfoMappings file is searched in 
D:\j2sdk1.4.1_02\lib\zi\ZoneInfoMappings, while it is present in 
D:\j2sdk1.4.1_02\jre\lib\zi\ZoneInfoMappings ?

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



DO NOT REPLY [Bug 26690] New: - ZoneInfoMappings

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26690

ZoneInfoMappings

   Summary: ZoneInfoMappings
   Product: Ant
   Version: 1.6.0
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Major
  Priority: Other
 Component: Build Process
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


Hi,

We are getting the following error message in Ant1.6.0,
ZoneInfo: D:\j2sdk1.4.1_02\lib\zi\ZoneInfoMappings (The system cannot find the 
path specified)

We are executing one custom ant task, which conatins some java.io functions. 
There is no error in the functinality of custom ant task. It is working fine. 
We are getting above error message during instance of FileOutputStream class. 

But above error message is not displayed in Ant1.5.4. 
How can we suppress the above error message in Ant 1.6.0.? 

Thanks,
Jitesh

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



[VOTE] Matt Benson as a committer

2004-02-05 Thread Antoine Lévy-Lambert
I am impressed by the number of contributions to the user list and of 
patches sent to Bugzilla by Matt Benson.

I would like to propose him to become an ant committer.
Do you agree
[ ] Yes
[ ] No
Let me start with my +1
Antoine
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [VOTE] date for 1.6.1 final

2004-02-05 Thread Steve Loughran
Antoine Lévy-Lambert wrote:
Concerning 1.6.1, the only work I have leftover to do is :
put the 2.0 license in 24 scripts, xsl or txt documents + checkin the 
NOTICE.
I plan to do this this evening.

Do we want to release 1.6.1 final  on Thursday, Feb 12th as proposed 
previously ?

Or do we need to wait more ?
[ +1] Yes
[ ] No
I think there are enough changes in there, time to ship.
The one interesting issue is that as Java1.5 beta has just shipped, we 
should test against that to see if there are any surprises that we can 
fix in 1.6.1. The usual problems -javac, javadoc, rmi entrypoints, OS 
version detection etc etc need to be looked at.

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


Re: cvs commit: ant/src/script ant

2004-02-05 Thread Peter Reilly
Stefan Bodewig wrote:
Finally the script has to do a lot of stuff to parse the command line
and plug it back together again as it now wants to parse some options
itself (and hide them from Ant).  This is not trivial to do in way
that works on all Bourne shell dialects out there, in particular with
command line arguments that contain spaces.
 

This sounds dangerous. Perhaps Main#processArgs could ignore the options
that are used by the ant script.
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: ant/src/script ant

2004-02-05 Thread Stefan Bodewig
On 5 Feb 2004, <[EMAIL PROTECTED]> wrote:

>   * a --noconfig switch that suppresses sourcing of additional
> configuration files.

this is not the full story, there now also is

  echo '  --help, --hprint this message and ant help'
  echo '  --noconfig suppress sourcing of /etc/ant.conf,'
  echo ' $HOME/.ant/ant.conf, and $HOME/.antrc'
  echo ' configuration files'
  echo '  --usejikes enable use of jikes by default, unless'
  echo ' set explicitly in configuration files'
  echo '  --execdebugprint ant exec line generated by this'
  echo ' launch script'

which we may want to discard or keep (I personally don't have a
strong opinon here).

Also the script will now source ~/.ant/ant.conf if present -
again, we can make this rpm_mode specific or drop completely.  I'd
like to keep it.

Finally the script has to do a lot of stuff to parse the command line
and plug it back together again as it now wants to parse some options
itself (and hide them from Ant).  This is not trivial to do in way
that works on all Bourne shell dialects out there, in particular with
command line arguments that contain spaces.

I've tested the new script on Linux, FreeBSD[1], MacOS X and Solaris,
using ANT_HOME with a space in it and a build file with a space in
it - it worked.  Things I couldn't test but that should be tested
are Korn shell based systems (AIX or OpenBSD) as well as Cygwin.

Cygwin users may note that ANT_LIB now runs through cygpath, I've no
idea whether this is actually needed and fixes a bug or causes
problems or is completely insignificant at all.

Stefan

Footnotes: 
[1]  I used minotaur as my testbed and accidently used the Ant 1.5.4
 installation on it first - this one failed for
 ant -f "sand box"/test.xml while the new script works.  I haven't
 tested the script of 1.6.0.

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



cvs commit: ant/src/script ant

2004-02-05 Thread bodewig
bodewig 2004/02/05 05:09:28

  Modified:src/main/org/apache/tools/ant/launch Launcher.java
   src/script ant
  Log:
  Changes to make Ant installed in JPackage's RPM environment behave a
  little bit more friendly.
  
  * a new system property ant.lib.dir that if set will be used instead
of the location of ant-launcher.jar to slurp in the jars for Ant.
  
  * a --noconfig switch that suppresses sourcing of additional
configuration files.
  
  * various changes to the $rpm_mode specific parts of the file.
  
  Submitted by: Randy Watler 
  
  Revision  ChangesPath
  1.13  +15 -1 ant/src/main/org/apache/tools/ant/launch/Launcher.java
  
  Index: Launcher.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/launch/Launcher.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- Launcher.java 4 Feb 2004 20:37:24 -   1.12
  +++ Launcher.java 5 Feb 2004 13:09:27 -   1.13
  @@ -36,6 +36,9 @@
   /** The Ant Home property */
   public static final String ANTHOME_PROPERTY = "ant.home";
   
  +/** The Ant Library Directory property */
  +public static final String ANTLIBDIR_PROPERTY = "ant.library.dir";
  +
   /** The location of a per-user library directory */
   public static final String USER_LIBDIR = ".ant/lib";
   
  @@ -138,7 +141,18 @@
   // Now try and find JAVA_HOME
   File toolsJar = Locator.getToolsJar();
   
  -URL[] systemJars = Locator.getLocationURLs(jarDir);
  +// determine ant library directory for system jars: use property
  +// or default using location of ant-launcher.jar
  +File antLibDir = null;
  +String antLibDirProperty = System.getProperty(ANTLIBDIR_PROPERTY);
  +if (antLibDirProperty != null) {
  +antLibDir = new File(antLibDirProperty);
  +}
  +if ((antLibDir == null) || ! antLibDir.exists()) {
  +antLibDir = jarDir;
  +System.setProperty(ANTLIBDIR_PROPERTY, 
antLibDir.getAbsolutePath());
  +}
  +URL[] systemJars = Locator.getLocationURLs(antLibDir);
   
   File userLibDir
   = new File(System.getProperty("user.home"), USER_LIBDIR);
  
  
  
  1.43  +127 -35   ant/src/script/ant
  
  Index: ant
  ===
  RCS file: /home/cvs/ant/src/script/ant,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- ant   2 Feb 2004 19:30:05 -   1.42
  +++ ant   5 Feb 2004 13:09:28 -   1.43
  @@ -14,23 +14,64 @@
   #   See the License for the specific language governing permissions and
   #   limitations under the License.
   
  -# load system-wide ant configuration
  -if [ -f "/etc/ant.conf" ] ; then
  -  . /etc/ant.conf
  -fi
  +# Extract launch and ant arguments, (see details below).
  +ant_exec_args=
  +no_config=false
  +use_jikes_default=false
  +ant_exec_debug=false
  +show_help=false
  +for arg in "$@" ; do
  +  if [ "$arg" = "--noconfig" ] ; then
  +no_config=true
  +  elif [ "$arg" = "--usejikes" ] ; then
  +use_jikes_default=true
  +  elif [ "$arg" = "--execdebug" ] ; then
  +ant_exec_debug=true
  +  elif [ "$arg" = "--h" -o "$arg" = "--help" ] ; then
  +show_help=true
  +ant_exec_args="$ant_exec_args -h"
  +  else
  +if [ "$arg" = "-h" -o "$arg" = "-help" ] ; then
  +  show_help=true
  +fi
  +ant_exec_args="$ant_exec_args \"$arg\""
  +  fi
  +done
   
  -# provide default values for people who don't use RPMs
  -if [ -z "$rpm_mode" ] ; then
  -  rpm_mode=false;
  -fi
  +# Source/default ant configuration
  +if $no_config ; then
  +  rpm_mode=false
  +  usejikes=$use_jikes_default
  +else
  +  # load system-wide ant configuration
  +  if [ -f "/etc/ant.conf" ] ; then
  +. /etc/ant.conf
  +  fi
  +
  +  # load user ant configuration
  +  if [ -f "$HOME/.ant/ant.conf" ] ; then
  +. $HOME/.ant/ant.conf
  +  fi
  +  if [ -f "$HOME/.antrc" ] ; then
  +. "$HOME/.antrc"
  +  fi
   
  -if [ -z "$usejikes" ] ; then
  -  usejikes=false;
  +  # provide default configuration values
  +  if [ -z "$rpm_mode" ] ; then
  +rpm_mode=false
  +  fi
  +  if [ -z "$usejikes" ] ; then
  +usejikes=$use_jikes_default
  +  fi
   fi
   
  -# load user ant configuration
  -if [ -f "$HOME/.antrc" ] ; then
  -  . "$HOME/.antrc"
  +# Setup Java environment in rpm mode
  +if $rpm_mode ; then
  +  if [ -f /usr/share/java-utils/java-functions ] ; then
  +. /usr/share/java-utils/java-functions
  +set_jvm
  +set_javacmd
  +  fi
   fi
   
   # OS specific support.  $var _must_ be set to either true or false.
  @@ -109,29 +150,58 @@
 exit 1
   fi
   
  -# in rpm_mode get ant/optional/xml parser&api from JAVALIBDIR
  -if $rpm_mode; then
  -  JAVALIBDIR=/usr/share/java
  -  for i in ant ant-optional jax

Re: [VOTE] date for 1.6.1 final

2004-02-05 Thread Antoine Lévy-Lambert
Stefan Bodewig wrote:
On Thu, 05 Feb 2004, Stefan Bodewig <[EMAIL PROTECTED]> wrote:
 

I've one more tiny modification I'd like to do
   

I forgot the ant shell script modifications for jpackage.  I have a
new patch by Randy Watler that looks promising, I just need to test
and integrate it, hope I'll do so by tomorrow as well - Monday the
latest.
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

No problem, this is fine.
Antoine
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 18886] - Move files deletes directory if the directory is empty

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=18886

Move files deletes directory if the directory is empty

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2004-02-05 12:31 ---
*** Bug 26683 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 26683] - Renaming of nonexistent files deletes the folder

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26683

Renaming of nonexistent files deletes the folder

[EMAIL PROTECTED] changed:

   What|Removed |Added

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



--- Additional Comments From [EMAIL PROTECTED]  2004-02-05 12:31 ---


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

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



DO NOT REPLY [Bug 26683] New: - Renaming of nonexistent files deletes the folder

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26683

Renaming of nonexistent files deletes the folder

   Summary: Renaming of nonexistent files deletes the folder
   Product: Ant
   Version: 1.5.4
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Major
  Priority: Other
 Component: Core tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I encountered an unexpected behaviour of the move task.
If you try to rename files within the same folder but the nested fileset does 
not yield any files, the folder itself will be deleted.
This behaviour is not documented and I think also not intended.

Here is an example project reproducing the problem:




  
  
  
  
  


  


  
  
  




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



Re: [VOTE] date for 1.6.1 final

2004-02-05 Thread Stefan Bodewig
On Thu, 05 Feb 2004, Stefan Bodewig <[EMAIL PROTECTED]> wrote:

> I've one more tiny modification I'd like to do

I forgot the ant shell script modifications for jpackage.  I have a
new patch by Randy Watler that looks promising, I just need to test
and integrate it, hope I'll do so by tomorrow as well - Monday the
latest.

Stefan

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



RE: [VOTE] date for 1.6.1 final

2004-02-05 Thread Jan . Materne
> Concerning 1.6.1, the only work I have leftover to do is :
> put the 2.0 license in 24 scripts, xsl or txt documents + 
> checkin the NOTICE.
> I plan to do this this evening.
> 
> Do we want to release 1.6.1 final  on Thursday, Feb 12th as 
> proposed previously ?
> 
> Or do we need to wait more ?
> 
> [ ] Yes
> [ ] No
> 
> Antoine


[X] Yes, don´t know why to wait ...
[ ] No

Jan


Re: [VOTE] date for 1.6.1 final

2004-02-05 Thread Stefan Bodewig
On Thu, 05 Feb 2004, Antoine Lévy-Lambert <[EMAIL PROTECTED]>
wrote:

> Concerning 1.6.1, the only work I have leftover to do is : put the
> 2.0 license in 24 scripts, xsl or txt documents + checkin the
> NOTICE.

I've one more tiny modification I'd like to do - make  behave
more nicely in a non GUI environment.  See
.

I don't think it is strictly necessary to go into 1.6.1, but I'm
afraid that I won't manage to commit a clean patch before tomorrow.

> Do we want to release 1.6.1 final on Thursday, Feb 12th as proposed
> previously ?
> 
> Or do we need to wait more ?

We can go ahead with next week - or earlier if you want to.

Stefan

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



DO NOT REPLY [Bug 26539] - tag cannot suppress xdoclet tags with hyphens

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26539

 tag cannot suppress xdoclet tags with hyphens

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-02-05 11:20 ---
The problem with hyphens is a bug in javadoc that has
been fixed in javadoc 1.5
http://developer.java.sun.com/developer/bugParade/bugs/4920381.html
and
http://java.sun.com/j2se/1.5.0/docs/tooldocs/javadoc/whatsnew-1.5.0.html

Marking as fixed

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



DO NOT REPLY [Bug 26539] - tag cannot suppress xdoclet tags with hyphens

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26539

 tag cannot suppress xdoclet tags with hyphens

[EMAIL PROTECTED] changed:

   What|Removed |Added

Summary| tag cannot| tag cannot
   |suppress xdoclet tags with  |suppress xdoclet tags with
   |hyphens or colons   |hyphens



--- Additional Comments From [EMAIL PROTECTED]  2004-02-05 11:18 ---
Change the name back to orginal (colons are as separate problem).

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



Re: [VOTE] date for 1.6.1 final

2004-02-05 Thread Peter Reilly
Antoine Lévy-Lambert wrote:
Concerning 1.6.1, the only work I have leftover to do is :
put the 2.0 license in 24 scripts, xsl or txt documents + checkin the 
NOTICE.
I plan to do this this evening.

Do we want to release 1.6.1 final  on Thursday, Feb 12th as proposed 
previously ?
Yes
Or do we need to wait more ?
No
[ ] Yes
[ ] No
[x] Yes,  (this is a confusing ...)
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


[VOTE] date for 1.6.1 final

2004-02-05 Thread Antoine Lévy-Lambert
Concerning 1.6.1, the only work I have leftover to do is :
put the 2.0 license in 24 scripts, xsl or txt documents + checkin the NOTICE.
I plan to do this this evening.
Do we want to release 1.6.1 final  on Thursday, Feb 12th as proposed previously 
?
Or do we need to wait more ?
[ ] Yes
[ ] No
Antoine
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: upgrade to License 2.0 on head

2004-02-05 Thread Antoine Lévy-Lambert
Stefan Bodewig wrote:
On Wed, 04 Feb 2004, Antoine Lévy-Lambert <[EMAIL PROTECTED]>
wrote:
 

Not sure exactly how it should be worded though. Do we want just to
check in the above text,
   

"the above text" being section 4 of the 1.1 license.
Yes, I think so.
See also  linked
from .
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

Will do.
Antoine
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: upgrade to License 2.0 on head

2004-02-05 Thread Stefan Bodewig
On Wed, 04 Feb 2004, Antoine Lévy-Lambert <[EMAIL PROTECTED]>
wrote:

> Not sure exactly how it should be worded though. Do we want just to
> check in the above text,

"the above text" being section 4 of the 1.1 license.

Yes, I think so.

See also  linked
from .

Stefan

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



DO NOT REPLY [Bug 25345] - jspc tag broken with new version of jasper

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=25345

jspc tag broken with new version of jasper





--- Additional Comments From [EMAIL PROTECTED]  2004-02-05 09:42 ---
That is something to take up with the Tomcat team; it should not be too hard to
add it to their task. 

The problem is, there is too high a rate-of-change in the tomcat Jasperc
behaviour (JSP->java file mapping, command options, error codes) and so many
other side issues that it is best if the compiler task lives with that team
-that ensures it is always in sync with the relevant release of the compiler. As
they release point releases much more frequently than ant does, this is 
important.

I might have a look at their task to see what can be done to take the best bits
from our tasks.

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



DO NOT REPLY [Bug 26570] - duplicate instances of interface com.sun.javadoc.RootDoc loaded

2004-02-05 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://nagoya.apache.org/bugzilla/show_bug.cgi?id=26570

duplicate instances of  interface com.sun.javadoc.RootDoc loaded





--- Additional Comments From [EMAIL PROTECTED]  2004-02-05 07:49 ---
If you prefer you may use the old ant.bat/lcp.bat combination to start Ant
without the new launch code. This should give you the same class loader config
as Ant 1.5. You may run into command line length limits under Windows when doing
so. If necessary this could be added to the release as ant-compat.bat.

I would note that creation of a URLClassLoader without specifying a parent,
assumes the availability of classes in the system loader. This assumption, in
turn, limits you to certain configurations of Ant. For example, an IDE which
runs Ant natively, even based on Ant 1.5, is unlikely to run your build properly
since it's system loader will not necessarily have the required classes.

This is not quite an issue of Ant providing a runtime environment that is the
same as compile time. Ant does that already as a task has access to tools.jar,
ant.jar and the ant libraries. Rather it is the code that is in the custom task
that is not providing that runtime environment, by making assumptions about the
content of the system classloader.

I was hoping you would clarify the usage of the Context ClassLoader you
mentioned briefly as it may offer a workaround in the form of a wrapper task or
something similar. IOW, derive a new task from the one you can't change and in
it's execute methos set the context classloader, then invoke super.execute(). If
the custom task uses the context class loader you'd have a workaround.

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