DO NOT REPLY [Bug 33771] - Default username and password for ftp task

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33771.
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=33771





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 08:27 ---
ncftp uses NcFTP@ as a default password. Now you may argue that Ant is morally
superior to ncftp, but then you should also insist that the user specify a
custom user agent string with contact information when using the get task :-)

My suggestion: Default the username and password to anonymous and ant@. It's
a trivial improvement, but it does help make Ant a little bit simpler and less
cumbersome to work with.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



AW: Online Bookstore

2005-05-31 Thread Jan . Materne
 You seem to be using a slightly different form for the Powerll's link,
 but the right page comes up, so I suppose it's all right. The
 affiliate ID is correct.
 
 -Ted.

Page is online at http://ant.apache.org/resources.html#books



 If Amazon and others do not sponsor us, we can just put a single link to 
 www.addall.com http://www.addall.com for people to find the best price.

 - Alexey.

I think we shouldnt do that. To many shops could start Shop X is listed,
why I´m not?
So only shops are there where the ASF could earn some $$.

Jan


AW: Ant Logging isVerbose()?

2005-05-31 Thread Jan . Materne
 In log4j, commons-logging, etc.  a common pattern is
 
 if (isDebugEnabled()) {
 // some expensive string building to put message together
log.debug(expensiveMessage);
 }
 
 I don't see such functionality in Ant
  
  
  Because Ant doesn't have a way to determine isDebugEnabled().
  XmlLogger, for example, logs everything and ignores the command line
  switches.  So the only thing which would know it is the listeners
  themselves.
  
  Since the listener API doesn't expose the verbosity - and 
 changing the
  interface is no good idea either - I don't see how we could do it.
 
 I've always wondered how much overhead the verbose/debug log 
 info takes 
 up. It would make sense to determine the cost before addressing the 
 issue. And, as you say, the only solution is changing the 
 interface (or 
 cheating, using reflection on the side).

Or introducing a new ...

public interface BuildLogger2 extends BuildLogger {
public boolean isVerboseEnabled();
...
}


Jan


Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html

2005-05-31 Thread Neeme Praks


A back-off procedure usually refers to the procedure of allowing other 
 participants also to have a word in whatever ongoing activity. In 
this case, SteveL probably meant that very same have a delay before 
retry idea that you also had.


As for tight loop that eats up all the resources - well, this loop 
contains network activity that is slow. So I don't see it as a very 
tight loop. And in my case it usually just fails once or twice. So if I 
set it to 10 retries or endless loop doesn't really make a difference in 
practice. And if it is just 1-2 retries, there is not much of a loop to 
talk about.


Rgds,
Neeme

Steve Cohen wrote:
I'm not entirely sure what you mean.  By jitter, are you referring to 
varying the time delay?  I asked Neeme Praks why he didn't put in a time 
delay and he said he didn't need one.  In his use case, he simply sets 
it up to run forever, and that works for him.  Eventually it succeeds. 
But I wonder about this.  Sounds like it could be a tight loop that eats 
all processing under the wrong conditions.


And I'm not sure at all what you mean by a back-off algorithm.

So please elaborate.



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



1.6.5 and javadoc with external files and directories with spaces on windows.

2005-05-31 Thread Peter Reilly

There was some discussion last week about bug 27814.
http://issues.apache.org/bugzilla/show_bug.cgi?id=27814

Basicly, because of  invalid doc for javadoc, ant generates external files
containing invalid filenames for the javadoc.  - a:\a dir with 
spaces\subdir\file.name

javadoc does like this (backspaces within a string delimited by ).
The fix that Stefan placed
in was to replace File.separatorChar with / - which is a valid 
alternative file separator
character on windows. The fix has been tested by at least two people 
(Jesse and Tom Klasse)

on windows.

The change is very small:


Index: Javadoc.java
===
RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v

retrieving revision 1.124.2.8
diff -u -3 -p -r1.124.2.8 Javadoc.java
--- Javadoc.java30 Mar 2005 16:56:19 -  1.124.2.8
+++ Javadoc.java31 May 2005 09:30:06 -
@@ -1905,7 +1905,9 @@ public class Javadoc extends Task {
String sourceFileName = sf.getFile().getAbsolutePath();
if (useExternalFile) {
if (javadoc4  sourceFileName.indexOf( )  -1) {
-srcListWriter.println(\ + sourceFileName + 
\);

+String name =
+sourceFileName.replace(File.separatorChar, 
'/');

+srcListWriter.println(\ + name + \);
} else {
srcListWriter.println(sourceFileName);
}

However, I would like to make a small change:
Index: Javadoc.java
===
RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v

retrieving revision 1.124.2.8
diff -u -3 -p -r1.124.2.8 Javadoc.java
--- Javadoc.java30 Mar 2005 16:56:19 -  1.124.2.8
+++ Javadoc.java31 May 2005 09:32:38 -
@@ -1905,7 +1905,11 @@ public class Javadoc extends Task {
String sourceFileName = sf.getFile().getAbsolutePath();
if (useExternalFile) {
if (javadoc4  sourceFileName.indexOf( )  -1) {
-srcListWriter.println(\ + sourceFileName + 
\);

+String name = sourceFileName;
+if (File.separatorChar == '\\') {
+name = 
sourceFileName.replace(File.separatorChar, '/');

+}
+srcListWriter.println(\ + name + \);
} else {
srcListWriter.println(sourceFileName);
}

-i.e. only do the substituation if the File separator character is '\'.

I think that should go into ant 1.6.5 as
 - it is a bug fix,
 - it is small and localized
 - it affects a well used task - javadoc

Peter

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



Re: Online Bookstore

2005-05-31 Thread Ted Husted
Thank looks great, guys. I'll update our Ant category to point to this
page now.

Henri Yadell and Phil Steitz are working on a new infrastructure that
will be built with Ant.  Once we have that up, and the bookstore under
a friendly URL, like ApacheBookstore.org, do you think you would be
able to link from this page to the rest of the bookstore?

-Ted.

On 5/31/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  You seem to be using a slightly different form for the Powerll's link,
  but the right page comes up, so I suppose it's all right. The
  affiliate ID is correct.
 
  -Ted.
 
 Page is online at http://ant.apache.org/resources.html#books
 
 
 
  If Amazon and others do not sponsor us, we can just put a single link to
  www.addall.com http://www.addall.com for people to find the best price.
 
  - Alexey.
 
 I think we shouldnt do that. To many shops could start Shop X is listed,
 why I´m not?
 So only shops are there where the ASF could earn some $$.
 
 Jan
 
 


-- 
HTH, Ted.

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



DO NOT REPLY [Bug 33771] - Default username and password for ftp task

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=33771.
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=33771





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 12:41 ---
I still think that in the majority of cases where Ant is used to perform FTP we
are not using anonymous access.  The user is contacting some site repeatedly, to
which he has real user access and getting/putting/updating files.  While I can
imagine use cases for Ant involving anonymous access, I think they are the
minority.  I could be wrong.  But ask yourself why this request has NOT been
made very much, if at all, before.

I think you are talking about a convenience default for what is a rather
uncommon use case.  Instead of this, however, we are beginning to think about
something that would much more powerfully increase the convenience factor of
using the ftp task, for many more users.  That is, separating the connection
from the action performed and leaving the connection live for several
consecutive actions.  So instead of specifying username, password, server, port,
system type, custom settings on every ftp action performed, you could specify
all of these once for a whole group of actions.  Each action would not have to
be a separate call to the ftp task.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



Re: 1.6.5 and javadoc with external files and directories with spaces on windows.

2005-05-31 Thread Stefan Bodewig
On Tue, 31 May 2005, Peter Reilly [EMAIL PROTECTED] wrote:

 The fix that Stefan placed in was to replace File.separatorChar with
 /

And the only reason I didn't merge it into the 1.6 branch before 1.6.3
was that nobody had confirmed it by then.

 The fix has been tested by at least two people (Jesse and Tom
 Klasse) on windows.

+1 for merging it into 1.6.5 then.

 However, I would like to make a small change:

The code I used can be found in some Javac adapters as well, I'm fine
with your change, but then we should be consistent.  In HEAD, that is.

Stefan

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



cvs commit: ant/xdocs/stylesheets site.vsl

2005-05-31 Thread bodewig
bodewig 2005/05/31 04:42:06

  Modified:src/main/org/apache/tools/ant/types/optional/image
Scale.java
   src/main/org/apache/tools/ant/util XMLFragment.java
   src/testcases/org/apache/tools/ant/taskdefs/optional
EchoPropertiesTest.java
   xdocs/stylesheets site.vsl
  Log:
  2005
  
  Revision  ChangesPath
  1.14  +1 -1  
ant/src/main/org/apache/tools/ant/types/optional/image/Scale.java
  
  Index: Scale.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/optional/image/Scale.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- Scale.java24 May 2005 17:17:29 -  1.13
  +++ Scale.java31 May 2005 11:42:05 -  1.14
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2002-2004 The Apache Software Foundation
  + * Copyright  2002-2005 The 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.
  
  
  
  1.12  +1 -1  ant/src/main/org/apache/tools/ant/util/XMLFragment.java
  
  Index: XMLFragment.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/XMLFragment.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- XMLFragment.java  24 May 2005 21:04:14 -  1.11
  +++ XMLFragment.java  31 May 2005 11:42:05 -  1.12
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2003-2004 The Apache Software Foundation
  + * Copyright  2003-2005 The 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.
  
  
  
  1.13  +1 -1  
ant/src/testcases/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java
  
  Index: EchoPropertiesTest.java
  ===
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/optional/EchoPropertiesTest.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- EchoPropertiesTest.java   24 May 2005 17:54:47 -  1.12
  +++ EchoPropertiesTest.java   31 May 2005 11:42:05 -  1.13
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2000-2004 The Apache Software Foundation
  + * Copyright  2000-2005 The 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.
  
  
  
  1.14  +1 -1  ant/xdocs/stylesheets/site.vsl
  
  Index: site.vsl
  ===
  RCS file: /home/cvs/ant/xdocs/stylesheets/site.vsl,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- site.vsl  30 May 2005 15:54:00 -  1.13
  +++ site.vsl  31 May 2005 11:42:05 -  1.14
  @@ -1,5 +1,5 @@
   #*
  - * Copyright  2001-2004 The Apache Software Foundation
  + * Copyright  2001-2005 The 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.
  
  
  

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



cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs MacroDefTest.java

2005-05-31 Thread bodewig
bodewig 2005/05/31 04:43:51

  Modified:src/testcases/org/apache/tools/ant/taskdefs Tag:
ANT_16_BRANCH MacroDefTest.java
  Log:
  2005
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.2.2.16  +1 -1  
ant/src/testcases/org/apache/tools/ant/taskdefs/MacroDefTest.java
  
  Index: MacroDefTest.java
  ===
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/MacroDefTest.java,v
  retrieving revision 1.2.2.15
  retrieving revision 1.2.2.16
  diff -u -r1.2.2.15 -r1.2.2.16
  --- MacroDefTest.java 30 May 2005 10:05:41 -  1.2.2.15
  +++ MacroDefTest.java 31 May 2005 11:43:51 -  1.2.2.16
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2003-2004 The Apache Software Foundation
  + * Copyright  2003-2005 The 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.
  
  
  

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



DO NOT REPLY [Bug 21681] - Allow apply to use all files in set

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=21681.
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=21681


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|FIXED   |




--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 15:58 ---
You're right.  :) / :(

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35142] New: - whichresource page doesn't adapt browser width; inconsistent with rest of manual

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35142.
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=35142

   Summary: whichresource page doesn't adapt browser width;
inconsistent with rest of manual
   Product: Ant
   Version: 1.6.4
  Platform: Other
   URL: http://ant.apache.org/manual/CoreTasks/subant.html
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Documentation
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


In the Ant User Manual, in the subant task's page, the text does not 
wrap to fit the user's browser window (or pane within that window).  This
behavior (and that page's formatting in general) is consistent with most of
the rest of the Ant Manual pages.

The text in the body of the page does not wrap to fit because the header
and the body are wrapped in a table.  (That forces the browser to format
the body to match the width of the header, instead of letting the browser
shrink or stretch the body to fit the user's chosen browser window width.)

(Also, something, possibly that wrapping in a table, prevents the browser 
from trying to narrow the header text column enough to make it and the 
Ant logo fit next to each other.)

Additionally, the formatting of the page is inconsistent with the rest of
the Ant manual.  (It looks like someone cut and pasted from something other
than another Ant task.)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 30548] - NPE in oata.Project when executing emma task from netbeans.

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=30548.
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=30548


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEEDINFO|RESOLVED
 Resolution||INVALID




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34823] - Expand property values ${foo} in description

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=34823.
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=34823


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:02 ---
*** Bug 1918 has been marked as a duplicate of this bug. ***

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35141] - whichresource page doesn't adapt browser width; inconsistent with rest of manual

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35141.
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=35141


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX




--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:07 ---
This page was automatically generated using a means that was, at the time, 
under investigation for being the generation facility for the entire Ant 
manual.  At present more options continue to be investigated.  This may offend 
the occasional eye but you must agree the only possible harm here would be to 
aesthetic sensibilities.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35142] - subant page doesn't adapt browser width; inconsistent with rest of manual

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35142.
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=35142


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WONTFIX
Summary|whichresource page doesn't  |subant page doesn't adapt
   |adapt browser width;|browser width; inconsistent
   |inconsistent with rest of   |with rest of manual
   |manual  |




--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:08 ---
This page was automatically generated using a means that was, at the time, 
under investigation for being the generation facility for the entire Ant 
manual.  At present more options continue to be investigated.  This may offend 
the occasional eye but you must agree the only possible harm here would be to 
aesthetic sensibilities.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 34534] - Should document $$ escaping (or show where other than javac.html it is documented).

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=34534.
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=34534





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:17 ---
Yeah, let's think we're going to add this to the Properties section of 
the using document.  This is where properties are officially introduced.  
Additionally we should IMHO add a link from the property task back to this 
section to increase the chance of its being found by those perusing the manual.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: ant/docs/manual using.html

2005-05-31 Thread mbenson
mbenson 2005/05/31 08:30:53

  Modified:docs/manual/CoreTasks property.html
   docs/manual using.html
  Log:
  Clearly (hopefully) document '$'-escaping relating to Ant properties;
  increase findability of this information by linking from property task.
  PR: 34534
  
  Revision  ChangesPath
  1.23  +2 -1  ant/docs/manual/CoreTasks/property.html
  
  Index: property.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTasks/property.html,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- property.html 29 Apr 2005 18:58:13 -  1.22
  +++ property.html 31 May 2005 15:30:53 -  1.23
  @@ -10,7 +10,8 @@
   
   h2a name=propertyProperty/a/h2
   h3Description/h3
  -pSets a property (by name and value), or set of properties (from file or
  +pSets a a href=../using.html#propertiesproperty/a
  +(by name and value), or set of properties (from file or
   resource) in the project.  Properties are case sensitive./p
Properties are immutable: whoever sets a property first freezes it for the
rest of the build; they are most definitely not variable.
  
  
  
  1.43  +13 -0 ant/docs/manual/using.html
  
  Index: using.html
  ===
  RCS file: /home/cvs/ant/docs/manual/using.html,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- using.html25 May 2005 22:14:51 -  1.42
  +++ using.html31 May 2005 15:30:53 -  1.43
  @@ -245,6 +245,19 @@
   quot;buildquot;, then this could be used in an attribute like this:
   code${builddir}/classes/code.
   This is resolved at run-time as codebuild/classes/code./p
  +pIn the event you should need to include this construct literally
  +(i.e. without property substitutions), simply escape the '$' character
  +by doubling it. To continue the previous example:
  +pre  lt;echogt;$${builddir}=${builddir}lt;/echogt;/pre
  +will echo this message:
  +pre  ${builddir}=build/classes/pre/p
  +pIn order to maintain backward compatibility with older Ant releases,
  +a single '$' character encountered apart from a property-like construct
  +(including a matched pair of french braces) will be interpreted literally;
  +that is, as '$'.  The correct way to specify this literal character,
  +however, is by using the escaping mechanism unconditionally, so that $$
  +is obtained by specifying .  Mixing the two approaches yields
  +unpredictable results, as $$$ results in $$./p
   
   h3a name=built-in-propsBuilt-in Properties/a/h3
   pAnt provides access to all system properties as if they had been
  
  
  

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



DO NOT REPLY [Bug 34534] - Should document $$ escaping (or show where other than javac.html it is documented).

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=34534.
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=34534


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.7




--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:31 ---
Fixed in CVS HEAD.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 20635] - Could the copy task use path-like structures ?

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=20635.
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=20635


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE




--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:35 ---


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

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 21681] - Allow apply to use all files in set

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=21681.
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=21681





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:44 ---
It is still possible to use ifuptodate... in this situation. apply works 
with one-to-one mapping, anything more complex would require more comlex 
constructs. I think this bug is still resolved, because there is a solution 
for the problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 31744] - FTP subtasks should all share one connection

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31744.
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=31744





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:49 ---
of course, I didn't see any reason why the connection sharing would have to be 
all in one target.  It seems that you could attempt to close the connection 
during finalization (worst case).  Then the connection could be used across 
targets and the refid approach still has merit, with the nested action approach 
being an also-good-but-separate idea.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



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

2005-05-31 Thread peterreilly
peterreilly2005/05/31 08:54:13

  Modified:.Tag: ANT_16_BRANCH WHATSNEW
   src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH
Javadoc.java
  Log:
  sync bug 27814
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.503.2.234 +3 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.233
  retrieving revision 1.503.2.234
  diff -u -r1.503.2.233 -r1.503.2.234
  --- WHATSNEW  30 May 2005 20:47:20 -  1.503.2.233
  +++ WHATSNEW  31 May 2005 15:54:13 -  1.503.2.234
  @@ -13,6 +13,9 @@
   * macrodef with redefined default values was incorrect. (Fix for
  31215 had a bug). Bugzilla report 35109.
   
  +* javadoc will convert baskslashes to forwardslashes when generating file
  +  list by useexternalfile. Bugzilla report 27814.
  +
   Changes from Ant 1.6.3 to Ant 1.6.4
   ===
   
  
  
  
  No   revision
  No   revision
  1.124.2.9 +5 -1  ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java
  
  Index: Javadoc.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Javadoc.java,v
  retrieving revision 1.124.2.8
  retrieving revision 1.124.2.9
  diff -u -r1.124.2.8 -r1.124.2.9
  --- Javadoc.java  30 Mar 2005 16:56:19 -  1.124.2.8
  +++ Javadoc.java  31 May 2005 15:54:13 -  1.124.2.9
  @@ -1905,7 +1905,11 @@
   String sourceFileName = sf.getFile().getAbsolutePath();
   if (useExternalFile) {
   if (javadoc4  sourceFileName.indexOf( )  -1) {
  -srcListWriter.println(\ + sourceFileName + \);
  +String name = sourceFileName;
  +if (File.separatorChar == '\\') {
  +name = 
sourceFileName.replace(File.separatorChar, '/');
  +}
  +srcListWriter.println(\ + name + \);
   } else {
   srcListWriter.println(sourceFileName);
   }
  
  
  

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



DO NOT REPLY [Bug 31744] - FTP subtasks should all share one connection

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31744.
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=31744





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:43 ---
This would pretty nearly satisfy bug 33214 as well, wouldn't it?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



[Ant Wiki] Update of AntModules by JanMatèrne

2005-05-31 Thread Apache Wiki
Dear Wiki user,

You have subscribed to a wiki page or wiki category on Ant Wiki for change 
notification.

The following page has been changed by JanMatèrne:
http://wiki.apache.org/ant/AntModules

The comment on the change is:
Antidote retired

--
  
   * the [http://cvs.apache.org/viewcvs/ant/ ant] CVS module contains the 
primary Ant project.
  
-  * the [http://cvs.apache.org/viewcvs.cgi/ant-antidote/ ant-antidote] CVS 
module contains source code for a GUI application called Antidote, which is 
intended for editing Ant build files.
+  * the [http://archive.apache.org/ant/antidote/ ant-antidote] CVS module 
contains source code for a GUI application called Antidote, which is intended 
for editing Ant build files. Because antidote was retired on 2005-04-04 the 
code is no longer maintainded and only available in the archive.
  
- 

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



DO NOT REPLY [Bug 27814] - javadoc task does not encode baskslashes when generating file list by useexternalfile

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=27814.
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=27814


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Target Milestone|1.7 |1.6.5




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are on the CC list for the bug, or are watching someone who is.

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



DO NOT REPLY [Bug 31744] - FTP subtasks should all share one connection

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31744.
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=31744





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 17:58 ---
Do not forget that the ant script may
be running in an IDE using one jvm - netbeans for example,
so the connection will need to be closed by hand.
The nested commands to the ftp task look nice.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 31744] - FTP subtasks should all share one connection

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31744.
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=31744





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 20:14 ---
(In reply to comment #8)
 Do not forget that the ant script may
 be running in an IDE using one jvm - netbeans for example,
 so the connection will need to be closed by hand.

I can't think of any other solution just now, but I still think it would be 
nice to orchestrate auto-closing of the connection per Ant invocation using 
task invalidation or some existing mechanism.  :(


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



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

2005-05-31 Thread mbenson
mbenson 2005/05/31 12:01:34

  Modified:src/main/org/apache/tools/ant/taskdefs Copy.java
  Log:
  reorder imports before adding more.
  
  Revision  ChangesPath
  1.84  +8 -8  ant/src/main/org/apache/tools/ant/taskdefs/Copy.java
  
  Index: Copy.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Copy.java,v
  retrieving revision 1.83
  retrieving revision 1.84
  diff -u -r1.83 -r1.84
  --- Copy.java 9 Mar 2005 00:20:40 -   1.83
  +++ Copy.java 31 May 2005 19:01:34 -  1.84
  @@ -19,23 +19,23 @@
   
   import java.io.File;
   import java.io.IOException;
  -import java.util.Enumeration;
  -import java.util.Hashtable;
   import java.util.Vector;
  +import java.util.Hashtable;
  +import java.util.Enumeration;
  +import org.apache.tools.ant.Task;
  +import org.apache.tools.ant.Project;
   import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.DirectoryScanner;
  -import org.apache.tools.ant.Project;
  -import org.apache.tools.ant.Task;
  +import org.apache.tools.ant.types.Mapper;
   import org.apache.tools.ant.types.FileSet;
  -import org.apache.tools.ant.types.FilterChain;
   import org.apache.tools.ant.types.FilterSet;
  +import org.apache.tools.ant.types.FilterChain;
   import org.apache.tools.ant.types.FilterSetCollection;
  -import org.apache.tools.ant.types.Mapper;
  -import org.apache.tools.ant.util.FileNameMapper;
   import org.apache.tools.ant.util.FileUtils;
  -import org.apache.tools.ant.util.FlatFileNameMapper;
  +import org.apache.tools.ant.util.FileNameMapper;
   import org.apache.tools.ant.util.IdentityMapper;
   import org.apache.tools.ant.util.SourceFileScanner;
  +import org.apache.tools.ant.util.FlatFileNameMapper;
   
   /**
* Copies a file or directory to a new file
  
  
  

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



cvs commit: ant/docs/manual/CoreTypes resources.html

2005-05-31 Thread mbenson
mbenson 2005/05/31 12:18:55

  Modified:src/main/org/apache/tools/ant/types/resources
FileResource.java
   src/etc/testcases/types/resources/selectors build.xml
   docs/manual/CoreTypes resources.html
  Log:
  Renamed file resource's base attribute to basedir,
  for consistency / familiarity.
  
  Revision  ChangesPath
  1.2   +15 -15
ant/src/main/org/apache/tools/ant/types/resources/FileResource.java
  
  Index: FileResource.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/resources/FileResource.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- FileResource.java 23 May 2005 19:51:57 -  1.1
  +++ FileResource.java 31 May 2005 19:18:55 -  1.2
  @@ -40,7 +40,7 @@
   = Resource.getMagicNumber(null file.getBytes());
   
   private File file;
  -private File base;
  +private File baseDir;
   
   /**
* Default constructor.
  @@ -49,13 +49,13 @@
   }
   
   /**
  - * Construct a new FileResource using the specified base File and 
relative name.
  - * @param b  the base File (directory).
  + * Construct a new FileResource using the specified basedir and relative 
name.
  + * @param b  the basedir as File.
* @param name   the relative filename.
*/
   public FileResource(File b, String name) {
   setFile(FILE_UTILS.resolveFile(b, name));
  -setBase(b);
  +setBaseDir(b);
   }
   
   /**
  @@ -95,21 +95,21 @@
   }
   
   /**
  - * Set the base File for this FileResource.
  - * @param b the base File.
  + * Set the basedir for this FileResource.
  + * @param b the basedir as File.
*/
  -public void setBase(File b) {
  +public void setBaseDir(File b) {
   checkAttributesAllowed();
  -base = b;
  +baseDir = b;
   }
   
   /**
  - * Return the base to which the name is relative.
  - * @return the base File.
  + * Return the basedir to which the name is relative.
  + * @return the basedir as File.
*/
  -public File getBase() {
  +public File getBaseDir() {
   return isReference()
  -? ((FileResource) getCheckedRef()).getBase() : base;
  +? ((FileResource) getCheckedRef()).getBaseDir() : baseDir;
   }
   
   /**
  @@ -117,21 +117,21 @@
* @param r the Reference to set.
*/
   public void setRefid(Reference r) {
  -if (file != null || base != null) {
  +if (file != null || baseDir != null) {
   throw tooManyAttributes();
   }
   super.setRefid(r);
   }
   
   /**
  - * Get the name of this FileResource relative to its base, if any.
  + * Get the name of this FileResource relative to its baseDir, if any.
* @return the name of this resource.
*/
   public String getName() {
   if (isReference()) {
   return ((Resource) getCheckedRef()).getName();
   }
  -File b = getBase();
  +File b = getBaseDir();
   return b == null ? getNotNullFile().getAbsolutePath()
   : FILE_UTILS.removeLeadingPath(b, getNotNullFile());
   }
  
  
  
  1.2   +1 -1  ant/src/etc/testcases/types/resources/selectors/build.xml
  
  Index: build.xml
  ===
  RCS file: 
/home/cvs/ant/src/etc/testcases/types/resources/selectors/build.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- build.xml 23 May 2005 19:51:58 -  1.1
  +++ build.xml 31 May 2005 19:18:55 -  1.2
  @@ -31,7 +31,7 @@
 resources
   file file=foo /
   resource name=foo /
  -file file=foo base=${basedir} /
  +file file=foo basedir=${basedir} /
 /resources
 rsel:name name=foo /
   /restrict
  
  
  
  1.2   +1 -1  ant/docs/manual/CoreTypes/resources.html
  
  Index: resources.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTypes/resources.html,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- resources.html23 May 2005 19:51:56 -  1.1
  +++ resources.html31 May 2005 19:18:55 -  1.2
  @@ -87,7 +87,7 @@
   td align=center valign=topYes/td
 /tr
 tr
  -td valign=topbase/td
  +td valign=topbasedir/td
   td valign=topThe base directory of this resource.  When this
 attribute is set, attempts to access the name of the resource
 will yield a path relative to this location./td
  
  
  

-
To unsubscribe, 

DO NOT REPLY [Bug 31744] - FTP subtasks should all share one connection

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31744.
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=31744





--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 20:20 ---
Failing that I suppose we could recommend using a final target as in the posted 
solution to bug 17973.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: ant WHATSNEW

2005-05-31 Thread mbenson
mbenson 2005/05/31 13:03:22

  Modified:.Tag: ANT_16_BRANCH WHATSNEW
  Log:
  s/baskslashes/backslashes ;)
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.503.2.235 +1 -1  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.234
  retrieving revision 1.503.2.235
  diff -u -r1.503.2.234 -r1.503.2.235
  --- WHATSNEW  31 May 2005 15:54:13 -  1.503.2.234
  +++ WHATSNEW  31 May 2005 20:03:22 -  1.503.2.235
  @@ -13,7 +13,7 @@
   * macrodef with redefined default values was incorrect. (Fix for
  31215 had a bug). Bugzilla report 35109.
   
  -* javadoc will convert baskslashes to forwardslashes when generating file
  +* javadoc will convert backslashes to forwardslashes when generating file
 list by useexternalfile. Bugzilla report 27814.
   
   Changes from Ant 1.6.3 to Ant 1.6.4
  
  
  

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



cvs commit: ant WHATSNEW

2005-05-31 Thread mbenson
mbenson 2005/05/31 13:04:08

  Modified:.WHATSNEW
  Log:
  s/baskslashes/backslashes
  
  Revision  ChangesPath
  1.837 +1 -1  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.836
  retrieving revision 1.837
  diff -u -r1.836 -r1.837
  --- WHATSNEW  31 May 2005 15:53:32 -  1.836
  +++ WHATSNEW  31 May 2005 20:04:08 -  1.837
  @@ -248,7 +248,7 @@
   * macrodef with redefined default values was incorrect. (Fix for
  31215 had a bug). Bugzilla report 35109.
   
  -* javadoc will convert baskslashes to forwardslashes when generating file
  +* javadoc will convert backslashes to forwardslashes when generating file
 list by useexternalfile. Bugzilla report 27814.
   
   Changes from Ant 1.6.3 to Ant 1.6.4
  
  
  

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



DO NOT REPLY [Bug 6606] - META-BUG problems with delegating classloaders

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=6606.
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=6606


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




--- Additional Comments From [EMAIL PROTECTED]  2005-05-31 23:37 ---
(In reply to comment #22)
 I changed the ant-junit.jar so it does not load/reference any
 junit classes before it forks a new JVM. That way the classloader problems
 disappear since junit classes are not loaded inside ant's JVM.

This could be quite useful. E.g. the NetBeans IDE uses

http://www.netbeans.org/download/dev/javadoc/org-apache-tools-ant-module/org/apache/tools/ant/module/spi/AutomaticExtraClasspathProvider.html

from the module bundling junit.jar in order to force it to be added to Ant's
primary classpath. Even though the build scripts that the IDE generates will
have an explicit path for junit.jar - which is used e.g. when compiling unit
tests - it cannot currently run junit unless this has been done. A patch such
as is described here would make it possible to do omit junit.jar from Ant's
primary classpath, and would mean that a command-line build incl. unit testing
would succeed so long as the path was set up correctly, without requiring the
user to run Ant with junit.jar in $CLASSPATH (or ant/lib/ or whatever).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 31744] - FTP subtasks should all share one connection

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=31744.
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=31744





--- Additional Comments From [EMAIL PROTECTED]  2005-06-01 02:08 ---
(In reply to comment #6)
 This would pretty nearly satisfy bug 33214 as well, wouldn't it?

Yes, I kind of had that in the back of my mind, too.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35141] - whichresource page doesn't adapt browser width; inconsistent with rest of manual

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35141.
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=35141


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |




--- Additional Comments From [EMAIL PROTECTED]  2005-06-01 04:27 ---
 This may offend the occasional eye but you must agree the only possible 
 harm here would be to aesthetic sensibilities.

Wrong.  That is not the only possible harm.  

The much more signficant harm is to usability and user efficiency.  When 
the text doesn't fit in the user's chosen browser window width, the user 
has to scroll horizontally to read the text.  Note that the user has to 
scroll right and then back left for EACH line of text.  That is horrible.

(Remember that some users have big screens so they can see _multiple_
windows, say, an editor editing some file (.../build.xml, maybe?) and,
say, a browser displaying relevant documentation (the Ant manual, anyone?).
Don't treat users as if they're too stupid to be able to handle multiple
windows (by assuming they use full-screen browser windows).)

HTML is designed so that by default the browser can wrap regular text to
fit the user's chosen window width.  Don't break that ability, by tying 
the width of the text column to something else, especially when breaking 
it is completely unnecessary.


Sorry for the snippiness, but maybe you shouldn't claim that I must agree
with something that is clearly false and shouldn't summarily discard my 
bug report without showing any understanding of the problem.





-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 35142] - subant page doesn't adapt browser width; inconsistent with rest of manual

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=35142.
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=35142


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|WONTFIX |




--- Additional Comments From [EMAIL PROTECTED]  2005-06-01 04:28 ---
As I wrote for bug 35141:
--

 This may offend the occasional eye but you must agree the only possible 
 harm here would be to aesthetic sensibilities.

Wrong.  That is not the only possible harm.  

The much more signficant harm is to usability and user efficiency.  When 
the text doesn't fit in the user's chosen browser window width, the user 
has to scroll horizontally to read the text.  Note that the user has to 
scroll right and then back left for EACH line of text.  That is horrible.

(Remember that some users have big screens so they can see _multiple_
windows, say, an editor editing some file (.../build.xml, maybe?) and,
say, a browser displaying relevant documentation (the Ant manual, anyone?).
Don't treat users as if they're too stupid to be able to handle multiple
windows (by assuming they use full-screen browser windows).)

HTML is designed so that by default the browser can wrap regular text to
fit the user's chosen window width.  Don't break that ability, by tying 
the width of the text column to something else, especially when breaking 
it is completely unnecessary.


Sorry for the snippiness, but maybe you shouldn't claim that I must agree
with something that is clearly false and shouldn't summarily discard my 
bug report without showing any understanding of the problem.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



DO NOT REPLY [Bug 23981] - Perforce tasks handle 'force' option oddly

2005-05-31 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://issues.apache.org/bugzilla/show_bug.cgi?id=23981.
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=23981





--- Additional Comments From [EMAIL PROTECTED]  2005-06-01 05:11 ---
Created an attachment (id=15236)
 -- (http://issues.apache.org/bugzilla/attachment.cgi?id=15236action=view)
proposed patch

Proposed patch leaves force attribute as string, and avoids setting -f option
if string is one of false, off, or no (case insensitive). All other
values for the force attribute, including a zero-length string , invoke -f to
preserve backward compatibility. Modeled off of Project.toBoolean(String).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug, or are watching the assignee.

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



cvs commit: ant/docs/manual/CoreTypes filterchain.html

2005-05-31 Thread antoine
antoine 2005/05/31 22:30:44

  Modified:docs/manual/CoreTypes filterchain.html
  Log:
  fixed strange example, property names do not usually start with ${
  
  Revision  ChangesPath
  1.29  +9 -9  ant/docs/manual/CoreTypes/filterchain.html
  
  Index: filterchain.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTypes/filterchain.html,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- filterchain.html  29 Apr 2005 18:58:12 -  1.28
  +++ filterchain.html  1 Jun 2005 05:30:44 -   1.29
  @@ -63,7 +63,7 @@
   However, they can be declared using some simpler syntax also.p
   Example:
   blockquotepre
  -lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;${src.file.head}quot;gt;
  +lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;src.file.headquot;gt;
 lt;filterchaingt;
   lt;headfilter lines=quot;15quot;/gt;
 lt;/filterchaingt;
  @@ -71,7 +71,7 @@
   /pre/blockquote
   is equivalent to:
   blockquotepre
  -lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;${src.file.head}quot;gt;
  +lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;src.file.headquot;gt;
 lt;filterchaingt;
   lt;filterreader 
classname=quot;org.apache.tools.ant.filters.HeadFilterquot;gt;
 lt;param name=quot;linesquot; value=quot;15quot;/gt;
  @@ -259,9 +259,9 @@
   p
   h4Example:/h4
   
  -This stores the first 15 lines of the supplied data in the property 
${src.file.head}
  +This stores the first 15 lines of the supplied data in the property 
src.file.head
   blockquotepre
  -lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;${src.file.head}quot;gt;
  +lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;src.file.headquot;gt;
 lt;filterchaingt;
   lt;filterreader 
classname=quot;org.apache.tools.ant.filters.HeadFilterquot;gt;
 lt;param name=quot;linesquot; value=quot;15quot;/gt;
  @@ -272,7 +272,7 @@
   
   Convenience method:
   blockquotepre
  -lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;${src.file.head}quot;gt;
  +lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;src.file.headquot;gt;
 lt;filterchaingt;
   lt;headfilter lines=quot;15quot;/gt;
 lt;/filterchaingt;
  @@ -280,9 +280,9 @@
   /pre/blockquote
   
   This stores the first 15 lines, skipping the first 2 lines, of the supplied 
data
  -in the property ${src.file.head}. (Means: lines 3-17)
  +in the property src.file.head. (Means: lines 3-17)
   blockquotepre
  -lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;${src.file.head}quot;gt;
  +lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;src.file.headquot;gt;
 lt;filterchaingt;
   lt;headfilter lines=quot;15quot; skip=quot;2quot;/gt;
 lt;/filterchaingt;
  @@ -824,10 +824,10 @@
   
   
   This stores the last 10 lines, skipping the last 2 lines, of the supplied 
data
  -in the property ${src.file.head}. (Means: if supplied data contains 60 lines,
  +in the property src.file.head. (Means: if supplied data contains 60 lines,
   lines 49-58 are extracted)
   blockquotepre
  -lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;${src.file.head}quot;gt;
  +lt;loadfile srcfile=quot;${src.file}quot; 
property=quot;src.file.headquot;gt;
 lt;filterchaingt;
   lt;tailfilter lines=quot;10quot; skip=quot;2quot;/gt;
 lt;/filterchaingt;
  
  
  

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