Re: Subversion migration?

2005-08-31 Thread Stefan Bodewig
On Wed, 31 Aug 2005, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:

> since we had a positive vote [1] to migrate to SVN, I think the
> migration should happen as soon as it is practicable for you
> Henri.

I agree.

+1 for Henri to go ahead whenever he feels the time is right.

Stefan

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



Re: [Ant Wiki] Update of "AntExternalTaskdefs" by arrizza

2005-08-31 Thread Stefan Bodewig
On Tue, 30 Aug 2005, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:

> do we want to move completely the
> http://ant.apache.org/external.html to the WIKI ?
> 
> I remember there have been suggestions to do this on this list
> (Steve, Erik ?, not sure).

I think Erik did.

I'd have one requirement, though.  Download the Wiki page using
 and link the local copy when building the distribution (so the
page is accessible in offline mode).

Stefan

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



DO NOT REPLY [Bug 36453] - ANT not starting up

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-09-01 01:56 ---
This is not a bug. Please post to the users list (user@ant.apache.org) for 
assistance.

-- 
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 36453] New: - ANT not starting up

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

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

   Summary: ANT not starting up
   Product: Ant
   Version: unspecified
  Platform: Other
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Core
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


Could anybody point me to what I could be doing wrong here...all the 
Environment variables seem to be setup fine.. but I get this error when I try 
and run ANT from the command prompt.(even with the "-version" option)

java.lang.NullPointerException
at org.apache.tools.ant.launch.Locator.getLocationURLs(Locator.java:262)

at org.apache.tools.ant.launch.Locator.getLocationURLs(Locator.java:212)

at org.apache.tools.ant.launch.Launcher.run(Launcher.java:128)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:55)

-- 
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]



enhancement for PropertyFile, have a patch

2005-08-31 Thread Phil Hourihane
Hi folks,

I hope I am getting the etiquette right for this; I am
a new body on the list.

The PropertyFile (optional) task allows a script to
alter an existing properties file, but all comments
and layout are lost. This doesn't get a mention in
bugzilla. I have an enhancement which retains layout
and comments when writing a properties file, with
accompanying tests.

I have a patch for the affected files, and there are a
few new files (util class, test class, and test data)
as well.

Do the group want the enhancement? Or more detail from
me? Shall I post the patch and new files? Any feedback
is welcome.

Philip Hourihane





___ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail 
http://uk.messenger.yahoo.com

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



DO NOT REPLY [Bug 36302] - sshexec closes System.out

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 21:41 ---
My suggestion appears to fix this problem; committed to 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]



cvs commit: ant WHATSNEW

2005-08-31 Thread mbenson
mbenson 2005/08/31 12:41:07

  Modified:.WHATSNEW
  Log:
  Document fix for:
  PR: 36302
  
  Revision  ChangesPath
  1.854 +3 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.853
  retrieving revision 1.854
  diff -u -r1.853 -r1.854
  --- WHATSNEW  31 Aug 2005 15:38:18 -  1.853
  +++ WHATSNEW  31 Aug 2005 19:41:04 -  1.854
  @@ -137,6 +137,9 @@
   *  used wrong switch for retrieving revisions by label.
 Bugzilla Report 36359.
   
  +*  closed System.out, disabling output on second and subsequent
  +  invocations.  Bugzilla report 36302.
  +
   Other changes:
   --
   
  
  
  

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



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh SSHExec.java

2005-08-31 Thread mbenson
mbenson 2005/08/31 12:39:14

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/ssh
SSHExec.java
  Log:
  Wrap System.out in a KeepAliveOutputStream
  PR: 36302
  
  Revision  ChangesPath
  1.22  +2 -1  
ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java
  
  Index: SSHExec.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- SSHExec.java  12 Jun 2005 18:04:16 -  1.21
  +++ SSHExec.java  31 Aug 2005 19:39:14 -  1.22
  @@ -20,6 +20,7 @@
   import org.apache.tools.ant.BuildException;
   import org.apache.tools.ant.Project;
   import org.apache.tools.ant.util.TeeOutputStream;
  +import org.apache.tools.ant.util.KeepAliveOutputStream;
   
   import java.io.ByteArrayOutputStream;
   import java.io.File;
  @@ -131,7 +132,7 @@
   }
   
   ByteArrayOutputStream out = new ByteArrayOutputStream();
  -TeeOutputStream tee = new TeeOutputStream(out, System.out);
  +TeeOutputStream tee = new TeeOutputStream(out, new 
KeepAliveOutputStream(System.out));
   
   Session session = null;
   try {
  
  
  

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



DO NOT REPLY [Bug 36207] - multiple sshexec invocations to same host fails

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 20:53 ---
Please submit patches in diff -u format:

http://ant.apache.org/problems.html#Fixing%20the%20Bug

-- 
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 36302] - sshexec closes System.out

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

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





--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 20:37 ---
More generic would be the use of a KeepAliveOutputStream in the correct place; 
i.e. SSHExec's TeeOutputStream:

new TeeOutputStream(out, new KeepAliveOutputStream(System.out))

I would question the use of System.out in the first place--within Ant it would 
probably be more correct to use a LogOutputStream, but I suppose that's a 
different issue.

-- 
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 36302] - sshexec closes System.out

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

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





--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 19:58 ---
Created an attachment (id=16265)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16265&action=view)
from Atsuhiko Yamanaka - patch for TeeOuputStream

Atsuhiko Yamanaka wrote :
I think that this issue comes from that System.out will be closed in
'close' method of TeeOutputStream[1].
You know that TeeOutputStream has been used in SSHExec[2].

It seems following modification for TeeOutputStream fixes this 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 36446] New: - [mail] task and non-existing addresses.

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

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

   Summary: [mail] task and non-existing addresses.
   Product: Ant
   Version: 1.6.2
  Platform: PC
OS/Version: Windows 2000
Status: NEW
  Keywords: ErrorMessage
  Severity: normal
  Priority: P2
 Component: Core tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]


The 'mail' task fails on RCPT when one of emails does not exist. 
There should be a flag to ignore this error.
If the flag is enabled, the error should not stop the build from sending a 
email message to other recepients. Although, a warning message should be 
printed.

-- 
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 36302] - sshexec closes System.out

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]




-- 
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: Multiple invocations

2005-08-31 Thread Anderson, Rob (Global Trade)
Brian, 

There is a bug for the output issue also...

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

I have not yet made the change that Atsuhiko Yamanaka suggested. If you
have, and it works, please create a patch and attach it to the bug
mentioned above. Also vote for it please.

Thanks,

-Rob A


> -Original Message-
> From: Dick, Brian E. [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, August 31, 2005 5:57 AM
> To: Ant Users List
> Subject: RE: Multiple  invocations
> 
> I cast my vote.
> 
> Also, in order to get the sshexec output correct, I made the 
> change to TeeOutputStream that Atsuhiko Yamanaka suggested. 
> Did you make that change to your code, too? Has a bug been 
> created for this change?
> 
> Now, if the ant developers would just add redirector support 
> to the sshexec task like the exec task has. I use the 
> redirector with the exec task and it really helps make the 
> build output clean.
> 
> -Original Message-
> From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 30, 2005 5:03 PM
> To: Ant Users List
> Subject: RE: Multiple  invocations
> 
> 
> Cool. Please vote for the bug also. Votes help commiters 
> prioritize the
> bugs.
> 
> -Rob A
> 
> > -Original Message-
> > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] 
> > Sent: Tuesday, August 30, 2005 10:23 AM
> > To: Ant Users List
> > Subject: RE: Multiple  invocations
> > 
> > Thanks Rob. I applied the fix to my copy of the 1.6.5 source. 
> > Works great!
> > 
> > -Original Message-
> > From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, August 30, 2005 12:36 PM
> > To: Ant Users List
> > Subject: RE: Multiple  invocations
> > 
> > 
> > As far as I know, it has not been committed. If you are in 
> > need of this
> > fix please go vote for the bug and add yourself to the CC: 
> > list. You can
> > also download the patch attached to the bug and build and run 
> > the fixed
> > code.
> > 
> > -Rob A
> >  
> > 
> > > -Original Message-
> > > From: Dick, Brian E. [mailto:[EMAIL PROTECTED] 
> > > Sent: Monday, August 29, 2005 1:50 PM
> > > To: Ant Users List
> > > Subject: RE: Multiple  invocations
> > > 
> > > Has this bug fix been committed? I am experiencing the 
> same problem.
> > > 
> > > -Original Message-
> > > From: Anderson, Rob (Global Trade) [mailto:[EMAIL PROTECTED]
> > > Sent: Wednesday, August 17, 2005 12:21 PM
> > > To: Ant Users List
> > > Subject: RE: Multiple  invocations
> > > 
> > > 
> > > The build file in the bug report is what I used to test 
> it. Is that
> > > sufficient?
> > > 
> > > -Rob A
> > > 
> > > > -Original Message-
> > > > From: Steve Loughran [mailto:[EMAIL PROTECTED]
> > > > Sent: Wednesday, August 17, 2005 4:57 AM
> > > > To: Ant Users List
> > > > Subject: Re: Multiple  invocations
> > > > 
> > > > 
> > > > Anderson, Rob (Global Trade) wrote:
> > > > > I have logged a bug for this issue and attached a patch...
> > > > > 
> > > > > http://issues.apache.org/bugzilla/show_bug.cgi?id=36207
> > > > > 
> > > > > Committers: Please review the proposed fix and commit the 
> > > > change if you approve.
> > > > > 
> > > > > Thanks,
> > > > > 
> > > > > -Rob Anderson
> > > > 
> > > > do we have any tests for this (or other SSH stuff) . We 
> > > > should really be 
> > > > rigorous and do tests before fix.
> > > > 
> > > > something property driven that only runs if the properties 
> > > provide a 
> > > > host, username, password, ssh file, etc.
> > > > 
> > > > 
> > > > 
> > > 
> > 
> -
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > 
> > > > 
> > > > 
> > > 
> > > 
> > > 
> > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > 
> -
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > 
> > > 
> > > 
> > 
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> -
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > 
> > 
> > 
> 
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-

DO NOT REPLY [Bug 36210] - error using idrefs to external types

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |NEEDINFO




--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 18:30 ---
Can you give a small example build file.

Did you use the antlib resource?, or
do you have a typedef and a task def for the
property file resources.
If is is the latter you *have* to use the loaderref
attribute.

-- 
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 36440] - replaceregexp does not preserve file permissions

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

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





--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 18:08 ---
if the suggested fix (hack) for bug 36086 works, it might work here too... this 
suggests that if the other fix is pursued a general utility should be provided 
in FileUtils.

-- 
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 36217] - macrodef and nested elements

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 17:57 ---
You need to use the "implicit" attribute.













Ps, I would not use the javacc as a task name, as there is already a task
of that name.

-- 
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 36239] - in does not honour flags="s"

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 17:49 ---
The way tokenfilter works is that it tokenizes the input stream by
default into lines before passing them to the nested token filters.

One can change the tokenizer by adding a nested tokenizer to tokenfilter.
In your case you need to use .

So the copy should look like:


  

  
  

  


This is probally a doc issue.

-- 
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: typedef onerror default

2005-08-31 Thread Jose Alberto Fernandez
> Steve Loughran wrote:
> 
> > Why is the onerror default of typedef "fail" and not "failall"?
> >
> > The effect is that a typedef like this
> >  >  uri="antlib:com.puppycrawl.checkstyle"
> >  />
> >
> > will warn but not fail if the property file is missing. Surely a
> > missing declaration file is important enough that the 
> default should 
> > be "fail the build right now".
> >
> > proposal
> >  -we change the "new for ant1.7" default to failall
> >  -we allow for a failuremessage attr that lets you say "add 
> checkstyle
> > to your build via -lib" or whatever.
> >

This is not necessarily an error. As in some of my buildfiles, the same 
build may create a library with utility tasks which are typedef'd 
and use those tasks to do other things. 

In such an environment, you do not want the code to fail on the typedef
but only when you try to use something that is not defined.

So a warning is appropriate, and I do not see any reason to change it.

Jose Alberto

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



DO NOT REPLY [Bug 36359] - Incorrect argument used for version label in PVCS task

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

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




--- Additional Comments From [EMAIL PROTECTED]  2005-08-31 17:38 ---
fixed in CVS HEAD; thanks!

-- 
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-08-31 Thread mbenson
mbenson 2005/08/31 08:38:19

  Modified:.WHATSNEW
  Log:
  Incorrect argument used for version label in PVCS task
  PR: 36359
  
  Revision  ChangesPath
  1.853 +3 -1  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.852
  retrieving revision 1.853
  diff -u -r1.852 -r1.853
  --- WHATSNEW  23 Aug 2005 14:19:08 -  1.852
  +++ WHATSNEW  31 Aug 2005 15:38:18 -  1.853
  @@ -132,8 +132,10 @@
   
   * off-by-one error in environment setup for execution under OpenVMS fixed.
   
  -* Bugzilla report 36171: -noclasspath crashes ant if no system classpath is 
set. 
  +* Bugzilla report 36171: -noclasspath crashes ant if no system classpath is 
set.
   
  +*  used wrong switch for retrieving revisions by label.
  +  Bugzilla Report 36359.
   
   Other changes:
   --
  
  
  

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



Re: typedef onerror default

2005-08-31 Thread Peter Reilly

Steve Loughran wrote:


Why is the onerror default of typedef "fail" and not "failall"?


It was for BC reasons.
i.e. this is the behaviour for 1.5 when resource was used.

Peter



The effect is that a typedef like this


will warn but not fail if the property file is missing. Surely a 
missing declaration file is important enough that the default should 
be "fail the build right now".


proposal
 -we change the "new for ant1.7" default to failall
 -we allow for a failuremessage attr that lets you say "add checkstyle 
to your build via -lib" or whatever.


-steve

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






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



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/pvcs Pvcs.java

2005-08-31 Thread mbenson
mbenson 2005/08/31 08:35:43

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/pvcs
Pvcs.java
  Log:
  Incorrect argument used for version label in PVCS task
  PR: 36359
  
  Revision  ChangesPath
  1.33  +1 -1  
ant/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java
  
  Index: Pvcs.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/pvcs/Pvcs.java,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- Pvcs.java 7 Oct 2004 16:25:04 -   1.32
  +++ Pvcs.java 31 Aug 2005 15:35:43 -  1.33
  @@ -232,7 +232,7 @@
   + getPromotiongroup());
   } else {
   if (getLabel() != null) {
  -commandLine.createArgument().setValue("-r" + getLabel());
  +commandLine.createArgument().setValue("-v" + getLabel());
   } else {
   if (getRevision() != null) {
   commandLine.createArgument().setValue("-r"
  
  
  

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



Re: AW: [VOTE] migrate to svn

2005-08-31 Thread Peter Reilly

I too keep forgetting

+1

Peter

Matt Benson wrote:

Sorry I kept forgetting... 


Here's my +1.

-Matt

--- [EMAIL PROTECTED] wrote:

 


I´m just getting the results of the vote. But I´m
not sure which action from the bylaws
to use. An "Adoption of New Codebase" needs 2/3
majority of committers which we havent (~ 1/3).
Many committers havent voted, but we have consensus.

How to proceed?


Jan


+1
-
Bruce Atherton  pmc
Stephane Bailliez   pmc
Steve Loughran  pmc
Conor MacNeill  pmc 
Jan Materne pmc
Alexey Solofnenko   committer
Kev Jackson user

+0
-
Martijn Kruithofcommitter



PMC: 13 members
-
+1:  5  
+0:  0

-1:  0
no vote: 8

Committer: 13+6=19
-
+1:   6  
+0:   1

-1:   0
no vote: 12


   


-Ursprüngliche Nachricht-
Von: Antoine Levy-Lambert [mailto:[EMAIL PROTECTED] 
Gesendet: Mittwoch, 3. August 2005 09:17

An: Ant Developers List
Betreff: Re: [VOTE] migrate to svn

+1
Antoine
 


--- Ursprüngliche Nachricht ---
Von: <[EMAIL PROTECTED]>
An: 
Betreff: [VOTE] migrate to svn
Datum: Tue, 2 Aug 2005 14:40:46 +0200

Ok, I got some "+1", but "sooner" is not a
   

timeframe you 
   

could really 
 


vote on - IMO :-) So I suggest:

   "Migrate Ant from CVS to SVN on the weekend
   

of 13./14. 
   


August 2005."
 


That would be the first weekend after the
   


one-week voting timeframe.
   


After passing the vote we should add a note on
   


the homepage.
   


Let me start with +1

Jan


   


-
 


To unsubscribe, e-mail:
   

[EMAIL PROTECTED] For 
   

additional 
 


commands, e-mail: [EMAIL PROTECTED]

   


-
   


To unsubscribe, e-mail:
 

[EMAIL PROTECTED] For 
   


additional commands, e-mail:
 


[EMAIL PROTECTED]
   

 

   


-
 


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


   




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



 




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



DO NOT REPLY [Bug 36440] New: - replaceregexp does not preserve file permissions

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

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

   Summary: replaceregexp does not preserve file permissions
   Product: Ant
   Version: 1.6.2
  Platform: Other
OS/Version: Solaris
Status: NEW
  Severity: enhancement
  Priority: P2
 Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


The replaceregexp task does not preserve file permissions. Would be nice if it 
did.

-- 
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: Subversion migration?

2005-08-31 Thread Antoine Levy-Lambert
Hello Henri,

The bridge from svn to cvs might be nice to have for some ant users, but I
did not see any emails from Ant committers or from Ant PMC members saying
that it is a requirement.

So even if you cannot provide a bridge from svn to cvs, just go ahead.
Unless there is a -1 by committers.

Cheers,

Antoine
> --- Ursprüngliche Nachricht ---
> Von: Henri Yandell <[EMAIL PROTECTED]>
> An: Ant Developers List 
> Betreff: Re: Subversion migration?
> Datum: Wed, 31 Aug 2005 08:44:07 -0400
> 
> On 8/30/05, Jack Woehr <[EMAIL PROTECTED]> wrote:
> > Yves Martin wrote:
> > 
> > > I propose to install a post-commit hook in subversion to keep cvs
> up-to-date
> > > even with read-only access:
> > >   http://sam.zoy.org/writings/programming/svn2cvs.html
> > >
> > >
> > That would be nice!
> 
> Would be nice, but given that 80% of the ASF is now in SVN, it seems a
> bit late. Plus it'd only be there for 4 months. Hesistant to introduce
> something new at this stage (and spend the time getting it setup etc)
> without getting more payback.
> 
> My view anyway, -1 the migration if it's a blocker for you, otherwise
> I'll go ahead on Saturday and make the change.
> 
> Sorry,
> 
> Hen
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

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



Re: Subversion migration?

2005-08-31 Thread Antoine Levy-Lambert
Hello Henri,

this is fine for me.

Cheers,

Antoine

> --- Ursprüngliche Nachricht ---
> Von: Henri Yandell <[EMAIL PROTECTED]>
> An: Ant Developers List 
> Betreff: Re: Subversion migration?
> Datum: Wed, 31 Aug 2005 08:39:50 -0400
> 
> On 8/31/05, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
> > Henri Yandell wrote:
> > 
> > Hello,
> > 
> > since we had a positive vote [1] to migrate to SVN, I think the
> > migration should happen as soon as it is practicable for you Henri. Can
> > you suggest a time ?
> 
> Let's do this Saturday, 3rd Sept, 20:00 EST.
> 
> Hen
> 

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



Re: antlib loading in typedef

2005-08-31 Thread Peter Reilly
I was thinking of having another attribute (like 
antlib="antlib:org.smartfrog.tools.ant")

to set the uri and resource.

It may be a good idea however to do this by default with just the uri 
attribute - if the user has not

specified the resource/filename.

Peter

Steve Loughran wrote:



Why do you have to repeat the full path to an antlib in , 
when declaring into an antlib url.


surely this should be sufficient



I think if we have special handling of antlib namespaces, typedef 
ought to adopt that same logic, and get the path to the resource from 
the URI, if it is an antlib URI


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






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



Re: Subversion migration?

2005-08-31 Thread Henri Yandell
On 8/30/05, Jack Woehr <[EMAIL PROTECTED]> wrote:
> Yves Martin wrote:
> 
> > I propose to install a post-commit hook in subversion to keep cvs up-to-date
> > even with read-only access:
> >   http://sam.zoy.org/writings/programming/svn2cvs.html
> >
> >
> That would be nice!

Would be nice, but given that 80% of the ASF is now in SVN, it seems a
bit late. Plus it'd only be there for 4 months. Hesistant to introduce
something new at this stage (and spend the time getting it setup etc)
without getting more payback.

My view anyway, -1 the migration if it's a blocker for you, otherwise
I'll go ahead on Saturday and make the change.

Sorry,

Hen

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



Re: Subversion migration?

2005-08-31 Thread Henri Yandell
On 8/31/05, Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
> Henri Yandell wrote:
> 
> >Conor: Any time when you'd like the migration to happen?
> >
> >Hen
> >
> >
> >
> Hello,
> 
> since we had a positive vote [1] to migrate to SVN, I think the
> migration should happen as soon as it is practicable for you Henri. Can
> you suggest a time ?

Let's do this Saturday, 3rd Sept, 20:00 EST.

Hen

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