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

2005-05-17 Thread Jan . Materne
Little test on IE6 and Firefox 1.0.4



And now test html:


  







That works for me. You have to mask the "<" character. After that the
closing
sign is ignored, because no opening sign was there.


Jan


> -Ursprüngliche Nachricht-
> Von: Alexey N. Solofnenko [mailto:[EMAIL PROTECTED]
> Gesendet am: Mittwoch, 18. Mai 2005 06:05
> An: Ant Developers List
> Betreff: Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html
> 
> Actually, > is also not required.
> 
> - Alexey.
> 
> Steve Cohen wrote:
> 
> > To be honest, I never thought about it.  The previous 
> version of the 
> > page used them and I just assumed they were required, and 
> followed the 
> > pattern with my new examples.  I didn't even assume, 
> actually, I just 
> > followed the pattern unthinkingly.
> >
> > But you're quite right.  The " are not necessary.  The 
> < and 
> > >, however, are.  The source file is an html page.
> >
> > We aren't seriously suggesting formatting these emails, are we?  To 
> > me, that makes no sense at all.  This is a cvs-generated diff.  
> > Modifying it would be incorrect, making the diff unusable 
> as a patch, 
> > which is, I guess, why these emails include them.
> >
> > I will, however, remove the unnecessary " marks.
> >
> 
> -- 
> --
> --
> / Alexey N. Solofnenko
> home: http://trelony.cjb.net/
> /
> 
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


hello

2005-05-17 Thread christoph . wilhelms
--  Virus Warning Message (on cliff)

Found virus WORM_MYTOB.DM in file DOCUMENT.pif
The uncleanable file DOCUMENT.pif is moved to /etc/iscan/virus/virXAD4hAP__.

-
The message contains Unicode characters and has been sent as a binary 
attachment.


--  Virus Warning Message (on cliff)

DOCUMENT.pif is removed from here because it contains a virus.

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

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

2005-05-17 Thread Alexey N. Solofnenko
Actually, > is also not required.
- Alexey.
Steve Cohen wrote:
To be honest, I never thought about it.  The previous version of the 
page used them and I just assumed they were required, and followed the 
pattern with my new examples.  I didn't even assume, actually, I just 
followed the pattern unthinkingly.

But you're quite right.  The " are not necessary.  The < and 
>, however, are.  The source file is an html page.

We aren't seriously suggesting formatting these emails, are we?  To 
me, that makes no sense at all.  This is a cvs-generated diff.  
Modifying it would be incorrect, making the diff unusable as a patch, 
which is, I guess, why these emails include them.

I will, however, remove the unnecessary " marks.
--

/ Alexey N. Solofnenko
home: http://trelony.cjb.net/
/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: and m2

2005-05-17 Thread Brett Porter
> I have a couple more things to ask. Where should the discussion on the
> Maven Ant tasks take place IYO?

Probably users@maven.apache.org (dev@ is fine too if you are more
comfortable there). Thanks.

Cheers,
Brett

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



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

2005-05-17 Thread scohen
scohen  2005/05/17 16:33:51

  Modified:docs/manual/OptionalTasks ftp.html
  Log:
  remove unnecessary " marks.
  
  Revision  ChangesPath
  1.34  +104 -104  ant/docs/manual/OptionalTasks/ftp.html
  
  Index: ftp.html
  ===
  RCS file: /home/cvs/ant/docs/manual/OptionalTasks/ftp.html,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- ftp.html  14 May 2005 14:30:25 -  1.33
  +++ ftp.html  17 May 2005 23:33:51 -  1.34
  @@ -74,35 +74,35 @@
 
 
   action
  -the ftp action to perform, defaulting to 
"send".  
  - Currently supports "put", "get",
  - "del", "list", "chmod",
  - "mkdir" and "rmdir".
  +the ftp action to perform, defaulting to "send".
  + Currently supports "put", "get",
  + "del", "list", "chmod",
  + "mkdir" and "rmdir".
   No
 
 
   binary
  -selects binary-mode ("yes") or text-mode 
  - ("no") transfers.  
  - Defaults to "yes"
  +selects binary-mode ("yes") or text-mode
  + ("no") transfers.
  + Defaults to "yes"
   No
 
 
   passive
  -selects passive-mode ("yes") transfers.  
  - Defaults to "no"
  +selects passive-mode ("yes") transfers.
  + Defaults to "no"
   No
 
 
   verbose
   displays information on each file transferred if set 
  - to "yes". Defaults to "no".
  + to "yes". Defaults to "no".
   No
 
 
   depends
   transfers only new or changed files if set to 
  - "yes". Defaults to "no".
  + "yes". Defaults to "no".
   No
 
 
  @@ -113,7 +113,7 @@
 
 
   timediffauto
  -set to "true"
  +set to "true"
   to make ant calculate the time difference between client and server.
   requires write access in the remote directory
   Since ant 1.6
  @@ -130,7 +130,7 @@
 
   separator
   sets the file separator used on the ftp server.
  - Defaults to "/".
  + Defaults to "/".
   No
 
 
  @@ -147,8 +147,8 @@
 
 
   listing
  -the file to write results of the "list" 
action.
  - Required for the "list" action, ignored 
otherwise.
  +the file to write results of the "list" action.
  + Required for the "list" action, ignored otherwise.
   No
 
 
  @@ -387,36 +387,36 @@
   Sending Files
   The easiest way to describe how to send files is with a couple of 
examples:
   
  -  
  -
  +  
  +
 
   
   Logs in to ftp.apache.org as anonymous and 
   uploads all files in the htdocs/manual directory 
   to the default directory for that user.
  -  
  -
  +  
  +
 
   Logs in to ftp.apache.org as anonymous and
   uploads all new or changed files in the htdocs/manual directory 
   to the incoming directory relative to the default directory
   for anonymous.
  -  
  -
  -  
  +  
  +
  +  
   
 
   Logs in to ftp.apache.org at port 2121 as
  @@ -424,17 +424,17 @@
   changed HTML files in the htdocs/manual directory to the
   /pub/incoming directory. The files are transferred in text mode.
   Passive mode has been switched on to send files from behind a firewall.
  -  

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

2005-05-17 Thread Steve Cohen
Peter Reilly wrote:
Martin Gainty wrote:
Not to mention > and other escaped characters

No,
Dominique was correctly compaining about the needless escaping of the
quote characters
Peter
Can the Ant mail server either parse the html escaped characters and 
insert the correct character representation -OR-
Reject the transmission altogether?
Vielen Danke,
Martin-

- Original Message - From: "Dominique Devienne" 
<[EMAIL PROTECTED]>
To: "Ant Developers List" 
Sent: Monday, May 16, 2005 10:21 PM
Subject: Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html

On 14 May 2005 13:14:15 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:

 +
 +  
 + 
 +  
 +
 +  
 +

The " are not necessary, are they Steven?
Makes it a lot harder to read, no? --DD
-
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 be honest, I never thought about it.  The previous version of the 
page used them and I just assumed they were required, and followed the 
pattern with my new examples.  I didn't even assume, actually, I just 
followed the pattern unthinkingly.

But you're quite right.  The " are not necessary.  The < and 
>, however, are.  The source file is an html page.

We aren't seriously suggesting formatting these emails, are we?  To me, 
that makes no sense at all.  This is a cvs-generated diff.  Modifying it 
would be incorrect, making the diff unusable as a patch, which is, I 
guess, why these emails include them.

I will, however, remove the unnecessary " marks.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


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

2005-05-17 Thread Martin Gainty
Peter-
What is the solution?
M-
- Original Message - 
From: "Peter Reilly" <[EMAIL PROTECTED]>
To: "Ant Developers List" 
Sent: Tuesday, May 17, 2005 12:50 PM
Subject: Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html


Martin Gainty wrote:
Not to mention > and other escaped characters
No,
Dominique was correctly compaining about the needless escaping of the
quote characters
Peter
Can the Ant mail server either parse the html escaped characters and 
insert the correct character representation -OR-
Reject the transmission altogether?
Vielen Danke,
Martin-

- Original Message - From: "Dominique Devienne" 
<[EMAIL PROTECTED]>
To: "Ant Developers List" 
Sent: Monday, May 16, 2005 10:21 PM
Subject: Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html

On 14 May 2005 13:14:15 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:

 +
 +  
 + 
 +  
 +
 +  
 +

The " are not necessary, are they Steven?
Makes it a lot harder to read, no? --DD
-
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]


Re: cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/junit JUnitReportTest.java

2005-05-17 Thread Matt Benson

--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> On Sat, 14 May 2005, Steve Loughran
> <[EMAIL PROTECTED]> wrote:
> 
> > we could use .toURL, which probably works better
> across platforms.
> 
> Our own FileUtils version works even better than
> that.

I'm behind on email, but I'm glad somebody else said
this... :)

-Matt

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



Yahoo! Mail
Stay connected, organized, and protected. Take the tour:
http://tour.mail.yahoo.com/mailtour.html


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



cvs commit: ant/src/testcases/org/apache/tools/ant/types/mappers MapperResult.java

2005-05-17 Thread bodewig
bodewig 2005/05/17 01:03:16

  Modified:src/testcases/org/apache/tools/ant/types/mappers
MapperResult.java
  Log:
  2005
  
  Revision  ChangesPath
  1.3   +1 -1  
ant/src/testcases/org/apache/tools/ant/types/mappers/MapperResult.java
  
  Index: MapperResult.java
  ===
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/types/mappers/MapperResult.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- MapperResult.java 16 May 2005 22:40:22 -  1.2
  +++ MapperResult.java 17 May 2005 08:03:15 -  1.3
  @@ -1,5 +1,5 @@
   /*
  - * Copyright  2004 The Apache Software Foundation
  + * Copyright  2004-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 28444] - Import: Target Handling Bug

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

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


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




--- Additional Comments From [EMAIL PROTECTED]  2005-05-17 12:54 ---
Fix checked into cvs HEAD.
The  "ant -f C.xml x" test will now work.

-- 
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: FTP.isUpToDate()

2005-05-17 Thread Steve Cohen
Antoine Levy-Lambert wrote:
Do not worry if you are sure that the current behavior is buggy.
Cheers,
Antoine
Well, I went and logged a bug on the issue thinking that this might 
provoke a little more discussion.  Unfortunately, bugzilla seems to not 
have sent out an email about it, so it will get lost.  Does this happen 
often?

See http://issues.apache.org/bugzilla/show_bug.cgi?id=34941
Steve
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: ant WHATSNEW

2005-05-17 Thread Steve Loughran
Stefan Bodewig wrote:
On 16 May 2005, <[EMAIL PROTECTED]> wrote:

 src/main/org/apache/tools/ant/types/optional
 AbstractScriptComponent.java ScriptMapper.java

Those two have picked up the wrong copyright template in your IDE.
oops. will fix. dont want any LGPL stuff in there.
Also they need to get added to the needs.apache-bsf selector in
build.xml in order to allow building of Ant without BSF.
ok. I see someone else has got in there first. Sorry. I thought the 
Script* would do it, but forgot about the
AbstractScript class.

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


Re: mapping in zipfileset

2005-05-17 Thread Stefan Bodewig
On Mon, 16 May 2005, Steve Loughran <[EMAIL PROTECTED]> wrote:

> With  you can do it via an intermediate
> directory. Question is, should we make it easier?

Will be easier with ResourceCollections.  Path will be a
ResourceCollection and  can directly work on a path then.  At
least that's been my understanding of it.

> -allow a path as a param for zip/jar/war/ear, with all the
> zipfileset options

Maybe we'll add a ResourceCollection alternative to ?


  
  


> -allow you to specify a  for all zipfilesets.

We should make it even more generic IMHO.  Provide it as a data-type
for  or  as well.

Stefan

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



Re: [Bug 28444] - Import: Target Handling Bug

2005-05-17 Thread Stefan Bodewig
On Fri, 13 May 2005, Jose Alberto Fernandez
<[EMAIL PROTECTED]> wrote:

> We could generate something like:
> 
> 
> 
> and then you are able to say:
> 
> 
> 
> The target "imported.compile:depends" should be generated by
> .

Looks do-able and would address Steve's need as well.

Stefan

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



Re: [Bug 28444] - Import: Target Handling Bug

2005-05-17 Thread Stefan Bodewig
On Fri, 13 May 2005, Jose Alberto Fernandez
<[EMAIL PROTECTED]> wrote:

> Just to put closure in my list of peeves about ,
> I really think we need a way to define "private" targets.

+1

Stefan

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



Re: cvs commit: ant WHATSNEW

2005-05-17 Thread Stefan Bodewig
On Tue, 17 May 2005, Steve Loughran <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> 
>>   --- mapper.html29 Apr 2005 18:58:12 -  1.26
>>   +++ mapper.html16 May 2005 22:40:22 -  1.27
> 
> looks to me like a 12 hour delay in mail list mail right now;

six hours right now, at least if you are subscribed with your
apache.org address (like I am).  Others may get away with half the
time.

> that new spam attack must be bringing down the network.

Looking through my own mailboxes (4000+ spams and 2000+ bounces, I
guess Germans are a preferred victim) I assume the bounces are causing
more trouble than the spam itself - since Apache's spamassasin
installation should be dealing with it right now.

Stefan

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



DO NOT REPLY [Bug 34936] - java.io.IOException: cvs: not found when calling ant from crontab

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

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





--- Additional Comments From [EMAIL PROTECTED]  2005-05-17 18:05 ---
> I found some information on the Internet 
> (http://www.aplawrence.com/Unixart/cron.html) that said you don't need to use 
> export so I created a script that set all the variables required and then 
> called the ant script but still no joy.

I think this is something else. Your script is executed with some interpreter 
and that interpreter does require "export". In any case, add plain "set" command
into your cron job script to see what environment is set and what is missing
(look for PATH, HOME, TMP, etc. environment variables). You may also need to
change the current directory before executing any commands.

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



BugZilla & Antidote

2005-05-17 Thread Jan . Materne
I just see that Antidote is just a valid Component in BugZilla.
9 Bug entries, all marked as fixed, invalid or wont (and wont any more after
dropping the
whole subproject ;)

Should we delete that component?


Jan

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



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/script ScriptDef.java

2005-05-17 Thread bodewig
bodewig 2005/05/17 03:45:29

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/script
ScriptDef.java
  Log:
  2005
  
  Revision  ChangesPath
  1.18  +1 -1  
ant/src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java
  
  Index: ScriptDef.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- ScriptDef.java17 May 2005 10:40:46 -  1.17
  +++ ScriptDef.java17 May 2005 10:45:29 -  1.18
  @@ -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.
  
  
  

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



cvs commit: ant/src/main/org/apache/tools/ant/types/optional AbstractScriptComponent.java ScriptMapper.java

2005-05-17 Thread stevel
stevel  2005/05/17 08:26:58

  Modified:src/main/org/apache/tools/ant/types/optional
AbstractScriptComponent.java ScriptMapper.java
  Log:
  add correct (c) statements
  
  Revision  ChangesPath
  1.2   +15 -19
ant/src/main/org/apache/tools/ant/types/optional/AbstractScriptComponent.java
  
  Index: AbstractScriptComponent.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/optional/AbstractScriptComponent.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- AbstractScriptComponent.java  16 May 2005 22:40:22 -  1.1
  +++ AbstractScriptComponent.java  17 May 2005 15:26:58 -  1.2
  @@ -1,23 +1,19 @@
  -/** (C) Copyright 2005 Hewlett-Packard Development Company, LP
  -
  - This library is free software; you can redistribute it and/or
  - modify it under the terms of the GNU Lesser General Public
  - License as published by the Free Software Foundation; either
  - version 2.1 of the License, or (at your option) any later version.
  -
  - This library is distributed in the hope that it will be useful,
  - but WITHOUT ANY WARRANTY; without even the implied warranty of
  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  - Lesser General Public License for more details.
  -
  - You should have received a copy of the GNU Lesser General Public
  - License along with this library; if not, write to the Free Software
  - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  -
  - For more information: www.smartfrog.org
  -
  +/*
  + * Copyright  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.
  + *  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.
  + *
*/
  -
   package org.apache.tools.ant.types.optional;
   
   import org.apache.tools.ant.ProjectComponent;
  
  
  
  1.2   +15 -19
ant/src/main/org/apache/tools/ant/types/optional/ScriptMapper.java
  
  Index: ScriptMapper.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/optional/ScriptMapper.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ScriptMapper.java 16 May 2005 22:40:22 -  1.1
  +++ ScriptMapper.java 17 May 2005 15:26:58 -  1.2
  @@ -1,23 +1,19 @@
  -/** (C) Copyright 2005 Hewlett-Packard Development Company, LP
  -
  - This library is free software; you can redistribute it and/or
  - modify it under the terms of the GNU Lesser General Public
  - License as published by the Free Software Foundation; either
  - version 2.1 of the License, or (at your option) any later version.
  -
  - This library is distributed in the hope that it will be useful,
  - but WITHOUT ANY WARRANTY; without even the implied warranty of
  - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  - Lesser General Public License for more details.
  -
  - You should have received a copy of the GNU Lesser General Public
  - License along with this library; if not, write to the Free Software
  - Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  -
  - For more information: www.smartfrog.org
  -
  +/*
  + * Copyright  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.
  + *  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.
  + *
*/
  -
   package org.apache.tools.ant.types.optional;
   
   import org.apache.tools.ant.util.FileNameMapper;
  
  
  

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



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

2005-05-17 Thread Martin Gainty
Not to mention > and other escaped characters
Can the Ant mail server either parse the html escaped characters and insert 
the correct character representation -OR-
Reject the transmission altogether?
Vielen Danke,
Martin-

- Original Message - 
From: "Dominique Devienne" <[EMAIL PROTECTED]>
To: "Ant Developers List" 
Sent: Monday, May 16, 2005 10:21 PM
Subject: Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html

On 14 May 2005 13:14:15 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
 +
 +  
 + 
 +  
 +
 +  
 +
The " are not necessary, are they Steven?
Makes it a lot harder to read, no? --DD
-
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: cvs commit: ant/docs/manual/OptionalTasks ftp.html

2005-05-17 Thread Peter Reilly
Martin Gainty wrote:
Not to mention > and other escaped characters
No,
Dominique was correctly compaining about the needless escaping of the
quote characters
Peter
Can the Ant mail server either parse the html escaped characters and 
insert the correct character representation -OR-
Reject the transmission altogether?
Vielen Danke,
Martin-

- Original Message - From: "Dominique Devienne" 
<[EMAIL PROTECTED]>
To: "Ant Developers List" 
Sent: Monday, May 16, 2005 10:21 PM
Subject: Re: cvs commit: ant/docs/manual/OptionalTasks ftp.html

On 14 May 2005 13:14:15 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 
wrote:

 +
 +  
 + 
 +  
 +
 +  
 +

The " are not necessary, are they Steven?
Makes it a lot harder to read, no? --DD
-
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]


Re: cvs commit: ant/src/main/org/apache/tools/ant/util ScriptRunner.java

2005-05-17 Thread Peter Reilly
?? jruby is already supported by bsf.
Peter
[EMAIL PROTECTED] wrote:
stevel  2005/05/17 03:40:46
 Modified:src/main/org/apache/tools/ant/taskdefs/optional/script
   ScriptDef.java
  src/main/org/apache/tools/ant/util ScriptRunner.java
 Log:
 jruby support in script. We ought to have a task to add these declarations.
 
 Revision  ChangesPath
 1.17  +4 -5  ant/src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java
 
 Index: ScriptDef.java
 ===
 RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java,v
 retrieving revision 1.16
 retrieving revision 1.17
 diff -u -r1.16 -r1.17
 --- ScriptDef.java	13 Dec 2004 09:06:19 -	1.16
 +++ ScriptDef.java	17 May 2005 10:40:46 -	1.17
 @@ -311,10 +311,7 @@
   * @deprecated use executeScript(attribute, elements, instance) instead
   */
  public void executeScript(Map attributes, Map elements) {
 -runner.addBean("attributes", attributes);
 -runner.addBean("elements", elements);
 -runner.addBean("project", getProject());
 -runner.executeScript("scriptdef_" + name);
 +executeScript(attributes, elements,null);
  }
  
  /**
 @@ -330,7 +327,9 @@
  runner.addBean("attributes", attributes);
  runner.addBean("elements", elements);
  runner.addBean("project", getProject());
 -runner.addBean("self", instance);
 +if(instance!=null) {
 +runner.addBean("self", instance);
 +}
  runner.executeScript("scriptdef_" + name);
  }
  
 
 
 
 1.11  +11 -0 ant/src/main/org/apache/tools/ant/util/ScriptRunner.java
 
 Index: ScriptRunner.java
 ===
 RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/ScriptRunner.java,v
 retrieving revision 1.10
 retrieving revision 1.11
 diff -u -r1.10 -r1.11
 --- ScriptRunner.java	24 Jan 2005 15:13:46 -	1.10
 +++ ScriptRunner.java	17 May 2005 10:40:46 -	1.11
 @@ -47,6 +47,17 @@
  new String[] {"groovy", "gy"});
  }
  
 +// Register Jruby ourselves, since BSF does not
 +// natively support it (yet).
 +// This "hack" can be removed once BSF has been
 +// modified to support Jruby or more dynamic
 +// registration.
 +static {
 +BSFManager.registerScriptingEngine("ruby",
 +"org.jruby.javasupport.bsf.JRubyEngine",
 +new String[]{"ruby","rb"});
 +}
 +
  /** Script language */
  private String language;
  
 
 
 

-
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 fetch.xml

2005-05-17 Thread stevel
stevel  2005/05/17 07:09:25

  Modified:lib  libraries.properties
   .fetch.xml
  Log:
  fetch moves to maven, though no auto download of those tasks, yet.
  
  Revision  ChangesPath
  1.4   +1 -0  ant/lib/libraries.properties
  
  Index: libraries.properties
  ===
  RCS file: /home/cvs/ant/lib/libraries.properties,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- libraries.properties  12 May 2005 04:21:01 -  1.3
  +++ libraries.properties  17 May 2005 14:09:25 -  1.4
  @@ -7,6 +7,7 @@
   bsh.version=2.0.b1
   commons-net.version=1.4.0
   commons-logging.version=1.0.4
  +commons-logging-api.version=${commons-logging.version}
   jdepend.version=2.7
   junit.version=3.8.1
   jsch.version=0.1.17
  
  
  
  1.3   +58 -41ant/fetch.xml
  
  Index: fetch.xml
  ===
  RCS file: /home/cvs/ant/fetch.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- fetch.xml 28 Jan 2005 23:18:32 -  1.2
  +++ fetch.xml 17 May 2005 14:09:25 -  1.3
  @@ -81,48 +81,65 @@
   
   Downloading to ${dest.dir}
 
  +
  +  
  +  
  +
  +
  +
  +  
  +
  +  
 
  -  
  -  
  -
  -
  -  
  -  
  -
  -Unknown project @{project}
  -  
  -
  -
  -
  -  
  -
  -
  -  
  -
  -  
  - 
  +
  +  
  +
  +
  +
  +Fetch the ant task JAR from http://maven.apache.org/maven2/ant-tasks.html
  +
  +
  +  
  +  
  +  
   
   
 
  -  
  +  
 
   
  -Unknown file @{archive}/
  +Unknown archive @{archive}
 
   
   
   
 
  -  
  -
  -  
  -
  +
  +
  +  
  +
  +
  +
  +  
  +
 

 
 
  +
  +  
  +  
  +  
  +
  +  
  +  
  +
  +  
 
   
 
  @@ -130,65 +147,65 @@
 
  -
  -
  +
  +
 
   
 
  -
  +
 
 
 
  -
  -
  +
  +
 
   
 
  -
  -
  +
  +
   
   
 
  -
  -
  +
  +
   

 
  -
  +
   
   
 
  -
  +
   
   
 
  -
  +
   
   
 
  -
  +
 
   
 
  -
  +
 
 
 

Re: and namespaces

2005-05-17 Thread Stefan Bodewig
On Mon, 16 May 2005, Dominique Devienne <[EMAIL PROTECTED]> wrote:
> On 5/16/05, Peter Reilly <[EMAIL PROTECTED]> wrote:
>> You need to use the "flattened" name  - uri + ":" + name eg:
>> 
> 
> Don't XML specs or XML tools use the {namespace}local-name notation
> when they expand ns-prefix:local-name?
> 
> So it would read: 

Shouldn't we simply make the condition support



Stefan

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



Re: cvs commit: ant WHATSNEW

2005-05-17 Thread Stefan Bodewig
On 16 May 2005, <[EMAIL PROTECTED]> wrote:

>   src/main/org/apache/tools/ant/types/optional
>   AbstractScriptComponent.java ScriptMapper.java

Those two have picked up the wrong copyright template in your IDE.

Also they need to get added to the needs.apache-bsf selector in
build.xml in order to allow building of Ant without BSF.

Stefan

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



DO NOT REPLY [Bug 34936] - java.io.IOException: cvs: not found when calling ant from crontab

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

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





--- Additional Comments From [EMAIL PROTECTED]  2005-05-17 04:13 ---
> Is there anyway of specifying the location of cvs?

You can always use  and see if it makes a 
difference. You could also echo the PATH before executing . Try also 
 to confirm it's really in the path.

Then some script other than Ant's own shell script could change the 
environment. --DD



-- 
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: and m2

2005-05-17 Thread Nicola Ken Barozzi
Brett Porter wrote:
On 5/16/05, Steve Loughran <[EMAIL PROTECTED]> wrote:
Example: fetching commons-logging 1.04
Hi Steve,
I'm going to work through the issues you filed here.
Brett, I appreciate your help, but it's unfair to only rely on your 
kindness and on you being on this list :-)

I have a couple more things to ask. Where should the discussion on the 
Maven Ant tasks take place IYO?

--
Nicola Ken Barozzi   [EMAIL PROTECTED]
- verba volant, scripta manent -
   (discussions get forgotten, just code remains)
-
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: ant WHATSNEW

2005-05-17 Thread Steve Loughran
[EMAIL PROTECTED] wrote:
  --- mapper.html   29 Apr 2005 18:58:12 -  1.26
  +++ mapper.html   16 May 2005 22:40:22 -  1.27
looks to me like a 12 hour delay in mail list mail right now; that new 
spam attack must be bringing down the network.

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


DO NOT REPLY [Bug 34936] - java.io.IOException: cvs: not found when calling ant from crontab

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

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





--- Additional Comments From [EMAIL PROTECTED]  2005-05-17 09:58 ---
(In reply to comment #1)
> In my experience, when commands are executed from cron, their environment is 
not set.
> You need to execute ". ~/.profile" before running any other commands.

Thanks for the response.  I tried calling the .profile that I normally use but 
crontab complained because of the 'export' command on each of the variables so 
I found some information on the Internet 
(http://www.aplawrence.com/Unixart/cron.html) that said you don't need to use 
export so I created a script that set all the variables required and then 
called the ant script but still no joy.
To check if the cvs bin directory was added I echoed the PATH to a file and 
found it was there and also tried calling cvs directly in the script and the 
command was found.  It only seemed to have problems in the ant script.

Thanks,
Stefan

-- 
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/util ScriptRunner.java

2005-05-17 Thread stevel
stevel  2005/05/17 03:45:52

  Modified:src/main/org/apache/tools/ant/util ScriptRunner.java
  Log:
  no, I didnt need to do that. rolling back.
  
  Revision  ChangesPath
  1.12  +0 -11 ant/src/main/org/apache/tools/ant/util/ScriptRunner.java
  
  Index: ScriptRunner.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/ScriptRunner.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- ScriptRunner.java 17 May 2005 10:40:46 -  1.11
  +++ ScriptRunner.java 17 May 2005 10:45:52 -  1.12
  @@ -47,17 +47,6 @@
   new String[] {"groovy", "gy"});
   }
   
  -// Register Jruby ourselves, since BSF does not
  -// natively support it (yet).
  -// This "hack" can be removed once BSF has been
  -// modified to support Jruby or more dynamic
  -// registration.
  -static {
  -BSFManager.registerScriptingEngine("ruby",
  -"org.jruby.javasupport.bsf.JRubyEngine",
  -new String[]{"ruby","rb"});
  -}
  -
   /** Script language */
   private String language;
   
  
  
  

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



AW: Commercial products on the "related products" page?

2005-05-17 Thread Jan . Materne
> I had hopes that we'd use the wiki for this sort of stuff in the  
> future, allowing it to be self-serve.  The downside is that it's not  
> included in the current distributions, but we could probably do some  
> sort of  to pull wiki content into distributions as a snapshot.


We had a similarly discussion earlier [1] :-)
But using the Wiki (only with registration!) sounds good - but we should
have a special eye on that when including into the distro. 

Jan


[1] http://marc.theaimsgroup.com/?l=ant-dev&m=105952175522328&w=2





Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs CopyPath.java defaults.properties

2005-05-17 Thread Stefan Bodewig
On 16 May 2005, <[EMAIL PROTECTED]> wrote:

>   utterly without documents or tests, a utility task to extract a
>   path to a dir, by way of a mapper.

To be obsoleted by ResourceCollections.

Stefan

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



AW: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs CopyPa th.java defaults.properties

2005-05-17 Thread Jan . Materne
>   Added:   src/main/org/apache/tools/ant/taskdefs CopyPath.java
>   Log:
>   utterly without documents or tests, a utility task to 
> extract a path to a dir, by way of a mapper.
>   
>   Index: defaults.properties
>   ===
>   +copypath=org.apache.tools.ant.taskdefs.CopyPath
>
>   Index: CopyPath.java
>   ===
>   package org.apache.tools.ant.taskdefs;
>   
>   /**
>* Copy the contents of a path to a destination, using the mapper of
choice
>* @since Ant 1.7
>*
>* @ant.task category="filesystem"
>*/
>   
>   public class CopyPath extends Task {
>   
>   /**
>* Set the path to be used when running the Java class.
>*
>* @param s an Ant Path object containing the path.
>*/
>   public void setPath(Path s) {
>   createPath().append(s);
>   }
>   
>   /**
>* This is a very minimal derivative of the nomal copy logic.
>*
>* @throws BuildException if something goes wrong with 
> the build.
>*/
>   public void execute() throws BuildException {
>   validateAttributes();
>   String[] sourceFiles = path.list();
>   if (sourceFiles.length == 0) {
>   log("Path is empty", Project.MSG_VERBOSE);
>   return;
>   }
>   
>   for (int sources = 0; sources < sourceFiles.length; 
> sources++) {
>   
>   String sourceFileName = sourceFiles[sources];
>   File sourceFile=new File(sourceFileName);
>   String[] toFiles = (String[]) 
> mapper.mapFileName(sourceFileName);
>   
>   for (int i = 0; i < toFiles.length; i++) {
>   String destFileName = toFiles[i];
>   File destFile=new File(destDir,destFileName);
>   
>   
>   if (sourceFile.equals(destFile)) {
>   log("Skipping self-copy of " + sourceFileName,
>   Project.MSG_VERBOSE);
>   continue;
>   }
>   try {
>   log("Copying " + sourceFile + " to " + destFile,
>   Project.MSG_VERBOSE);
>   
>   fileUtils.copyFile(sourceFile, destFile, null,
>   null, false,
>   preserveLastModified, null,
>   null, getProject());
>   } catch (IOException ioe) {
>   String msg = "Failed to copy " +
>   sourceFile +
>   " to " +
>   destFile
>   + " due to " + ioe.getMessage();
>   if (destFile.exists() && !destFile.delete()) {
>   msg += " and I couldn't delete the 
> corrupt " + destFile;
>   }
>   throw new BuildException(msg, ioe, 
> getLocation());
>   }
>   }
>   
>   }
>   
>   }
>   }
>   



Mmh, would it make more sense to add nested s to ? See 20635
[1].


Jan

[1] http://issues.apache.org/bugzilla/show_bug.cgi?id=20635


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

2005-05-17 Thread Dominique Devienne
On 14 May 2005 13:14:15 -, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>  +
>  +    +   server="ftp.hypthetical.fr"
>  +   userid="anonymous"
>  +   password="[EMAIL PROTECTED]"
>  +   defaultDateFormatConfig="d MMM "
>  +   recentDateFormatConfig="d MMM HH:mm"
>  +   serverLanguageCodeConfig="fr">
>  + 
>  +  
>  +
>  +  
>  +

The " are not necessary, are they Steven?
Makes it a lot harder to read, no? --DD

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



cvs commit: ant/src/main/org/apache/tools/ant/util ScriptRunner.java

2005-05-17 Thread stevel
stevel  2005/05/17 03:40:46

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/script
ScriptDef.java
   src/main/org/apache/tools/ant/util ScriptRunner.java
  Log:
  jruby support in script. We ought to have a task to add these declarations.
  
  Revision  ChangesPath
  1.17  +4 -5  
ant/src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java
  
  Index: ScriptDef.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/script/ScriptDef.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- ScriptDef.java13 Dec 2004 09:06:19 -  1.16
  +++ ScriptDef.java17 May 2005 10:40:46 -  1.17
  @@ -311,10 +311,7 @@
* @deprecated use executeScript(attribute, elements, instance) instead
*/
   public void executeScript(Map attributes, Map elements) {
  -runner.addBean("attributes", attributes);
  -runner.addBean("elements", elements);
  -runner.addBean("project", getProject());
  -runner.executeScript("scriptdef_" + name);
  +executeScript(attributes, elements,null);
   }
   
   /**
  @@ -330,7 +327,9 @@
   runner.addBean("attributes", attributes);
   runner.addBean("elements", elements);
   runner.addBean("project", getProject());
  -runner.addBean("self", instance);
  +if(instance!=null) {
  +runner.addBean("self", instance);
  +}
   runner.executeScript("scriptdef_" + name);
   }
   
  
  
  
  1.11  +11 -0 ant/src/main/org/apache/tools/ant/util/ScriptRunner.java
  
  Index: ScriptRunner.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/util/ScriptRunner.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ScriptRunner.java 24 Jan 2005 15:13:46 -  1.10
  +++ ScriptRunner.java 17 May 2005 10:40:46 -  1.11
  @@ -47,6 +47,17 @@
   new String[] {"groovy", "gy"});
   }
   
  +// Register Jruby ourselves, since BSF does not
  +// natively support it (yet).
  +// This "hack" can be removed once BSF has been
  +// modified to support Jruby or more dynamic
  +// registration.
  +static {
  +BSFManager.registerScriptingEngine("ruby",
  +"org.jruby.javasupport.bsf.JRubyEngine",
  +new String[]{"ruby","rb"});
  +}
  +
   /** Script language */
   private String language;
   
  
  
  

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



cvs commit: ant build.xml

2005-05-17 Thread bodewig
bodewig 2005/05/17 03:47:57

  Modified:.build.xml
  Log:
  Exclude AbstractScriptComponent.java as well
  
  Revision  ChangesPath
  1.469 +1 -1  ant/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/ant/build.xml,v
  retrieving revision 1.468
  retrieving revision 1.469
  diff -u -r1.468 -r1.469
  --- build.xml 17 May 2005 05:03:02 -  1.468
  +++ build.xml 17 May 2005 10:47:57 -  1.469
  @@ -248,7 +248,7 @@
   
 
 
  -  
  +  
 
   
 
  
  
  

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



cvs commit: ant build.xml

2005-05-17 Thread antoine
antoine 2005/05/16 22:16:17

  Modified:.Tag: ANT_16_BRANCH build.xml
  Log:
  Merge
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.392.2.43 +22 -20ant/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/ant/build.xml,v
  retrieving revision 1.392.2.42
  retrieving revision 1.392.2.43
  diff -u -r1.392.2.42 -r1.392.2.43
  --- build.xml 10 May 2005 13:58:53 -  1.392.2.42
  +++ build.xml 17 May 2005 05:16:16 -  1.392.2.43
  @@ -119,6 +119,8 @@
 -->
 
 
  +  
  +  
 
 
 
  @@ -1131,14 +1133,14 @@
   
   
   
  -
  -
  +
  +
   
   
   
 
   
  -
  +
 
   
   
  @@ -1154,7 +1156,7 @@
 
   
   
  + destfile="${dist.base.binaries}/${dist.name}-bin.tar">
 
   
   
  @@ -1169,11 +1171,11 @@
   
 
   
  -
  -
  -
  +
  +
  +
   
   
 
  @@ -1190,14 +1192,14 @@
   
   
   
  -  
  +  
   
   
   
 
   
   
  -  
  +  
   
   
   
  @@ -1207,7 +1209,7 @@
   
 
   
  -
  +
 
   
   
  @@ -1219,7 +1221,7 @@
 
   
   
  + destfile="${dist.base.source}/${dist.name}-src.tar" >
 
   
   
  @@ -1230,21 +1232,21 @@
   
 
   
  -
  -
  -
  +
  +
  +
   
   
  -  
  +  
   
   
   
 
   
   
  -  
  +  
   
   
   
  
  
  

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



cvs commit: ant build.xml

2005-05-17 Thread antoine
antoine 2005/05/16 22:03:02

  Modified:.build.xml
  Log:
  build the distribution with subdirectories source and binaries like
  the directories on the Apache web site
  
  Revision  ChangesPath
  1.468 +22 -20ant/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/ant/build.xml,v
  retrieving revision 1.467
  retrieving revision 1.468
  diff -u -r1.467 -r1.468
  --- build.xml 10 May 2005 13:57:48 -  1.467
  +++ build.xml 17 May 2005 05:03:02 -  1.468
  @@ -123,6 +123,8 @@
  -->
 
 
  +  
  +  
 
 
 
  @@ -1192,14 +1194,14 @@
   
   
   
  -
  -
  +
  +
   
   
   
 
   
  -
  +
 
   
   
  @@ -1215,7 +1217,7 @@
 
   
   
  +  destfile="${dist.base.binaries}/${dist.name}-bin.tar">
 
   
   
  @@ -1230,11 +1232,11 @@
   
 
   
  -
  -
  -
  +
  +
  +
   
   
 
  @@ -1251,14 +1253,14 @@
   
   
   
  -  
  +  
   
   
   
 
   
   
  -  
  +  
   
   
   
  @@ -1268,7 +1270,7 @@
   
 
   
  -
  +
 
   
   
  @@ -1280,7 +1282,7 @@
 
   
   
  +  destfile="${dist.base.source}/${dist.name}-src.tar">
 
   
   
  @@ -1291,21 +1293,21 @@
   
 
   
  -
  -
  -
  +
  +
  +
   
   
  -  
  +  
   
   
   
 
   
   
  -  
  +  
   
   
   
  
  
  

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



Re: and m2

2005-05-17 Thread Brett Porter
On 5/16/05, Steve Loughran <[EMAIL PROTECTED]> wrote:
> Example: fetching commons-logging 1.04

Hi Steve,

I'm going to work through the issues you filed here. We have planned
for the next release some filtering. Ideally, it shouldn't be needed,
but some projects will always build one bundle for you and let you
guess which bits need which dependencies, so the user needs full
control. There are definitely problems with some of the metadata -
particularly in commons, and unfortunately I didn't get a whole lot of
interest from commons developers at the time, so I'm fixing things
myself.

Aside from that, for commons-logging, I think you actually want
commons-logging-api which has no dependencies, right?

Cheers,
Brett

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



DO NOT REPLY [Bug 34941] New: - FTP uptodate calculations wrong

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

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

   Summary: FTP uptodate calculations wrong
   Product: Ant
   Version: unspecified
  Platform: All
OS/Version: other
Status: NEW
  Severity: normal
  Priority: P2
 Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


Given the following task call


   


If this is executed a second time, all files included in the fileset will be
retrieved regardless of whether or not they have changed on the server in the
intervening time interval.

This is because the underlying uptodate logic is returning false if the source
and destination timestamps are equal.  Logically, it should be true.  Logically,
any file where the local file's timestamp is greater than or equal to the remote
file's timestamp is up to date.  Any file whose local timestamp is less than its
remote file's timestamp is not.  But that's not the current implementation.

A similar issue exists on put.

The fix is easy to implement and I will do it, but I want to give the community
a chance to comment before implementing.  There may be a use case for the
existing functionality that I am not understanding, or there may be an important
backward compatibility issue that I am missing.

-- 
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-17 Thread stevel
stevel  2005/05/16 15:40:23

  Modified:docs/manual/CoreTypes mapper.html
   src/etc/testcases/types/mappers define.mapperresult.xml
   src/main/org/apache/tools/ant/types/optional
ScriptCondition.java
   src/main/org/apache/tools/ant/types defaults.properties
   src/testcases/org/apache/tools/ant/types/mappers
MapperResult.java
   .WHATSNEW
  Added:   src/etc/testcases/types/mappers scriptmapper.xml
   src/main/org/apache/tools/ant/types/optional
AbstractScriptComponent.java ScriptMapper.java
   src/testcases/org/apache/tools/ant/types/optional
ScriptMapperTest.java
  Log:
  , with tests and docs. At this point we have near total script 
coverage of all the core ant extension points. Note the refactoring of 
scriptcondition to give us a better base for these things.
  
  Revision  ChangesPath
  1.27  +100 -0ant/docs/manual/CoreTypes/mapper.html
  
  Index: mapper.html
  ===
  RCS file: /home/cvs/ant/docs/manual/CoreTypes/mapper.html,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- mapper.html   29 Apr 2005 18:58:12 -  1.26
  +++ mapper.html   16 May 2005 22:40:22 -  1.27
  @@ -683,6 +683,106 @@
 The filtermapper has no corresponding
    attribute.
 
  +
  +
  +
  +
  +
  +scriptmapper (since ant 1.7)
  +
  +This mapper executes a script written in http://jakarta.apache.org/bsf"; target="_top">Apache BSF
  +supported language, once per file to map.
  +The script can be declared inline or in a specified file.
  +
  +
  +See the Script task for
  +an explanation of scripts and dependencies.
  +
  +
  +  
  +
  +  Attribute
  +  Description
  +  Required
  +
  +
  +  language
  +  
  +Scripting language
  +  
  +  Yes
  +
  +
  +  src
  +  
  +File containing the script
  +  
  +  No
  +
  +
  +
  +
  +Example
  +
  +
  +
  +  self.addMappedName(source.toUpperCase());
  +  self.addMappedName(source.toLowerCase());
  +
  +
  +
  +
  +  
  +Source file name
  +Target file names
  +  
  +  
  +foo\bar\A.java
  +FOO\BAR\A.JAVA foo\bar\a.java
  +  
  +
  +
  +
  +To use this mapper, the scripts need access to the source file,
  +and the ability to return multiple mappings. Here are the relevant beans and
  +their methods. The script is called once for every source file, with the
  +list of mapped names reset after every invocation.
  +
  +  
  +
  +  Script bean
  +  Description
  +
  +
  +  source: String
  +  
  +The file/path to map
  +  
  +
  +
  +  self
  +  
  +the scriptmapper itself
  +  
  +
  +
  +  self.addMappedName(String name)
  +  
  +Add a new mapping
  +  
  +
  +
  +  self.clear()
  +  
  +Reset the list of files.
  +  
  +
  +
  +
  +  The scriptmapper has no corresponding
  + attribute.
  +  
  +
   
   Copyright © 2000-2005 The Apache Software Foundation. 
All rights
   Reserved.
  
  
  
  1.2   +3 -0  
ant/src/etc/testcases/types/mappers/define.mapperresult.xml
  
  Index: define.mapperresult.xml
  ===
  RCS file: 
/home/cvs/ant/src/etc/testcases/types/mappers/define.mapperresult.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- define.mapperresult.xml   17 Dec 2004 13:24:38 -  1.1
  +++ define.mapperresult.xml   16 May 2005 22:40:22 -  1.2
  @@ -2,4 +2,7 @@
 
  +
  + 
  + 
   
  
  
  
  1.1  ant/src/etc/testcases/types/mappers/scriptmapper.xml
  
  Index: scriptmapper.xml
  ===
  

  


  

  self.addMappedName("a");

  

  

  

  self.addMappedName("a");
  self.clear();

  

  

  

  self.addMappedName("a");
  self.addMappedName("b");

  

  

  

  //relying on "a" to map to "A" on all locales.
  self.addMappedName(source.toUpperCase());
  self.addMappedName(source.toLowerCase());

  


  
  
  
  
  1.3   +4 -36 
ant/src/main/org/apache/tools/ant/types/optional/ScriptCondition.java
  
  Index: ScriptCondition.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/optional/ScriptCondition.java,v
  retri

Re: FTP.isUpToDate()

2005-05-17 Thread Antoine Levy-Lambert
> I agree with you.  I suppose that with the current code, you can always 
> "fudge" the granularities by summing them together as timediffmillis in 
> the above code which is a settable parameter.
> 
> The case I have in mind is this:
> 
>   ...
>  preservelastmodified="true"
>  newer="true"/>
> 
> Repeating that twice in succession with the current code will ALWAYS 
> result in fetching the entire fileset twice whether the source files
> change or not.  This seems like an incorrect result, even a bug.
> 
> So I want to make this change.
> 
+1

> But before I rush off and do that, I want, as a reality check, an idea 
> of a use case that this change would break.  I can't think of one.
> 
> My thought is that anyone who would want to use this task with 
> newer="true" and preservelastmodified="false" isn't going to care about 
> granularity-based differences.  That person is simply using the task 
> coarsely.  And anyone who would do it as in the above snippet would want 
>  >= rather than >.
> 
> Please, if someone can come up with a contradictory use case or other 
> argument, lay it out here, otherwise I am going to make the change.
> 
> The only plausible argument I can think of is backward compatibility of 
> existing scripts.  I am guessing that anyone who is trying to use the 
> task precisely may already be adding or subtacting 1 in the 
> timediffmillis to overcome this problem.
> 
> 
Do not worry if you are sure that the current behavior is buggy.

Cheers,

Antoine

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