DO NOT REPLY [Bug 27099] New: - Error running cvs task in wsad 5.1

2004-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27099.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27099

Error running cvs task in wsad 5.1

   Summary: Error running cvs task in wsad 5.1
   Product: Ant
   Version: 1.5.3
  Platform: Other
OS/Version: Windows NT/2K
Status: NEW
  Severity: Major
  Priority: Other
 Component: Other
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


My wsad 5.1 on a windows workstation has been configured to CVS repository 
residing in windows 2003 on a remote machine.I am able to manually check out 
and check in the projects using the wsad team view.
   but when i try to automate this process using ANT i am getting this error 


[cvs] Caught exception: CreateProcess: cvs -d:pserver:[EMAIL PROTECTED]
apcxs02d:d/src/master/gas checkout GasCVSTest error=2

and the build is failed.
 
 could anyone please guide me on this issue.I really appreciate any help from 
you.
   I have a time crunch..so please let me know at the earliest.
Thanks.

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



DO NOT REPLY [Bug 27099] - Error running cvs task in wsad 5.1

2004-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27099.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27099

Error running cvs task in wsad 5.1

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-02-20 01:18 ---
this means that the program cvs.exe is not your path.
Install a version of cvs on your PC.
It must ben in your path when you start WSAD.

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



cvs commit: ant/docs license.html mail.html mission.html

2004-02-20 Thread antoine
antoine 2004/02/19 17:22:28

  Modified:xdocslicense.xml mail.xml mission.xml
   docs license.html mail.html mission.html
  Log:
  further preparation for forrest migration
  
  Revision  ChangesPath
  1.5   +1 -1  ant/xdocs/license.xml
  
  Index: license.xml
  ===
  RCS file: /home/cvs/ant/xdocs/license.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- license.xml   20 Feb 2004 01:00:10 -  1.4
  +++ license.xml   20 Feb 2004 01:22:27 -  1.5
  @@ -231,7 +231,7 @@
*   limitations under the License.
*/
   /source
  -  pYou can download the original license file a href=./LICENSE 
target=_newhere/a/p.
  +  pYou can download the original license file a href=./LICENSE 
target=_newhere./a/p
   pThe License is accompanied by a NOTICE/p
   source
  =
  
  
  
  1.10  +1 -0  ant/xdocs/mail.xml
  
  Index: mail.xml
  ===
  RCS file: /home/cvs/ant/xdocs/mail.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- mail.xml  16 Feb 2004 16:38:06 -  1.9
  +++ mail.xml  20 Feb 2004 01:22:27 -  1.10
  @@ -18,6 +18,7 @@
   
 properties
   titleMailing Lists/title
  +author email=Apache Ant PMC/author
 /properties
   
   body
  
  
  
  1.4   +1 -0  ant/xdocs/mission.xml
  
  Index: mission.xml
  ===
  RCS file: /home/cvs/ant/xdocs/mission.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- mission.xml   16 Feb 2004 16:38:06 -  1.3
  +++ mission.xml   20 Feb 2004 01:22:27 -  1.4
  @@ -18,6 +18,7 @@
   
 properties
   titleApache Ant Mission/title
  +author email=Apache Ant PMC/author
 /properties
   
   body
  
  
  
  1.24  +1 -1  ant/docs/license.html
  
  Index: license.html
  ===
  RCS file: /home/cvs/ant/docs/license.html,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- license.html  20 Feb 2004 01:00:10 -  1.23
  +++ license.html  20 Feb 2004 01:22:28 -  1.24
  @@ -379,7 +379,7 @@
*   limitations under the License.
*/
   /pre
  -pYou can download the original license 
file a href=./LICENSE target=_newhere/a/p
  +pYou can download the original license 
file a href=./LICENSE target=_newhere./a/p
   pThe License is accompanied by a NOTICE/p
   pre class=code
  =
  
  
  
  1.29  +3 -1  ant/docs/mail.html
  
  Index: mail.html
  ===
  RCS file: /home/cvs/ant/docs/mail.html,v
  retrieving revision 1.28
  retrieving revision 1.29
  diff -u -r1.28 -r1.29
  --- mail.html 7 Jan 2004 07:27:59 -   1.28
  +++ mail.html 20 Feb 2004 01:22:28 -  1.29
  @@ -7,7 +7,9 @@
 META http-equiv=Content-Type content=text/html; 
charset=ISO-8859-1
   titleApache Ant - Mailing Lists/title
   link type=text/css href=./page.css rel=stylesheet
  -/head
  +  meta name=author content=Apache Ant PMC
  +  meta name=email content=
  +  /head
   
   body
 p class=navpath
  
  
  
  1.23  +3 -1  ant/docs/mission.html
  
  Index: mission.html
  ===
  RCS file: /home/cvs/ant/docs/mission.html,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- mission.html  7 Jan 2004 07:27:59 -   1.22
  +++ mission.html  20 Feb 2004 01:22:28 -  1.23
  @@ -7,7 +7,9 @@
 META http-equiv=Content-Type content=text/html; 
charset=ISO-8859-1
   titleApache Ant - Apache Ant Mission/title
   link type=text/css href=./page.css rel=stylesheet
  -/head
  +  meta name=author content=Apache Ant PMC
  +  meta name=email content=
  +  /head
   
   body
 p class=navpath
  
  
  

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



[Ant Wiki] Updated: FrontPage

2004-02-20 Thread ant-cvs
   Date: 2004-02-19T07:19:00
   Editor: 130.89.169.128 
   Wiki: Ant Wiki
   Page: FrontPage
   URL: http://wiki.apache.org/ant/FrontPage

   no comment

Change Log:

--
@@ -5,6 +5,12 @@
 
 This wiki has just been set up as part of the [wiki:ApacheGeneral:FrontPage 
big Apache Wiki Farm]. It does not contain anything yet.
 
+= Migrated data =
+
+Somewhat stale (~november 2003) and somewhat incomplete pages that were 
migrated from the UseMod wiki to http://wiki.apache.org/old/ have been copied 
to this wiki. Some manual editing is likely neccessary.
+
+In particular, take a look at the old index for ant at UseMod, the 
AntProjectPages. You may want to copy the materials from that page to the front 
page.
+
 = 'Special' Wiki pages =
 
   '''TitleIndex'''

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



Re: cvs commit: ant/docs license.html

2004-02-20 Thread Stefan Bodewig
On 20 Feb 2004, [EMAIL PROTECTED] wrote:

   +author email=Apache Ant PMC/author

Apache Software Foundation - in the case of the license?

Stefan

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



Re: something for you [new virus?]

2004-02-20 Thread Stefan Bodewig
On Thu, 19 Feb 2004, Alexey N. Solofnenko [EMAIL PROTECTED]
wrote:

 Have you installed a new virus?

One of those now all-too-common virus instances that forge the sender.
You wouldn't believe the amount of bounces I receive for virus mails
that have forged one of my addresses.  They've vastly outnumber the
amount of spam I receive over the past two weeks.

Yes, it has been a virus and this can happen on the list more often if
the forged sender is subscribed to the list.

Stefan

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



Re: cvs commit: ant/docs license.html

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

 +author email=Apache Ant PMC/author
   

Apache Software Foundation - in the case of the license?
Stefan
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 

OK - will change it.
Cheers from Walldorf,
Antoine
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


cvs commit: ant/xdocs/projects/antidote design.xml

2004-02-20 Thread antoine
antoine 2004/02/20 00:07:11

  Modified:docs license.html
   docs/projects/antidote design.html
   xdocslicense.xml
   xdocs/projects/antidote design.xml
  Log:
  Set the author of the license to The Apache Software Foundation
  Fix the case of the tt element in the antidote docu
  
  Revision  ChangesPath
  1.25  +1 -1  ant/docs/license.html
  
  Index: license.html
  ===
  RCS file: /home/cvs/ant/docs/license.html,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- license.html  20 Feb 2004 01:22:28 -  1.24
  +++ license.html  20 Feb 2004 08:07:10 -  1.25
  @@ -7,7 +7,7 @@
 META http-equiv=Content-Type content=text/html; 
charset=ISO-8859-1
   titleApache Ant - License/title
   link type=text/css href=./page.css rel=stylesheet
  -  meta name=author content=Apache Ant PMC
  +  meta name=author content=The Apache Software Foundation
 meta name=email content=
 /head
   
  
  
  
  1.16  +1 -1  ant/docs/projects/antidote/design.html
  
  Index: design.html
  ===
  RCS file: /home/cvs/ant/docs/projects/antidote/design.html,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- design.html   7 Jan 2004 07:27:59 -   1.15
  +++ design.html   20 Feb 2004 08:07:11 -  1.16
  @@ -179,7 +179,7 @@
  |   | || | | |  |
  +---+ ++ +-+ +--+
   /pre
  -pThe backbone of the application is the 
TTEventBus/TT. Any
  +pThe backbone of the application is the 
codeEventBus/code. Any
   component of the application can post events to the
   codeEventBus/code. Components that wish to receive events are
   called codeBusMember/codes.
  
  
  
  1.6   +1 -1  ant/xdocs/license.xml
  
  Index: license.xml
  ===
  RCS file: /home/cvs/ant/xdocs/license.xml,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- license.xml   20 Feb 2004 01:22:27 -  1.5
  +++ license.xml   20 Feb 2004 08:07:11 -  1.6
  @@ -18,7 +18,7 @@
   
 properties
   titleLicense/title
  -author email=Apache Ant PMC/author
  +author email=The Apache Software Foundation/author
 /properties
   
   body
  
  
  
  1.5   +1 -1  ant/xdocs/projects/antidote/design.xml
  
  Index: design.xml
  ===
  RCS file: /home/cvs/ant/xdocs/projects/antidote/design.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- design.xml16 Feb 2004 16:42:01 -  1.4
  +++ design.xml20 Feb 2004 08:07:11 -  1.5
  @@ -87,7 +87,7 @@
  |   | || | | |  |br/
  +---+ ++ +-+ +--+
   /source
  -pThe backbone of the application is the TTEventBus/TT. Any
  +pThe backbone of the application is the codeEventBus/code. Any
   component of the application can post events to the
   codeEventBus/code. Components that wish to receive events are
   called codeBusMember/codes.
  
  
  

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



Re: Moving to Ant 1.6.1 = UnknownElements galor!

2004-02-20 Thread Peter Reilly
Wascally Wabbit wrote:
At 07:11 AM 2/19/2004, you wrote:
On Wed, 18 Feb 2004, Peter Reilly [EMAIL PROTECTED] wrote:
 Your container class will need to check if the Task is
 an UnknownElement and call perform on it to
 convert it to a Task and to execute it.
 (see apache.tools.ant.taskdefs.Sequential)
Hmm, the FAQ entry doesn't say whether I can or can not convert the
UnknownElement to a Task right inside the addTask method (i.e. use
maybeConfigure) or only once execute has been invoked.
I'm not sure myself 8-)
Stefan

FYI,
I have tried replacing the task inside the addTask and it seems
to work thus far (I store the real task not the UnknownElement).
Yes, this should work.
I will update the FAQ with this information. (Hopefully, this
time with nearly correct spellings).
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: ant WHATSNEW

2004-02-20 Thread Peter Reilly
[EMAIL PROTECTED] wrote:
mbenson 2004/02/19 13:14:16
 Modified:src/testcases/org/apache/tools/ant/filters
   TokenFilterTest.java
  src/main/org/apache/tools/ant/filters TokenFilter.java
  src/etc/testcases/filters tokenfilter.xml
  .WHATSNEW
 Log:
 TokenFilter.ReplaceString only replaced the first occurrence.
 
 Revision  ChangesPath
 1.7   +8 -0  ant/src/testcases/org/apache/tools/ant/filters/TokenFilterTest.java
 
 Index: TokenFilterTest.java
 ===
 RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/filters/TokenFilterTest.java,v
 retrieving revision 1.6
 retrieving revision 1.7
 diff -u -r1.6 -r1.7
 --- TokenFilterTest.java	9 Feb 2004 21:05:41 -	1.6
 +++ TokenFilterTest.java	19 Feb 2004 21:14:16 -	1.7
 @@ -82,6 +82,10 @@
  this is the moon);
  }
  
 +public void testReplaceStrings() throws IOException {
 +expectLogContaining(replacestrings, bar bar bar);
 +}
 +
  public void testContainsString() throws IOException {
  String contents = getFileString(
  containsstring, result/containsstring);
 @@ -137,6 +141,10 @@
  String contents = getFileString(
  filterreplacestring, result/filterreplacestring);
  assertStringContains(contents, This is the moon);
 +}
 +
 +public void testFilterReplaceStrings() throws IOException {
 +expectLogContaining(filterreplacestrings, bar bar bar);
  }
  
 


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


Re: cvs commit: ant WHATSNEW

2004-02-20 Thread Peter Reilly
Opps, hit the send button too early.
I meant to say good catch!
Peter
Peter Reilly wrote:
[EMAIL PROTECTED] wrote:
mbenson 2004/02/19 13:14:16
 Modified:src/testcases/org/apache/tools/ant/filters
   TokenFilterTest.java
  src/main/org/apache/tools/ant/filters TokenFilter.java
  src/etc/testcases/filters tokenfilter.xml
  .WHATSNEW
 Log:
 TokenFilter.ReplaceString only replaced the first occurrence.
 
 Revision  ChangesPath
 1.7   +8 -0  
ant/src/testcases/org/apache/tools/ant/filters/TokenFilterTest.java
 
 Index: TokenFilterTest.java
 ===
 RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/filters/TokenFilterTest.java,v 

 retrieving revision 1.6
 retrieving revision 1.7
 diff -u -r1.6 -r1.7
 --- TokenFilterTest.java9 Feb 2004 21:05:41 -1.6
 +++ TokenFilterTest.java19 Feb 2004 21:14:16 -1.7
 @@ -82,6 +82,10 @@
  this is the moon);
  }
   +public void testReplaceStrings() throws IOException {
 +expectLogContaining(replacestrings, bar bar bar);
 +}
 +
  public void testContainsString() throws IOException {
  String contents = getFileString(
  containsstring, result/containsstring);
 @@ -137,6 +141,10 @@
  String contents = getFileString(
  filterreplacestring, result/filterreplacestring);
  assertStringContains(contents, This is the moon);
 +}
 +
 +public void testFilterReplaceStrings() throws IOException {
 +expectLogContaining(filterreplacestrings, bar bar bar);
  }
   


-
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/xdocs projects.xml external.xml

2004-02-20 Thread jhm
jhm 2004/02/20 00:13:37

  Modified:xdocsprojects.xml external.xml
  Log:
  Antelope new url; new tasks: antariel, rundoc
  
  Revision  ChangesPath
  1.14  +5 -5  ant/xdocs/projects.xml
  
  Index: projects.xml
  ===
  RCS file: /home/cvs/ant/xdocs/projects.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- projects.xml  16 Feb 2004 16:38:06 -  1.13
  +++ projects.xml  20 Feb 2004 08:13:37 -  1.14
  @@ -22,7 +22,7 @@
 /properties
   
 body
  -
  +
   section name=Related Projects
   
 pNothing listed here is directly supported by the Ant
  @@ -99,11 +99,11 @@
   table
 tr
   thCompatibility:/th
  -tdTested extensively with Ant 1.5.x./td
  +tdAnt 1.5 and higher./td
 /tr
 tr
   thURL:/th
  -tda 
href=http://antelope.sourceforge.net/;http://antelope.sourceforge.net//a/td
  +tda 
href=http://antelope.tigris.org/;http://antelope.tigris.org//a/td
 /tr
 tr
   thContact:/th
  @@ -240,7 +240,7 @@
 /tr
   /table
 /subsection
  -  
  +
 subsection name=NAnt
   
   pNAnt is a .NET based build tool. In theory it is kind of
  @@ -322,4 +322,4 @@
   /section
   
 /body
  -/document
  +/document
  \ No newline at end of file
  
  
  
  1.119 +58 -0 ant/xdocs/external.xml
  
  Index: external.xml
  ===
  RCS file: /home/cvs/ant/xdocs/external.xml,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- external.xml  19 Feb 2004 11:46:58 -  1.118
  +++ external.xml  20 Feb 2004 08:13:37 -  1.119
  @@ -92,6 +92,32 @@
   /table
 /subsection
   
  +  subsection name=Antariel
  +
  +pAndariel is a set of tasks designed to help the generation of HTML
  +(and other markup languages) pages from Ant. Includes a XPath 
processor,
  +an image information retriever, and others./p
  +
  +table class=externals
  +  tr
  +thCompatibility:/th
  +tdAnt 1.5.4 and newer/td
  +  /tr
  +  tr
  +thURL:/th
  +tda 
href=http://andariel.uworks.net/;http://andariel.uworks.net//a/td
  +  /tr
  +  tr
  +thContact:/th
  +tdjosep DOT rio AT uworks DOT net/td
  +  /tr
  +  tr
  +thLicense:/th
  +tdApache Software License 1.1/td
  +  /tr
  +/table
  +  /subsection
  +
 subsection name=AntDoc
   
   pAntDoc is a tool that generates HTML documentation from Ant
  @@ -1771,6 +1797,38 @@
 tr
   thLicense:/th
   tdGNU General Public License (GPL)/td
  +  /tr
  +/table
  +  /subsection
  +
  +  subsection name=rundoc
  +pA task designed to help with the single-sourcing of program
  +documentation. Rundoc replaces special commands
  +(in the format i@@rundoc:command param1 param2...@@/i) embedded
  +within text files with their output in a
  +specified format. Currently, only Docbook format is supported./p
  +
  +pRundoc was written to keep sample code output in program
  +documentation synchronized with the actual output
  +of the current code, by running the referenced code when the
  +documentation is built./p
  +
  +table class=externals
  +  tr
  +thCompatibility:/th
  +tdTested with 1.6  Should work with all versions./td
  +  /tr
  +  tr
  +thURL:/th
  +tda 
href=http://www.martiansoftware.com/lab/index.html#rundoc;http://www.martiansoftware.com/lab/index.html#rundoc/a/td
  +  /tr
  +  tr
  +thContact:/th
  +tda href=http://www.martiansoftware.com/contact.html;Marty 
Lamb/a/td
  +  /tr
  +  tr
  +thLicense:/th
  +tdRevised BSD/td
 /tr
   /table
 /subsection
  
  
  

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



RE: cvs commit: ant/xdocs projects.xml external.xml

2004-02-20 Thread Jan . Materne
I´ve added 
- Antelope changes (new URL, compatibility)
- rundoc task
- Andariel tasks (damn, typo here)

Because I had a Up-to-date check failed I´ll have to check
my machine (tomorrow). Then I´ll do the typo-fix, html-generation
and 1.6-sync.

I post this to both lists because the three changes are originated
in both lists.


Jan


 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 20, 2004 9:14 AM
 To: [EMAIL PROTECTED]
 Subject: cvs commit: ant/xdocs projects.xml external.xml
 
 
 jhm 2004/02/20 00:13:37
 
   Modified:xdocsprojects.xml external.xml
   Log:
   Antelope new url; new tasks: antariel, rundoc
   
   Revision  ChangesPath
   1.14  +5 -5  ant/xdocs/projects.xml
   
   Index: projects.xml
   ===
   RCS file: /home/cvs/ant/xdocs/projects.xml,v
   retrieving revision 1.13
   retrieving revision 1.14
   diff -u -r1.13 -r1.14
   --- projects.xml16 Feb 2004 16:38:06 -  1.13
   +++ projects.xml20 Feb 2004 08:13:37 -  1.14
   @@ -22,7 +22,7 @@
  /properties

  body
   -
   +
section name=Related Projects

  pNothing listed here is directly supported by the Ant
   @@ -99,11 +99,11 @@
table
  tr
thCompatibility:/th
   -tdTested extensively with Ant 1.5.x./td
   +tdAnt 1.5 and higher./td
  /tr
  tr
thURL:/th
   -tda 
 href=http://antelope.sourceforge.net/;http://antelope.source
 forge.net//a/td
   +tda 
 href=http://antelope.tigris.org/;http://antelope.tigris.org/
 /a/td
  /tr
  tr
thContact:/th
   @@ -240,7 +240,7 @@
  /tr
/table
  /subsection
   -  
   +
  subsection name=NAnt

pNAnt is a .NET based build tool. In theory it is kind of
   @@ -322,4 +322,4 @@
/section

  /body
   -/document
   +/document
   \ No newline at end of file
   
   
   
   1.119 +58 -0 ant/xdocs/external.xml
   
   Index: external.xml
   ===
   RCS file: /home/cvs/ant/xdocs/external.xml,v
   retrieving revision 1.118
   retrieving revision 1.119
   diff -u -r1.118 -r1.119
   --- external.xml19 Feb 2004 11:46:58 -  1.118
   +++ external.xml20 Feb 2004 08:13:37 -  1.119
   @@ -92,6 +92,32 @@
/table
  /subsection

   +  subsection name=Antariel
   +
   +pAndariel is a set of tasks designed to help the 
 generation of HTML
   +(and other markup languages) pages from Ant. 
 Includes a XPath processor,
   +an image information retriever, and others./p
   +
   +table class=externals
   +  tr
   +thCompatibility:/th
   +tdAnt 1.5.4 and newer/td
   +  /tr
   +  tr
   +thURL:/th
   +tda 
 href=http://andariel.uworks.net/;http://andariel.uworks.net/
 /a/td
   +  /tr
   +  tr
   +thContact:/th
   +tdjosep DOT rio AT uworks DOT net/td
   +  /tr
   +  tr
   +thLicense:/th
   +tdApache Software License 1.1/td
   +  /tr
   +/table
   +  /subsection
   +
  subsection name=AntDoc

pAntDoc is a tool that generates HTML 
 documentation from Ant
   @@ -1771,6 +1797,38 @@
  tr
thLicense:/th
tdGNU General Public License (GPL)/td
   +  /tr
   +/table
   +  /subsection
   +
   +  subsection name=rundoc
   +pA task designed to help with the 
 single-sourcing of program
   +documentation. Rundoc replaces special commands
   +(in the format i@@rundoc:command param1 
 param2...@@/i) embedded
   +within text files with their output in a
   +specified format. Currently, only Docbook format 
 is supported./p
   +
   +pRundoc was written to keep sample code output in program
   +documentation synchronized with the actual output
   +of the current code, by running the referenced 
 code when the
   +documentation is built./p
   +
   +table class=externals
   +  tr
   +thCompatibility:/th
   +tdTested with 1.6  Should work with all 
 versions./td
   +  /tr
   +  tr
   +thURL:/th
   +tda 
 href=http://www.martiansoftware.com/lab/index.html#rundoc;ht
tp://www.martiansoftware.com/lab/index.html#rundoc/a/td
   +  /tr
   +  tr
   +thContact:/th
   +tda 
 href=http://www.martiansoftware.com/contact.html;Marty Lamb/a/td
   +  /tr
   +  tr
   +thLicense:/th
   +tdRevised BSD/td
 

cvs commit: ant/docs external.html projects.html

2004-02-20 Thread bodewig
bodewig 2004/02/20 00:33:24

  Modified:docs external.html projects.html
  Log:
  regenerate site
  
  Revision  ChangesPath
  1.158 +104 -0ant/docs/external.html
  
  Index: external.html
  ===
  RCS file: /home/cvs/ant/docs/external.html,v
  retrieving revision 1.157
  retrieving revision 1.158
  diff -u -r1.157 -r1.158
  --- external.html 19 Feb 2004 11:46:58 -  1.157
  +++ external.html 20 Feb 2004 08:33:23 -  1.158
  @@ -284,6 +284,55 @@
 /tr
   /table
   h4 class=subsection
  +a name=Antariel/a
  +Antariel
  +  /h4
  +pAndariel is a set of tasks designed to help the 
generation of HTML
  +(and other markup languages) pages from Ant. Includes a XPath 
processor,
  +an image information retriever, and others./p
  +  table class=externals 
cellspacing=1 cellpadding=4
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Compatibility:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Ant 1.5.4 and newer
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  URL:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a 
href=http://andariel.uworks.net/;http://andariel.uworks.net//a
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Contact:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  josep DOT rio AT uworks DOT net
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  License:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Apache Software License 1.1
  +  /td
  +  /tr
  +/table
  +h4 class=subsection
   a name=AntDoc/a
   AntDoc
 /h4
  @@ -3302,6 +3351,61 @@
 td colspan=1 rowspan=1
 valign=top align=left
 GNU General Public License (GPL)
  +  /td
  +  /tr
  +/table
  +h4 class=subsection
  +a name=rundoc/a
  +rundoc
  +  /h4
  +pA task designed to help with the single-sourcing 
of program
  +documentation. Rundoc replaces special commands
  +(in the format i@@rundoc:command param1 param2...@@/i) embedded
  +within text files with their output in a
  +specified format. Currently, only Docbook format is supported./p
  +pRundoc was written to keep sample code 
output in program
  +documentation synchronized with the actual output
  +of the current code, by running the referenced code when the
  +documentation is built./p
  +  table class=externals 
cellspacing=1 cellpadding=4
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Compatibility:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Tested with 1.6  Should work with all versions.
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  URL:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a 
href=http://www.martiansoftware.com/lab/index.html#rundoc;http://www.martiansoftware.com/lab/index.html#rundoc/a
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Contact:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a href=http://www.martiansoftware.com/contact.html;Marty 
Lamb/a
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  License:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Revised BSD
 /td
 /tr
   /table
  
  
  
  1.53  +2 -2  ant/docs/projects.html
  
  Index: projects.html
  ===
  RCS file: /home/cvs/ant/docs/projects.html,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 

cvs commit: ant/xdocs contributors.xml

2004-02-20 Thread bodewig
bodewig 2004/02/20 00:55:30

  Modified:docs contributors.html
   xdocscontributors.xml
  Log:
  Adapt to latest board meeting results - i.e. boast a little 8-)
  
  Revision  ChangesPath
  1.41  +5 -5  ant/docs/contributors.html
  
  Index: contributors.html
  ===
  RCS file: /home/cvs/ant/docs/contributors.html,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- contributors.html 20 Feb 2004 08:53:54 -  1.40
  +++ contributors.html 20 Feb 2004 08:55:30 -  1.41
  @@ -192,9 +192,10 @@
   bStefan Bodewig/b (stefan.bodewig at freenet.de)
   br /
   Stefan is a senior developer at BoST interactive, where he is mainly
  -responsible for a rule based configurator system. He spends some
  -time working on Open Source projects with Ant and Gump currently taking the
  -biggest share of it.
  +responsible for a rule based configurator system. He spends some time
  +working on Open Source projects with Ant and Gump currently taking the
  +biggest share of it.  He is also serving as the Chairman of the Apache
  +Gump PMC.
   /p
   p
   bErik Hatcher/b (ehatcher at apache.org)
  @@ -237,8 +238,7 @@
   a member of the a href=http://www.php.net/credits.php;PHP group/a, 
Apache
   a href=http://xml.apache.org/whoweare.html;XML PMC/a, Apache
   sponsor for the a href=http://xml.apache.org/soap;xml-soap/a subproject
  -and convener of a href=http://www.ecma.ch;ECMA/a TC39 TG3.  He is
  -also serving as the Chairman of the Jakarta PMC.
  +and convener of a href=http://www.ecma.ch;ECMA/a TC39 TG3.
   /p
   p
   bPeter Reilly/bbr /
  
  
  
  1.24  +5 -5  ant/xdocs/contributors.xml
  
  Index: contributors.xml
  ===
  RCS file: /home/cvs/ant/xdocs/contributors.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- contributors.xml  20 Feb 2004 08:53:54 -  1.23
  +++ contributors.xml  20 Feb 2004 08:55:30 -  1.24
  @@ -42,9 +42,10 @@
   bStefan Bodewig/b (stefan.bodewig at freenet.de)
   br/
   Stefan is a senior developer at BoST interactive, where he is mainly
  -responsible for a rule based configurator system. He spends some
  -time working on Open Source projects with Ant and Gump currently taking the
  -biggest share of it.
  +responsible for a rule based configurator system. He spends some time
  +working on Open Source projects with Ant and Gump currently taking the
  +biggest share of it.  He is also serving as the Chairman of the Apache
  +Gump PMC.
   /p
   
   p
  @@ -93,8 +94,7 @@
   a member of the a href=http://www.php.net/credits.php;PHP group/a, 
Apache
   a href=http://xml.apache.org/whoweare.html;XML PMC/a, Apache
   sponsor for the a href=http://xml.apache.org/soap;xml-soap/a subproject
  -and convener of a href=http://www.ecma.ch;ECMA/a TC39 TG3.  He is
  -also serving as the Chairman of the Jakarta PMC.
  +and convener of a href=http://www.ecma.ch;ECMA/a TC39 TG3.
   /p
   
   p
  
  
  

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



RE: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Jan . Materne
http://lsd.student.utwente.nl/gump/ant/work/build_ant_test-ant.html


Testsuite: org.apache.tools.ant.ProjectTest
Tests run: 7, Failures: 1, Errors: 0, Time elapsed: 0.301 sec

Testcase: testDuplicateTargets(org.apache.tools.ant.ProjectTest):
FAILED
Should throw BuildException because: Duplicate target
junit.framework.AssertionFailedError: Should throw BuildException because:
Duplicate target
at junit.framework.Assert.fail(Assert.java:47)
at
oata.BuildFileTest.expectSpecificBuildException(BuildFileTest.java:277)
at oata.BuildFileTest.expectBuildException(BuildFileTest.java:62)
at oata.ProjectTest.testDuplicateTargets(ProjectTest.java:211)


We should get a consensus on how to handle multiple definitions of a target
inside a buildfile.

1. multiple targets defined in ONE buildfile is an error, while definitions
via import is correct
   -- modify the test (more tests)
   -- modify the sources
2. multiple target-defintions are not allowed in general
   -- modify the sources
3. multiple target-defintions ARE allowed in general
   -- modify the test (expect a simple log statement)


I would prefer (1), because it gives you the ability of overriding targets
with use of import,
but gives you a hint if you do that inside one file.


Jan




 -Original Message-
 From: Gump Integration Build [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 20, 2004 9:30 AM
 To: [EMAIL PROTECTED]
 Subject: [EMAIL PROTECTED]: ant/test-ant failed
 
 
 To whom it may engage...
 
 This is an automated request, but not an unsolicited one. For 
 help understanding the request please visit 
 http://jakarta.apache.org/gump/nagged.html, and/or contact 
 [EMAIL PROTECTED]
 
 Project test-ant has an issue affecting it's community 
 integration, and has been outstanding for 2 runs. The current 
 state is 'Failed', for reason 'Build Failed'
 
 Full details are available at: 
 http://lsd.student.utwente.nl/gump/ant/test-ant.html, however 
 some snippets follow:
 
 -  -  -  -  - -- --  G U M P
 
 Gump provided these annotations:
 
  - Error - Failed with reason build failed
 
 
 -  -  -  -  - -- --  G U M P
 Gump performed this work:
 
 Work Name: build_ant_test-ant (Type: Build)
 State: Failed
 Elapsed: 0 hours, 6 minutes, 4 seconds
 Command Line: java -Djava.awt.headless=true 
 -Xbootclasspath/p:/data3/gump/xml-xerces2/java/build/xercesImp
 l.jar:/data3/gump/xml-xerces2/java/build/xmlParserAPIs.jar:/da
 ta3/gump/xml-commons/java/external/build/xml-apis.jar:/data3/g
 ump/xml-xalan/java/build/xalan-unbundled.jar 
 org.apache.tools.ant.Main -Dbuild.clonevm=true 
 -Dgump.merge=/data3/gump/gump/work/merge.xml 
 -Dbuild.sysclasspath=only -Dtest.haltonfailure=false 
 -Dant.home=/data3/gump/ant/dist -Dhave.cvs=true run-tests 
 [Working Directory: /data3/gump/ant]
 -
 
 [junit] Testsuite: 
 org.apache.tools.ant.util.regexp.JakartaRegexpRegexpTest
 [junit] Tests run: 15, Failures: 0, Errors: 0, Time 
 elapsed: 0.046 sec
 
 
 [junit] Testsuite: 
 org.apache.tools.ant.util.regexp.Jdk14RegexpMatcherTest
 [junit] Tests run: 12, Failures: 0, Errors: 0, Time 
 elapsed: 0.006 sec
 
 
 [junit] Testsuite: 
 org.apache.tools.ant.util.regexp.Jdk14RegexpRegexpTest
 [junit] Tests run: 15, Failures: 0, Errors: 0, Time 
 elapsed: 0.008 sec
 
 
 [junit] Testsuite: org.apache.tools.mail.MailMessageTest
 [junit] Tests run: 7, Failures: 0, Errors: 0, Time 
 elapsed: 0.38 sec
 
 
 [junit] Testsuite: org.apache.tools.tar.TarEntryTest
 [junit] Tests run: 1, Failures: 0, Errors: 0, Time 
 elapsed: 0.011 sec
 
 
 [junit] Testsuite: org.apache.tools.tar.TarRoundTripTest
 [junit] Tests run: 1, Failures: 0, Errors: 0, Time 
 elapsed: 0.08 sec
 
 
 [junit] Testsuite: org.apache.tools.zip.AsiExtraFieldTest
 [junit] Tests run: 3, Failures: 0, Errors: 0, Time 
 elapsed: 0.022 sec
 
 
 [junit] Testsuite: org.apache.tools.zip.ExtraFieldUtilsTest
 [junit] Tests run: 2, Failures: 0, Errors: 0, Time 
 elapsed: 0.025 sec
 
 
 [junit] Testsuite: org.apache.tools.zip.ZipEntryTest
 [junit] Tests run: 2, Failures: 0, Errors: 0, Time 
 elapsed: 0.027 sec
 
 
 [junit] Testsuite: org.apache.tools.zip.ZipLongTest
 [junit] Tests run: 4, Failures: 0, Errors: 0, Time 
 elapsed: 0.011 sec
 
 
 [junit] Testsuite: org.apache.tools.zip.ZipShortTest
 [junit] Tests run: 4, Failures: 0, Errors: 0, Time 
 elapsed: 0.012 sec
 
 
 
 BUILD FAILED
 /data3/gump/ant/build.xml:1565: At least one test has failed.
 
 Total time: 6 minutes 3 seconds
 -
 
 
 
 
 To subscribe to this information via syndicated feeds:
 RSS: http://lsd.student.utwente.nl/gump/ant/test-ant.rss | 
 Atom: http://lsd.student.utwente.nl/gump/ant/test-ant.atom
 
 --
 Gump http://jakarta.apache.org/gump
 [lsd]
 
 

Re: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Stefan Bodewig
On Fri, 20 Feb 2004, Jan Materne [EMAIL PROTECTED] wrote:

 We should get a consensus on how to handle multiple definitions of a
 target inside a buildfile.
 
 1. multiple targets defined in ONE buildfile is an error, while
 definitions via import is correct
-- modify the test (more tests)
-- modify the sources
 2. multiple target-defintions are not allowed in general
-- modify the sources
 3. multiple target-defintions ARE allowed in general
-- modify the test (expect a simple log statement)

2 would kill target overrides in import and 3 is plain evil.  My vote
goes for 1.

Stefan

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



Re: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Antoine Lévy-Lambert
Stefan Bodewig wrote:
On Fri, 20 Feb 2004, Jan Materne [EMAIL PROTECTED] wrote:
 

We should get a consensus on how to handle multiple definitions of a
target inside a buildfile.
1. multiple targets defined in ONE buildfile is an error, while
definitions via import is correct
  -- modify the test (more tests)
  -- modify the sources
2. multiple target-defintions are not allowed in general
  -- modify the sources
3. multiple target-defintions ARE allowed in general
  -- modify the test (expect a simple log statement)
   

2 would kill target overrides in import and 3 is plain evil.  My vote
goes for 1.
Stefan
 

I vote for 1 also.
Antoine
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Peter Reilly
Antoine Lévy-Lambert wrote:
Stefan Bodewig wrote:
On Fri, 20 Feb 2004, Jan Materne [EMAIL PROTECTED] wrote:
 

We should get a consensus on how to handle multiple definitions of a
target inside a buildfile.
1. multiple targets defined in ONE buildfile is an error, while
definitions via import is correct
  -- modify the test (more tests)
  -- modify the sources
2. multiple target-defintions are not allowed in general
  -- modify the sources
3. multiple target-defintions ARE allowed in general
  -- modify the test (expect a simple log statement)
  

2 would kill target overrides in import and 3 is plain evil.  My vote
goes for 1.
Stefan
 

I vote for 1 also.
+1 for 1
Peter
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


DO NOT REPLY [Bug 27078] - add all optional jars to the classpath manifiest of ant.jar

2004-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27078.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27078

add all optional jars to the classpath manifiest of ant.jar





--- Additional Comments From [EMAIL PROTECTED]  2004-02-20 10:34 ---
Well, the reason we broke everything up was so that you dont need to have
everything in the main ant lib; you could move classes that were in the
optional.jar into a new directory and load them separately. This lets you keep,
say, the junit tasks with junit.jar somewhere under SCM, rather than forcing
everyone to keep their version of ant up to date with all the libraries.

Would not adding all the jars to the manifest of ant.jar break that behaviour?

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



Re: concat nested text

2004-02-20 Thread Steve Loughran
Matt Benson wrote:
Is there a reason why nested text in concat is
undocumented, or is this merely an oversight?
Docerror. Its documented in the appendix E PDF we ship with some 
versions of Ant.

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


Re: cvs commit: ant/xdocs contributors.xml

2004-02-20 Thread Steve Loughran
[EMAIL PROTECTED] wrote:
bodewig 2004/02/20 00:53:54
  Modified:docs contributors.html
   xdocscontributors.xml
  Log:
  Well, let's face it, more and more time is eaten up by Gump
Are you the person who has been secretly correcting my smartfrog.xml 
descriptor? If so I am inordinately grateful.

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


Re: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Steve Loughran
Peter Reilly wrote:
Antoine Lévy-Lambert wrote:
Stefan Bodewig wrote:
On Fri, 20 Feb 2004, Jan Materne [EMAIL PROTECTED] wrote:
 

We should get a consensus on how to handle multiple definitions of a
target inside a buildfile.
1. multiple targets defined in ONE buildfile is an error, while
definitions via import is correct
  -- modify the test (more tests)
  -- modify the sources
2. multiple target-defintions are not allowed in general
  -- modify the sources
3. multiple target-defintions ARE allowed in general
  -- modify the test (expect a simple log statement)
  

2 would kill target overrides in import and 3 is plain evil.  My vote
goes for 1.
Stefan
 

I vote for 1 also.
+1 for 1
I am +1 for option 1, though I do note Gus Heck's point about the merits 
of an override option, though of course that gets controversial in the 
details:

C++ off by default; virtual enables, virtual functions not valid in ctor
Java: on by default; final disables, virtual methods valid in ctor
C#: off by default, override enables, dont know about ctor semantics.
then there is public, private, etc.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: cvs commit: ant/xdocs contributors.xml

2004-02-20 Thread Stefan Bodewig
On Fri, 20 Feb 2004, Steve Loughran [EMAIL PROTECTED] wrote:

 Are you the person who has been secretly correcting my smartfrog.xml
 descriptor?

Nope, Adam 8-)

Stefan

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



RE: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Jan . Materne
 I am +1 for option 1, though I do note Gus Heck's point about 
 the merits 
 of an override option, though of course that gets 
 controversial in the 
 details:
 
 C++ off by default; virtual enables, virtual functions not 
 valid in ctor
 Java: on by default; final disables, virtual methods valid in ctor
 C#: off by default, override enables, dont know about ctor semantics.
 
 then there is public, private, etc.


There are some entries in BugZilla according to that

adding visibility to tasks 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6757

add optional attribute to target element to specify visibility 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10826
(duplicate of 6757)

[PATCH] addition of access atribute to target.. task 
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22020



Jan


RE: Ant 1.6.1 Converting Errors To Exceptions...Good|Bad?

2004-02-20 Thread Jose Alberto Fernandez
 From: Wascally Wabbit [mailto:[EMAIL PROTECTED] 
 
 At 05:26 AM 2/19/2004, you wrote:
 
 Yes, but Ant basically pretends they did not occur. It does
 not try to deal with anything. In my situation the error 
 was an out-of-memory issue. There are some environment issues 
 that Ant tries to handle (ClassLoader stuff, etc.) FINE. But 
 there's a fundamental reason why some problems are classified 
 as errors and not exceptions. Just my 2cents.
 

I grant you that ANT should look closer at any Errors it catches.
Some of them are known to be insurmountable (e.g., OutOfMemoryError)
and should probably stop the build even if -keepgoing is on.
On the other hand, most errors, including things like
LinkageError(?) and other class management errors that can be
due to bad classloading configuration, should be treated
(when it happens during the execution of a task) like any other
failure of the task and throw a BuildException.
What would happen afterwards depends on what te build decides to do
about BuildExceptions.

 
   The code could be easily switched to capture all
   Exceptions instead of Throwables. Moreover, when it does 
 capture an 
   error, Ant effectively masks the serious Error with a generic 
   BuildException (which it really isn't). Unless you run 
 Ant in debug 
   mode you'd never actually see the root cause (in the 
   BuildException's stack dump).
  
 
 If the BuildException stack trace does not print the stack 
 trace of the 
 nested exception (if any), well that is a bug in the code for 
 BuildException. We should call recursively and print the nested 
 exception stack trace. I agree with you on that.
 
 The stack trace does output the enclosed exception. BUT the 
 stack trace is not displayed normally; only the message. 
 There's no problem with the BuildException class per se.
 
OK
 
   Is this a bug or a working as designed feature of Ant?
  
 
 As per my discussion on a different thread, this to me is a feature 
 that should be used not only for keepGoing but on the normal 
 treatment 
 of exceptions thrown by tasks.
 
 Exceptions fine. With Errors I think Ant should select the
 ones that Ant knows hows to deal with; others it should let 
 pass (or at least not pretend like nothing happened).
 
I think we are on the same spirit of things, although I am more
for throwing only the very special cases (as oppose to all but).

Jose Alberto

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



RE: something for you [new virus?]

2004-02-20 Thread Jose Alberto Fernandez
Talking about viruses, those of use with accounts in apache.org
(or at least me) are getting gazillions of messages about viruses
sent to and forgedly sent from our apache.org accounts.

At this point I am just deleting anthing coming from my apache.org
account. It is that bad. If there anything that can be done
about removing virus and reply to virus messages by the 
mail server at apache.org, well I think we will all appreciated.

I know is not the correct forum, but frustration is mounting.

Jose Alberto

 -Original Message-
 From: Stefan Bodewig [mailto:[EMAIL PROTECTED] 
 Sent: 20 February 2004 07:50
 To: [EMAIL PROTECTED]
 Subject: Re: something for you [new virus?]
 
 
 On Thu, 19 Feb 2004, Alexey N. Solofnenko [EMAIL PROTECTED]
 wrote:
 
  Have you installed a new virus?
 
 One of those now all-too-common virus instances that forge 
 the sender. You wouldn't believe the amount of bounces I 
 receive for virus mails that have forged one of my addresses. 
  They've vastly outnumber the amount of spam I receive over 
 the past two weeks.
 
 Yes, it has been a virus and this can happen on the list more 
 often if the forged sender is subscribed to the list.
 
 Stefan
 
 -
 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: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Jose Alberto Fernandez
+1 for (1).

 -Original Message-
 From: Peter Reilly [mailto:[EMAIL PROTECTED] 
 Sent: 20 February 2004 09:34
 To: Ant Developers List
 Subject: Re: [EMAIL PROTECTED]: ant/test-ant failed
 
 
 Antoine Lévy-Lambert wrote:
 
  Stefan Bodewig wrote:
 
  On Fri, 20 Feb 2004, Jan Materne 
 [EMAIL PROTECTED] wrote:
 
   
 
  We should get a consensus on how to handle multiple 
 definitions of a 
  target inside a buildfile.
 
  1. multiple targets defined in ONE buildfile is an error, while 
  definitions via import is correct
-- modify the test (more tests)
-- modify the sources
  2. multiple target-defintions are not allowed in general
-- modify the sources
  3. multiple target-defintions ARE allowed in general
-- modify the test (expect a simple log statement)

 
 
  2 would kill target overrides in import and 3 is plain 
 evil.  My vote 
  goes for 1.
 
  Stefan
 
 
   
 
  I vote for 1 also.
 
 +1 for 1
 Peter
 
 
 -
 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: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Matt Benson
--- Jose Alberto Fernandez [EMAIL PROTECTED]
wrote:
 +1 for (1).

Another +1 for (1).

-Matt

   On Fri, 20 Feb 2004, Jan Materne 
  [EMAIL PROTECTED] wrote:
   1. multiple targets defined in ONE buildfile
 is an error, while 
   definitions via import is correct
 -- modify the test (more tests)
 -- modify the sources


__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



Re: something for you [new virus?]

2004-02-20 Thread Steve Loughran
Jose Alberto Fernandez wrote:
Talking about viruses, those of use with accounts in apache.org
(or at least me) are getting gazillions of messages about viruses
sent to and forgedly sent from our apache.org accounts.
At this point I am just deleting anthing coming from my apache.org
account. It is that bad. If there anything that can be done
about removing virus and reply to virus messages by the 
mail server at apache.org, well I think we will all appreciated.

I know is not the correct forum, but frustration is mounting.
Jose Alberto
I am surprised that it is your apache.org account that is under load; 
mine is my iseran.com alias, and most of the email is not the virus but 
bounce mail. Have you considered using a good bayseain spam filter and 
marking all the bounce messages as junk -that works pretty well for me.

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


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

2004-02-20 Thread jhm
jhm 2004/02/20 04:24:04

  Modified:src/testcases/org/apache/tools/ant ProjectTest.java
  Added:   src/etc/testcases/core duplicate-target2.xml
duplicate-target-imported.xml
  Log:
  Another testcase for double target-definition
  
  Revision  ChangesPath
  1.1  ant/src/etc/testcases/core/duplicate-target2.xml
  
  Index: duplicate-target2.xml
  ===
  ?xml version=1.0?
  
  project
  
  import file=duplicate-target-imported.xml/
  
  target name=once
  echoonce from buildfile/echo
  /target
  /project
  
  
  1.1  ant/src/etc/testcases/core/duplicate-target-imported.xml
  
  Index: duplicate-target-imported.xml
  ===
  ?xml version=1.0?
  
  project
  target name=once
  echoonce from imported/echo
  /target
  /project
  
  
  1.23  +8 -2  ant/src/testcases/org/apache/tools/ant/ProjectTest.java
  
  Index: ProjectTest.java
  ===
  RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/ProjectTest.java,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- ProjectTest.java  18 Feb 2004 08:17:15 -  1.22
  +++ ProjectTest.java  20 Feb 2004 12:24:04 -  1.23
  @@ -204,12 +204,18 @@
   
assertTrue(p.getTaskDefinitions().contains(org.apache.tools.ant.taskdefs.Echo.class));
   }
   
  -// Bug in Ant 1.6/1.7 found by Dominique: there must no multiple
  -// targets with the same name in a project.
   public void testDuplicateTargets() {
  +// fail, because buildfile contains two targets with the same name
   BFT bft = new BFT(, core/duplicate-target.xml);
   bft.expectBuildException(twice, Duplicate target);
   }
  +
  +public void testDuplicateTargetsImport() {
  +// overriding target from imported buildfile is allowed
  +BFT bft = new BFT(, core/duplicate-target2.xml);
  +bft.expectLog(once, once from buildfile);
  +}
  +
   
   private class DummyTaskPrivate extends Task {
   public DummyTaskPrivate() {}
  
  
  

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



RE: [GUMP@lsd]: ant/test-ant failed

2004-02-20 Thread Jan . Materne
Ok, 7 votes +1 (4 from PMC).
I´ve added another testcase (passing), because there are two things to test

1. fail, if there are two target definitions inside ONE file
2. pass, if there are two target definitions via IMPORTED file

see the cvs-message


Jan


 -Original Message-
 From: Matt Benson [mailto:[EMAIL PROTECTED]
 Sent: Friday, February 20, 2004 1:02 PM
 To: Ant Developers List
 Subject: RE: [EMAIL PROTECTED]: ant/test-ant failed
 
 
 --- Jose Alberto Fernandez [EMAIL PROTECTED]
 wrote:
  +1 for (1).
 
 Another +1 for (1).
 
 -Matt
 
On Fri, 20 Feb 2004, Jan Materne 
   [EMAIL PROTECTED] wrote:
1. multiple targets defined in ONE buildfile
  is an error, while 
definitions via import is correct
  -- modify the test (more tests)
  -- modify the sources
 
 
 __
 Do you Yahoo!?
 Yahoo! Mail SpamGuard - Read only the mail you want.
 http://antispam.yahoo.com/tools
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 


Re: [VOTE] Release a library with the SSH tasks for Ant 1.5.x

2004-02-20 Thread Stefan Bodewig
Just a quick note that I've dropped the issue.

Cheers

Stefan

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



Re: Ant 1.7

2004-02-20 Thread Stefan Bodewig
On Wed, 18 Feb 2004, Matt Benson [EMAIL PROTECTED] wrote:

 My thinking here was if there existed two file
 collection abstractions, say
 o.a.t.a.types.AbstractFileSet and
 o.a.t.a.types.maybenewpackagehere.NewFileSetInterface,
 each could be typedefd to adapt to the other, so
 that the maximum number of Tasks could use both with
 no change in functionality as Tasks were converted to
 use the new interface.

I see.  Yes, I think this is possible, see typedefs adapter and
adaptto attributes.

But I share Antoine's concern that this will not work as transparently
as one would like since most if not all tasks working on FileSets
really deal with File objects created from them.

 But the adaptation would only take place after the true class had
 been tried.

This again might be difficult to do.

 allowing the user to choose his file-handling implementation seems
 akin to allowing to choose from regular expression implementations.

The user chooses by setting a system property.  This takes more than
the presence/absence of an antlib.  This may be a model for the file
system abstraction as well, though.

 commons-vfs
 
  already done it, but it also becomes a dependency,
  most likely, and a sandbox dependency at that...
 
 and to top it, one where development seems to have
 stopped right now.
 
 That is kind of bad.  But based on its documentation
 alone, commons-vfs does seem to allow clients to add
 custom protocols (my pet one is property:).  If
 this works, then anyone could develop and submit
 support for more protocols.  So maye no project-led
 development is required.

But somebody would have to pick up commons-vfs development to get it
into a releaseable state and make a release 8-)

 Also, you mentioned not wanting to accumulate
 dependencies... but that IS the purpose of the
 commons, is it not?

But not Ant's ;-)

 And at least you can pick and choose among the commons components.
 I am not necessarily in favor of adding vfs or anything else as a
 core dependency, but there are only so many ways we can go.  I for
 one would be delighted to hear any ideas that will work.

I don't have an answer if a file system abstraction has to become part
of Ant's core.

Stefan

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



Re: roles, restricted types

2004-02-20 Thread Stefan Bodewig
On Tue, 17 Feb 2004, Peter Reilly [EMAIL PROTECTED] wrote:

 However on thinking about this (naming problem, namespace issues,
 types etc) I realized that one could use the antlib scheme to solve
 the problem:

I like what you outline.

 Stefan Bodewig wrote:
 
On Thu, 12 Feb 2004, Peter Reilly [EMAIL PROTECTED] wrote:

I have reactivated my code for restricted/roled types.

I think we need that in order to decompose ant.jar.

 If this means making multiple jars from ant.jar, I would be against.

Why?

Even core tasks contains a bunch of tasks that really should go into
a separate antlib - the cvs tasks for example.  I didn't say we'd stop
distributing them with Ant.

Currently I favor a model where we have major releases of Ant's core
together with a number of antlibs but the antlibs themselves can have
releases independent of Ant.  I'd like to be able to release a new
version of the javah task without requiring a full Ant release.

And I'd like to have shorter names, somehow. role=condition.

 This becomes a naming problem... One would have to define the
 mapping between the role and the class the type would need be an
 instanceof.  This mapping may need to be unique through a number of
 third party antlibs - a world of pain unless use is made of xml
 namespaces.

role=antcore:condition xmlns:antcore=antlib:org.apache.tools.ant

works for me as well.  If this is what you meant.

Stefan

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



Re: Breaking Ant into several modules

2004-02-20 Thread Stefan Bodewig
On Wed, 11 Feb 2004, Jan Materne [EMAIL PROTECTED] wrote:

 Then we´ll earn the whole inter-project-dependency-problems. We have
 to ensure that an AntLib works with all AntCore releases or fails
 with a defined error.

Yes, we'll need versioning.

 I see two things:
 1. Plugging in AntLibs should be very easy

This has been the idea and I'm sure we'll find our way to antlib
autodiscovery here.  For backwards compatibility all antlibs that
originated from core or optional tasks would have to populate the
namespace of antlib:org.apache.tools.ant anyway.

 2. It should be easy for the user to get a complete working
 version of Ant.

IMHO we'd still have major releases consisting of Ant's core and
antlibs.

Stefan

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



Re: patch for JUnitTask extension

2004-02-20 Thread Stefan Bodewig
On Wed, 11 Feb 2004, Mariano Benitez [EMAIL PROTECTED] wrote:

 The diff was against the 1.6.0 WC, I guess the versions are just the
 same,

No they are not.  I've changed some stuff in CommandlineJava in CVS
HEAD for the new cloneVm feature.  Please take a look at the code to
see whether you'd need any further changes.

Stefan

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



RE: Breaking Ant into several modules

2004-02-20 Thread Jan . Materne
  2. It should be easy for the user to get a complete working
  version of Ant.
 
 IMHO we'd still have major releases consisting of Ant's core and
 antlibs.


I thought about a couple of ... subprojects?

- AntCore all basis things
- AntLib cvs  all about cvs 
- AntLib ssh
- AntLib script
- ...
- Ant Distributiononly a collection of AntCore and AntLibs which
  are tested against each other.
  This is what most users will download.


So we could have - say each 3 months - a release of the distro containing
all released antlibs. 


Jan


Re: patch for JUnitTask extension

2004-02-20 Thread Mariano Benitez
--- src/main/org/apache/tools/ant/types/CommandlineJava.java2004-02-11 
15:27:15.0 -0300
+++ 
/opt/java/ant/apache-ant-1.6.0/src/main/org/apache/tools/ant/types/CommandlineJava.java
 2004-02-11 15:08:41.0 -0300
@@ -432,7 +432,7 @@
  * Get the VM command parameters, including memory settings
  * @return
  */
-private Commandline getActualVMCommand() {
+protected Commandline getActualVMCommand() {
 Commandline actualVMCommand = (Commandline) vmCommand.clone();
 if (maxMemory != null) {
 if (vmVersion.startsWith(1.1)) {
@@ -567,7 +567,7 @@
  *
  * @since Ant 1.6
  */
-private boolean haveClasspath() {
+protected boolean haveClasspath() {
 Path fullClasspath = classpath != null
 ? classpath.concatSystemClasspath(ignore) : null;
 return fullClasspath != null
@@ -584,7 +584,7 @@
  *
  * @since Ant 1.6
  */
-private boolean haveBootclasspath(boolean log) {
+protected boolean haveBootclasspath(boolean log) {
 if (bootclasspath != null
  bootclasspath.toString().trim().length()  0) {

--- src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
2004-02-11 15:27:15.0 -0300
+++ 
/opt/java/ant/apache-ant-1.6.0/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
 2004-02-11 14:43:03.0 -0300
@@ -123,7 +123,7 @@
  */
 public class JUnitTask extends Task {
 
-private CommandlineJava commandline = new CommandlineJava();
+private CommandlineJava commandline;
 private Vector tests = new Vector();
 private Vector batchTests = new Vector();
 private Vector formatters = new Vector();
@@ -338,7 +338,7 @@
  * @since Ant 1.2
  */
 public void setMaxmemory(String max) {
-commandline.setMaxmemory(max);
+getCommandline().setMaxmemory(max);
 }

 /**
@@ -352,7 +352,7 @@
  * @since Ant 1.2
  */
 public void setJvm(String value) {
-commandline.setVm(value);
+getCommandline().setVm(value);
 }

 /**
@@ -365,7 +365,7 @@
  * @since Ant 1.2
  */
 public Commandline.Argument createJvmarg() {
-return commandline.createVmArgument();
+return getCommandline().createVmArgument();
 }

 /**
@@ -390,7 +390,7 @@
  */
 public void addSysproperty(Environment.Variable sysp) {

-commandline.addSysproperty(sysp);
+getCommandline().addSysproperty(sysp);
 }

 /**
@@ -405,7 +405,7 @@
 // see bugzilla report 21684
 String testString = sysp.getContent();
 getProject().log(sysproperty added :  + testString, 
Project.MSG_DEBUG);
-commandline.addSysproperty(sysp);
+getCommandline().addSysproperty(sysp);
 }

 /**
@@ -419,7 +419,7 @@
  * @since Ant 1.6
  */
 public void addSyspropertyset(PropertySet sysp) {
-commandline.addSyspropertyset(sysp);
+getCommandline().addSyspropertyset(sysp);
 }

 /**
@@ -429,7 +429,7 @@
  * @since Ant 1.2
  */
 public Path createClasspath() {
-return commandline.createClasspath(getProject()).createPath();
+return getCommandline().createClasspath(getProject()).createPath();
 }

 /**
@@ -438,7 +438,7 @@
  * @since Ant 1.6
  */
 public Path createBootclasspath() {
-return commandline.createBootclasspath(getProject()).createPath();
+return getCommandline().createBootclasspath(getProject()).createPath();
 }

 /**
@@ -532,10 +532,10 @@
  * @param asserts assertion set
  */
 public void addAssertions(Assertions asserts) {
-if (commandline.getAssertions() != null) {
+if (getCommandline().getAssertions() != null) {
 throw new BuildException(Only one assertion declaration is 
allowed);
 }
-commandline.setAssertions(asserts);
+getCommandline().setAssertions(asserts);
 }

 /**
@@ -557,7 +557,7 @@
  * @since Ant 1.2
  */
 public JUnitTask() throws Exception {
-commandline
+getCommandline()
 
.setClassname(org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner);
 }

@@ -675,7 +675,7 @@
 log(Permissions ignored when running in forked mode!, 
Project.MSG_WARN);
 }

-CommandlineJava cmd = (CommandlineJava) commandline.clone();
+CommandlineJava cmd = (CommandlineJava) getCommandline().clone();

 
cmd.setClassname(org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner);
 cmd.createArgument().setValue(test.getName());
@@ -903,13 +903,13 @@
 + the same VM., Project.MSG_WARN);
 }

-if (commandline.getBootclasspath() != null) {
+if (getCommandline().getBootclasspath() != null) {
 log(bootclasspath is ignored if running in the same VM.,
 Project.MSG_WARN);
 }

 

Re: cvs commit: ant WHATSNEW

2004-02-20 Thread Matt Benson
--- Peter Reilly [EMAIL PROTECTED] wrote:
 Opps, hit the send button too early.
 I meant to say good catch!
 

;)

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



Re: roles, restricted types

2004-02-20 Thread Peter Reilly
Stefan Bodewig wrote:
I think we need that in order to decompose ant.jar.
 

If this means making multiple jars from ant.jar, I would be against.
   

Why?
Even core tasks contains a bunch of tasks that really should go into
a separate antlib - the cvs tasks for example.  I didn't say we'd stop
distributing them with Ant.
 

I meant that the core - conditions, filters, mappers can be in separate 
namespaces, but
that these could still be in ant.jar, one can have multiple antlib.xml 
's in ant.jar.

Of course the cvs tasks could/should be in a separate antlib.
However as a user, I do not like the current gallizion number of jars in 
$ANT_HOME/lib,
I would rather have one ant.jar containing all that tasks and types 
including optional ones.

Currently I favor a model where we have major releases of Ant's core
together with a number of antlibs but the antlibs themselves can have
releases independent of Ant.  I'd like to be able to release a new
version of the javah task without requiring a full Ant release.
 

Having a ant-javah.jar, ant-javac.jar ... would seem to be a bit 
excessive. - However
I assume you mean that some of the core tasks/types could be in logical 
separate
jars.

A three to six month cycle for dot releases, with a 9 month to 18 month 
cycle for
major releases does not seem to be too bad.

 

And I'd like to have shorter names, somehow. role=condition.
 

This becomes a naming problem... One would have to define the
mapping between the role and the class the type would need be an
instanceof.  This mapping may need to be unique through a number of
third party antlibs - a world of pain unless use is made of xml
namespaces.
   

role=antcore:condition xmlns:antcore=antlib:org.apache.tools.ant
works for me as well.  If this is what you meant.
 

Yes, however this is not easy to do at the moment with the current ant 
core code.
It (mapping of antcore to antlib:org.apache.tools.ant) can be done at 
parse time
but some infrastructure needs to be added to allow it to be done at run 
time.
[The current code does this mapping for ant-type at parse time].

My current feeling is that restricted types/roles are not necessary, one 
can use
namespaces to distingish condition or from selector or.

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


cvs commit: ant/xdocs contributors.xml

2004-02-20 Thread mbenson
mbenson 2004/02/20 07:05:37

  Modified:xdocscontributors.xml
  Log:
  Added me.
  
  Revision  ChangesPath
  1.25  +5 -1  ant/xdocs/contributors.xml
  
  Index: contributors.xml
  ===
  RCS file: /home/cvs/ant/xdocs/contributors.xml,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- contributors.xml  20 Feb 2004 08:55:30 -  1.24
  +++ contributors.xml  20 Feb 2004 15:05:36 -  1.25
  @@ -280,6 +280,10 @@
   and EJB runtime environments -- in that order.
   /p
   
  +p
  +bMatt Benson/bbr/
  +/p
  +
   
 /subsection
 subsection name=Emeritus Committers
  @@ -339,4 +343,4 @@
   /p
   /section
 /body
  -/document
  \ No newline at end of file
  +/document
  
  
  

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



Re: cvs commit: ant/xdocs contributors.xml

2004-02-20 Thread Matt Benson
Too lazy to figure out how to set up a jakarta-site2
directory, so I hope this (seemingly simple) addition
works.

--- [EMAIL PROTECTED] wrote:
 mbenson 2004/02/20 07:05:37
 
   Modified:xdocscontributors.xml
   Log:
   Added me.
   
   Revision  ChangesPath
   1.25  +5 -1  ant/xdocs/contributors.xml
   
   Index: contributors.xml
  

===
   RCS file: /home/cvs/ant/xdocs/contributors.xml,v
   retrieving revision 1.24
   retrieving revision 1.25
   diff -u -r1.24 -r1.25
   --- contributors.xml20 Feb 2004 08:55:30 -
 1.24
   +++ contributors.xml20 Feb 2004 15:05:36 -
 1.25
   @@ -280,6 +280,10 @@
and EJB runtime environments -- in that order.
/p

   +p
   +bMatt Benson/bbr/
   +/p
   +

  /subsection
  subsection name=Emeritus Committers
   @@ -339,4 +343,4 @@
/p
/section
  /body
   -/document
   \ No newline at end of file
   +/document
   
   
   
 

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


__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



cvs commit: ant/docs contributors.html

2004-02-20 Thread bodewig
bodewig 2004/02/20 07:11:56

  Modified:xdocscontributors.xml
   docs contributors.html
  Log:
  regenerate site
  
  Revision  ChangesPath
  1.26  +4 -5  ant/xdocs/contributors.xml
  
  Index: contributors.xml
  ===
  RCS file: /home/cvs/ant/xdocs/contributors.xml,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- contributors.xml  20 Feb 2004 15:05:36 -  1.25
  +++ contributors.xml  20 Feb 2004 15:11:56 -  1.26
  @@ -158,6 +158,10 @@
   /p
   
   p
  +bMatt Benson/bbr/
  +/p
  +
  +p
   bNick Davis/bbr/
   /p
   
  @@ -279,11 +283,6 @@
   compilers, Object Databases (SIGSEV, you da man!) for C++, Java ORB
   and EJB runtime environments -- in that order.
   /p
  -
  -p
  -bMatt Benson/bbr/
  -/p
  -
   
 /subsection
 subsection name=Emeritus Committers
  
  
  
  1.42  +3 -0  ant/docs/contributors.html
  
  Index: contributors.html
  ===
  RCS file: /home/cvs/ant/docs/contributors.html,v
  retrieving revision 1.41
  retrieving revision 1.42
  diff -u -r1.41 -r1.42
  --- contributors.html 20 Feb 2004 08:55:30 -  1.41
  +++ contributors.html 20 Feb 2004 15:11:56 -  1.42
  @@ -295,6 +295,9 @@
   bPreston Bannister/bbr /
   /p
   p
  +bMatt Benson/bbr /
  +/p
  +p
   bNick Davis/bbr /
   /p
   p
  
  
  

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



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

2004-02-20 Thread bodewig
bodewig 2004/02/20 07:13:22

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/junit
JUnitTask.java
   src/main/org/apache/tools/ant/types CommandlineJava.java
  Log:
  Allow subclasses of junit to plug in command lines of their own.
  
  Submitted by: Mariano Benitez mariano at fuegolabs dot com
  
  Revision  ChangesPath
  1.93  +28 -18
ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
  
  Index: JUnitTask.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- JUnitTask.java9 Feb 2004 21:05:32 -   1.92
  +++ JUnitTask.java20 Feb 2004 15:13:21 -  1.93
  @@ -123,7 +123,7 @@
*/
   public class JUnitTask extends Task {
   
  -private CommandlineJava commandline = new CommandlineJava();
  +private CommandlineJava commandline;
   private Vector tests = new Vector();
   private Vector batchTests = new Vector();
   private Vector formatters = new Vector();
  @@ -338,7 +338,7 @@
* @since Ant 1.2
*/
   public void setMaxmemory(String max) {
  -commandline.setMaxmemory(max);
  +getCommandline().setMaxmemory(max);
   }
   
   /**
  @@ -352,7 +352,7 @@
* @since Ant 1.2
*/
   public void setJvm(String value) {
  -commandline.setVm(value);
  +getCommandline().setVm(value);
   }
   
   /**
  @@ -365,7 +365,7 @@
* @since Ant 1.2
*/
   public Commandline.Argument createJvmarg() {
  -return commandline.createVmArgument();
  +return getCommandline().createVmArgument();
   }
   
   /**
  @@ -390,7 +390,7 @@
*/
   public void addSysproperty(Environment.Variable sysp) {
   
  -commandline.addSysproperty(sysp);
  +getCommandline().addSysproperty(sysp);
   }
   
   /**
  @@ -405,7 +405,7 @@
   // see bugzilla report 21684
   String testString = sysp.getContent();
   getProject().log(sysproperty added :  + testString, 
Project.MSG_DEBUG);
  -commandline.addSysproperty(sysp);
  +getCommandline().addSysproperty(sysp);
   }
   
   /**
  @@ -419,7 +419,7 @@
* @since Ant 1.6
*/
   public void addSyspropertyset(PropertySet sysp) {
  -commandline.addSyspropertyset(sysp);
  +getCommandline().addSyspropertyset(sysp);
   }
   
   /**
  @@ -429,7 +429,7 @@
* @since Ant 1.2
*/
   public Path createClasspath() {
  -return commandline.createClasspath(getProject()).createPath();
  +return getCommandline().createClasspath(getProject()).createPath();
   }
   
   /**
  @@ -438,7 +438,7 @@
* @since Ant 1.6
*/
   public Path createBootclasspath() {
  -return commandline.createBootclasspath(getProject()).createPath();
  +return 
getCommandline().createBootclasspath(getProject()).createPath();
   }
   
   /**
  @@ -532,10 +532,10 @@
* @param asserts assertion set
*/
   public void addAssertions(Assertions asserts) {
  -if (commandline.getAssertions() != null) {
  +if (getCommandline().getAssertions() != null) {
   throw new BuildException(Only one assertion declaration is 
allowed);
   }
  -commandline.setAssertions(asserts);
  +getCommandline().setAssertions(asserts);
   }
   
   /**
  @@ -560,7 +560,7 @@
* @since Ant 1.7
*/
   public void setCloneVm(boolean cloneVm) {
  -commandline.setCloneVm(cloneVm);
  +getCommandline().setCloneVm(cloneVm);
   }
   
   /**
  @@ -570,7 +570,7 @@
* @since Ant 1.2
*/
   public JUnitTask() throws Exception {
  -commandline
  +getCommandline()
   
.setClassname(org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner);
   }
   
  @@ -688,7 +688,7 @@
   log(Permissions ignored when running in forked mode!, 
Project.MSG_WARN);
   }
   
  -CommandlineJava cmd = (CommandlineJava) commandline.clone();
  +CommandlineJava cmd = (CommandlineJava) getCommandline().clone();
   
   
cmd.setClassname(org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner);
   cmd.createArgument().setValue(test.getName());
  @@ -916,13 +916,13 @@
   + the same VM., Project.MSG_WARN);
   }
   
  -if (commandline.getBootclasspath() != null) {
  +if (getCommandline().getBootclasspath() != null) {
   log(bootclasspath is ignored if running in the same VM.,
   Project.MSG_WARN);
   }
   
   CommandlineJava.SysProperties sysProperties =
  -

Re: cvs commit: ant/xdocs contributors.xml

2004-02-20 Thread Stefan Bodewig
On Fri, 20 Feb 2004, Matt Benson [EMAIL PROTECTED] wrote:

 Too lazy to figure out how to set up a jakarta-site2
 directory,

by checking out the module of that name right next to ant.

 so I hope this (seemingly simple) addition works.

Should now.  I've also tried to move you into the correct place (the
list is supposed to be sorted 8-)

Stefan

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



Re: roles, restricted types

2004-02-20 Thread Stefan Bodewig
On Fri, 20 Feb 2004, Peter Reilly [EMAIL PROTECTED] wrote:

 I meant that the core - conditions, filters, mappers can be in
 separate namespaces, but that these could still be in ant.jar, one
 can have multiple antlib.xml 's in ant.jar.

Wouldn't that break backwards compatibility?

condition
  or

wouldn't work anymore as or would now live in a namespace different
from condition.

 Having a ant-javah.jar, ant-javac.jar ... would seem to be a bit
 excessive.

Agreed.

 - However I assume you mean that some of the core tasks/types could
 be in logical separate jars.

Some middle ground.  Grouping related tasks into one jar, but having
no single task or type left in ant.jar.  I understand that this is
exactly the opposite of what you prefer.

 My current feeling is that restricted types/roles are not necessary,
 one can use namespaces to distingish condition or from selector
 or.

But only if they are not in the same namespace.  They are now, or
would be if they were defined as types.

Stefan

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



Re: file system abstraction was Ant 1.7

2004-02-20 Thread Matt Benson
--- Stefan Bodewig [EMAIL PROTECTED] wrote:
 On Wed, 18 Feb 2004, Matt Benson
 [EMAIL PROTECTED] wrote:
  I am not necessarily in favor of adding vfs or
 anything else as a
  core dependency, but there are only so many ways
 we can go.  I for
  one would be delighted to hear any ideas that will
 work.
 
 I don't have an answer if a file system abstraction
 has to become part
 of Ant's core.
 

I feel like we're going around in circles here... :) 
Maybe we need to clarify this issue:

1)  Is this important?

If so, then:
2)  What features do we want/need?
3)  What possible solutions would represent the least
invasion on Ant's core?
  3a)  If one or more solutions include the use of one
or more external packages in some way, what
compatibly-licensed projects exist that would obtain
substantial gains toward the desired functionality?

4)  What other initiatives might ease the
incorporation of this idea into Ant (Ant
decomposition, antlib concepts, etc.)?
5)  What have I forgotten to ask?

-Matt


__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools

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



Re: cvs commit: ant/xdocs contributors.xml

2004-02-20 Thread Stefan Bodewig
On Fri, 20 Feb 2004, Jan Materne [EMAIL PROTECTED] wrote:

 Jakarta checked out from apache cvs. Maybe build (don´t sure, long
 time ago).

No, it's one of those evil jars in CVS things coming with ancient
versions of everything, but it works.

Stefan

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



Re: file system abstraction was Ant 1.7

2004-02-20 Thread Stefan Bodewig
On Fri, 20 Feb 2004, Matt Benson [EMAIL PROTECTED] wrote:

 I feel like we're going around in circles here... :) 

It only looks that way.  And I'm not helping the situation by being
cryptic, sorry.

 Maybe we need to clarify this issue:
 
 1)  Is this important?

Not very important to me.

You'll have to work (after Karneval, I'm on the run for the next few
days 8-) to convince me that it is worth a new compile time
dependency.

Stefan

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



Re: roles, restricted types

2004-02-20 Thread Peter Reilly
Stefan Bodewig wrote:
On Fri, 20 Feb 2004, Peter Reilly [EMAIL PROTECTED] wrote:
 

I meant that the core - conditions, filters, mappers can be in
separate namespaces, but that these could still be in ant.jar, one
can have multiple antlib.xml 's in ant.jar.
   

Wouldn't that break backwards compatibility?
condition
 or
 

This would still work - due to the normal ant-reflection on the addOr() 
method.

condition xmlns:c=antlib:org.apache.tools.ant.types.condition
  or
 c:and
c:equals arg1=b arg2=${outputstring}/
c:equals arg1=a arg2=${inputstring}/
  /c:and
 equals arg1=a arg2=${y}/
 c:contains string=${basedir} substring=home/
  /or
/condition
New core conditions would not be added to the ConditionBase class so:
condition xmlns:c=antlib:org.apache.tools.ant.types.condition
  c:filetype type=gif file=${my_image_file}/
/condition
would work,
but 
condition
  filetype type=gif file=${my_image_file}/
/condition
would not.
Peter

wouldn't work anymore as or would now live in a namespace different
from condition.
 

Having a ant-javah.jar, ant-javac.jar ... would seem to be a bit
excessive.
   

Agreed.
 

- However I assume you mean that some of the core tasks/types could
be in logical separate jars.
   

Some middle ground.  Grouping related tasks into one jar, but having
no single task or type left in ant.jar.  I understand that this is
exactly the opposite of what you prefer.
 

My current feeling is that restricted types/roles are not necessary,
one can use namespaces to distingish condition or from selector
or.
   

But only if they are not in the same namespace.  They are now, or
would be if they were defined as types.
Stefan
-
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: roles, restricted types

2004-02-20 Thread Jose Alberto Fernandez
 From: Stefan Bodewig [mailto:[EMAIL PROTECTED] 
 
 On Fri, 20 Feb 2004, Peter Reilly [EMAIL PROTECTED] wrote:
 
  I meant that the core - conditions, filters, mappers can be in 
  separate namespaces, but that these could still be in 
 ant.jar, one can 
  have multiple antlib.xml 's in ant.jar.
 
 Wouldn't that break backwards compatibility?
 
 condition
   or
 
 wouldn't work anymore as or would now live in a namespace 
 different from condition.
 

What I suggested before was to all a new sort of libimport
to the antlib.xml. This constructs would alow us to specify:

1) Other jars to be added to the classloader user by the current antlib.
   This could use a fileset or filelist to specify multiple jars.

2) Other antlib.xml files present on those jars. They may also
use patterns for the discovery on antlibs automatically.

3) Alternatively, you should be able to import an antlib.xml
conditionally on the availability of a particular class.

The additional antlibs imported this way will just load on 
the same NameSpace as the importing antlib. So we would
solve the backward compatibility problem.

Also, I think this would provide faster startup times since
you would only load tasks that have the supporting classes present.

Jose Alberto

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



DO NOT REPLY [Bug 27118] New: - Add type overrides for import

2004-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27118.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27118

Add type overrides for import

   Summary: Add type overrides for import
   Product: Ant
   Version: 1.6.0
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Core tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


When you override a target in an imported project, the original target is 
accessible via [importedbuildname].[targetname].  This is not true of types 
such as filesets, patternsets, selectors...

It would be extraordinarily helpful if you could override a type's definition 
replacing it, but still have the opportunity to use the overriden type's 
definition.  For example, extend a patternset by combining the original 
definition with extra patterns.

Without this capability, you have to either:
a) require that overriders, reimplement the content of the imported types via 
copy-paste (ick)
b) explicitly code into an imported build framework types whose sole 
existence is to be overridden and combined with the framework's default types 
in order to avoid copy-paste reuse.  For example, in the imported file

   selector id=someselector.../selector
   selector id=someoverridableselectorfilename name=**/*//selector
   target name=sometarget
  copy todir=...
 fileset dir=...
and
   selector refid=someselector/
   selector refid=someoverridableselector/
/and
 /fileset
  /copy
   /target

then in importing file, 'someoverridableselector' can be changed from including 
everything to including a subset, thus refining the set of files copied 
in 'sometarget'.  In addition to being cumbersome to implement this pattern, 
this approach is pretty inefficient since anding with the 
default 'someoverridableselector' adds cost.

An alternative might work but which is nearly as unweildy is:

   selector id=someselector.../selector
   selector id=someoverridableselector
  andselector refid=someselector//and
   /selector
   target name=sometarget
  copy todir=...
 fileset dir=...
selector refid=someoverridableselector/
 /fileset
  /copy
   /target

and having the overrider choose to do:

   selector id=someoverridableselector
  and
 myrefiningselector/
 selector refid=someselector/
  /and
   /selector

But having to design this extensibility into the framework is a real pain.

Instead it would be great to be able to do:

   selector id=someselectorant/selector
   target name=sometarget
  copy todir=...
 fileset dir=...
selector refid=someselector/
 /fileset
  /copy
   /target

and override 'someselector' with:

   selector id=someselector
  and
 myrefiningselector/
 selector refid=importedproject.someselector/
  /and
   /selector

Alternative ways to get what I want would be great.

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



Re: cvs commit: ant/xdocs projects.xml external.xml

2004-02-20 Thread Dale Anson
Thanks!
[EMAIL PROTECTED] wrote:
jhm 2004/02/20 00:13:37
  Modified:xdocsprojects.xml external.xml
  Log:
  Antelope new url; new tasks: antariel, rundoc
  
  Revision  ChangesPath
  1.14  +5 -5  ant/xdocs/projects.xml
  
  Index: projects.xml
  ===
  RCS file: /home/cvs/ant/xdocs/projects.xml,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- projects.xml	16 Feb 2004 16:38:06 -	1.13
  +++ projects.xml	20 Feb 2004 08:13:37 -	1.14
  @@ -22,7 +22,7 @@
 /properties
   
 body
  -
  +
   section name=Related Projects
   
 pNothing listed here is directly supported by the Ant
  @@ -99,11 +99,11 @@
   table
 tr
   thCompatibility:/th
  -tdTested extensively with Ant 1.5.x./td
  +tdAnt 1.5 and higher./td
 /tr
 tr
   thURL:/th
  -tda href=http://antelope.sourceforge.net/;http://antelope.sourceforge.net//a/td
  +tda href=http://antelope.tigris.org/;http://antelope.tigris.org//a/td
 /tr
 tr
   thContact:/th
  @@ -240,7 +240,7 @@
 /tr
   /table
 /subsection
  -  
  +
 subsection name=NAnt
   
   pNAnt is a .NET based build tool. In theory it is kind of
  @@ -322,4 +322,4 @@
   /section
   
 /body
  -/document
  +/document
  \ No newline at end of file
  
  
  
  1.119 +58 -0 ant/xdocs/external.xml
  
  Index: external.xml
  ===
  RCS file: /home/cvs/ant/xdocs/external.xml,v
  retrieving revision 1.118
  retrieving revision 1.119
  diff -u -r1.118 -r1.119
  --- external.xml	19 Feb 2004 11:46:58 -	1.118
  +++ external.xml	20 Feb 2004 08:13:37 -	1.119
  @@ -92,6 +92,32 @@
   /table
 /subsection
   
  +  subsection name=Antariel
  +
  +pAndariel is a set of tasks designed to help the generation of HTML
  +(and other markup languages) pages from Ant. Includes a XPath processor,
  +an image information retriever, and others./p
  +
  +table class=externals
  +  tr
  +thCompatibility:/th
  +tdAnt 1.5.4 and newer/td
  +  /tr
  +  tr
  +thURL:/th
  +tda href=http://andariel.uworks.net/;http://andariel.uworks.net//a/td
  +  /tr
  +  tr
  +thContact:/th
  +tdjosep DOT rio AT uworks DOT net/td
  +  /tr
  +  tr
  +thLicense:/th
  +tdApache Software License 1.1/td
  +  /tr
  +/table
  +  /subsection
  +
 subsection name=AntDoc
   
   pAntDoc is a tool that generates HTML documentation from Ant
  @@ -1771,6 +1797,38 @@
 tr
   thLicense:/th
   tdGNU General Public License (GPL)/td
  +  /tr
  +/table
  +  /subsection
  +
  +  subsection name=rundoc
  +pA task designed to help with the single-sourcing of program
  +documentation. Rundoc replaces special commands
  +(in the format i@@rundoc:command param1 param2...@@/i) embedded
  +within text files with their output in a
  +specified format. Currently, only Docbook format is supported./p
  +
  +pRundoc was written to keep sample code output in program
  +documentation synchronized with the actual output
  +of the current code, by running the referenced code when the
  +documentation is built./p
  +
  +table class=externals
  +  tr
  +thCompatibility:/th
  +tdTested with 1.6  Should work with all versions./td
  +  /tr
  +  tr
  +thURL:/th
  +tda href=http://www.martiansoftware.com/lab/index.html#rundoc;http://www.martiansoftware.com/lab/index.html#rundoc/a/td
  +  /tr
  +  tr
  +thContact:/th
  +tda href=http://www.martiansoftware.com/contact.html;Marty Lamb/a/td
  +  /tr
  +  tr
  +thLicense:/th
  +tdRevised BSD/td
 /tr
   /table
 /subsection
  
  
  

-
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 external.html projects.html

2004-02-20 Thread Dale Anson
Stefan,
Thanks to you too!
Dale
[EMAIL PROTECTED] wrote:
bodewig 2004/02/20 00:33:24
  Modified:docs external.html projects.html
  Log:
  regenerate site
  
  Revision  ChangesPath
  1.158 +104 -0ant/docs/external.html
  
  Index: external.html
  ===
  RCS file: /home/cvs/ant/docs/external.html,v
  retrieving revision 1.157
  retrieving revision 1.158
  diff -u -r1.157 -r1.158
  --- external.html	19 Feb 2004 11:46:58 -	1.157
  +++ external.html	20 Feb 2004 08:33:23 -	1.158
  @@ -284,6 +284,55 @@
 /tr
   /table
   h4 class=subsection
  +a name=Antariel/a
  +Antariel
  +  /h4
  +pAndariel is a set of tasks designed to help the generation of HTML
  +(and other markup languages) pages from Ant. Includes a XPath processor,
  +an image information retriever, and others./p
  +  table class=externals cellspacing=1 cellpadding=4
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Compatibility:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Ant 1.5.4 and newer
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  URL:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a href=http://andariel.uworks.net/;http://andariel.uworks.net//a
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Contact:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  josep DOT rio AT uworks DOT net
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  License:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Apache Software License 1.1
  +  /td
  +  /tr
  +/table
  +h4 class=subsection
   a name=AntDoc/a
   AntDoc
 /h4
  @@ -3302,6 +3351,61 @@
 td colspan=1 rowspan=1
 valign=top align=left
 GNU General Public License (GPL)
  +  /td
  +  /tr
  +/table
  +h4 class=subsection
  +a name=rundoc/a
  +rundoc
  +  /h4
  +pA task designed to help with the single-sourcing of program
  +documentation. Rundoc replaces special commands
  +(in the format i@@rundoc:command param1 param2...@@/i) embedded
  +within text files with their output in a
  +specified format. Currently, only Docbook format is supported./p
  +pRundoc was written to keep sample code output in program
  +documentation synchronized with the actual output
  +of the current code, by running the referenced code when the
  +documentation is built./p
  +  table class=externals cellspacing=1 cellpadding=4
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Compatibility:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Tested with 1.6  Should work with all versions.
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  URL:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a href=http://www.martiansoftware.com/lab/index.html#rundoc;http://www.martiansoftware.com/lab/index.html#rundoc/a
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  Contact:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  a href=http://www.martiansoftware.com/contact.html;Marty Lamb/a
  +  /td
  +  /tr
  +  tr
  +  th colspan=1 rowspan=1
  +  valign=top align=left
  +  License:
  +  /th
  +  td colspan=1 rowspan=1
  +  valign=top align=left
  +  Revised BSD
 /td
 /tr
   /table
  
  
  
  1.53  +2 -2  ant/docs/projects.html
  
  Index: projects.html
  ===
  RCS file: /home/cvs/ant/docs/projects.html,v
  retrieving revision 1.52
  retrieving 

DO NOT REPLY [Bug 27121] New: - New target-option finishTask, to finish task, even when task fails.

2004-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27121.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27121

New target-option finishTask, to finish task, even when task fails.

   Summary: New target-option finishTask, to finish task, even when
task fails.
   Product: Ant
   Version: 1.6.1
  Platform: Other
OS/Version: Other
Status: NEW
  Severity: Enhancement
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I would like to have the following option for a Target:
finishTask. 
This boolean-option let you define if the target should be finished, even
if an error occurs. For example, if you do a javac-task, and this fails,
I like to have rest of the target (where temporariry files are removed, 
directories are cleaned, etc) to be executed after the error is being thrown
and the target is reported as failed.

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



DO NOT REPLY [Bug 27121] - New target-option finishTask, to finish task, even when task fails.

2004-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27121.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27121

New target-option finishTask, to finish task, even when task fails.





--- Additional Comments From [EMAIL PROTECTED]  2004-02-20 20:23 ---
You can have this using ant-contrib's try task.

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



DO NOT REPLY [Bug 27121] - New target-option finishTask, to finish task, even when task fails.

2004-02-20 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27121.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27121

New target-option finishTask, to finish task, even when task fails.

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

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



cvs commit: ant WHATSNEW

2004-02-20 Thread mbenson
mbenson 2004/02/20 14:15:52

  Modified:src/main/org/apache/tools/ant/taskdefs Ant.java
   .WHATSNEW
  Log:
  Cause AntLikeTasksAtTopLevelTest to pass on cygwin.
  
  Revision  ChangesPath
  1.98  +3 -3  ant/src/main/org/apache/tools/ant/taskdefs/Ant.java
  
  Index: Ant.java
  ===
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/Ant.java,v
  retrieving revision 1.97
  retrieving revision 1.98
  diff -u -r1.97 -r1.98
  --- Ant.java  9 Feb 2004 21:05:19 -   1.97
  +++ Ant.java  20 Feb 2004 22:15:52 -  1.98
  @@ -325,9 +325,9 @@
   
   // Are we trying to call the target in which we are defined (or
   // the build file if this is a top level task)?
  -if (newProject.getProperty(ant.file)
  -.equals(getProject().getProperty(ant.file))
  - getOwningTarget() != null) {
  +if (newProject.resolveFile(newProject.getProperty(ant.file))
  +.equals(getProject().resolveFile(getProject()
  +.getProperty(ant.file)))  getOwningTarget() != null) {
   
   if (getOwningTarget().getName().equals()) {
   if (getTaskName().equals(antcall)) {
  
  
  
  1.548 +2 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.547
  retrieving revision 1.548
  diff -u -r1.547 -r1.548
  --- WHATSNEW  19 Feb 2004 21:14:16 -  1.547
  +++ WHATSNEW  20 Feb 2004 22:15:52 -  1.548
  @@ -23,6 +23,8 @@
   
   * replacestring tokenfilter only replaced the first occurrence.
   
  +* AntLikeTasksAtTopLevelTest failed on cygwin.
  +
   Other changes:
   --
   
  
  
  

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