Re: IntrospectionHelperTest failed on OS X

2004-09-30 Thread Steve Loughran
On Thu, 30 Sep 2004 20:50:32 +0200, Stefan Bodewig <[EMAIL PROTECTED]> wrote:

>there is a machine in the Netherlands
> waiting to start action donated by HP ...  

what kind of box? IA64? Athlon? PA-RISC/HPUX? or Alpha/OpenVMS? Or
even that high availability Tandem stuff :) The latter would be a
machine to really serve up apache.org ...


-steve

(FYI I believe that IMDB runs Apache+FreeBSD on Alpha, though I'd need to check)

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



Re: IntrospectionHelperTest failed on OS X

2004-09-30 Thread Matt Benson

--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:

> On Thu, 30 Sep 2004, Matt Benson
> <[EMAIL PROTECTED]> wrote:
> 
> > Which makes me wonder if OS vendors could be
> persuaded
> > to donate boxes running their OS to the ASF
> 
> They do.
> 
> nagoya, the machine running bugzilla is a Solaris
> box donated by Sun.
> moof is a MacOS X box donated by Apple.  brutus -
> the machine running
> Gump - has been donated by IBM, there is a machine
> in the Netherlands
> waiting to start action donated by HP ...  I'm
> afraid I may have
> forgotten something, the list is probably
> incomplete.
> 
> So yes, vendors can be persuaded and we happily
> accept, if we also
> have people who know how to administrate the
> machines, that is.
> 
> Usually the machines are no "real" donations, more
> like "here you can
> use it, but it remains mine".  Our PRC (public
> relations committee) is
> the contact if you know anybody else you'd like to
> persuade 8-)
> 

In particular I had been thinking of these OpenVMS
issues... 

-Matt



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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



Re: IntrospectionHelperTest failed on OS X

2004-09-30 Thread Stefan Bodewig
On Thu, 30 Sep 2004, Matt Benson <[EMAIL PROTECTED]> wrote:

> Which makes me wonder if OS vendors could be persuaded
> to donate boxes running their OS to the ASF

They do.

nagoya, the machine running bugzilla is a Solaris box donated by Sun.
moof is a MacOS X box donated by Apple.  brutus - the machine running
Gump - has been donated by IBM, there is a machine in the Netherlands
waiting to start action donated by HP ...  I'm afraid I may have
forgotten something, the list is probably incomplete.

So yes, vendors can be persuaded and we happily accept, if we also
have people who know how to administrate the machines, that is.

Usually the machines are no "real" donations, more like "here you can
use it, but it remains mine".  Our PRC (public relations committee) is
the contact if you know anybody else you'd like to persuade 8-)

Stefan

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



DO NOT REPLY [Bug 31106] - VMS cannot handle long command strings, java, javac needs to use -v option..

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

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

VMS cannot handle long command strings, java, javac needs to use -v option..





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 18:13 ---
I'll attach a file with the results.  We've been working with our JVM folks to 
try and get some of these resolved, as some of them are clearly VMS JVM 
problems.

We'll be looking at this (albeit slowly since we're swamped with other stuff) 
more in the next couple of months.

And we will be attaching your suggested revised patch in the next few days 
since we really need that change for NetBeans 4.0.

Meg

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



DO NOT REPLY [Bug 31106] - VMS cannot handle long command strings, java, javac needs to use -v option..

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

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

VMS cannot handle long command strings, java, javac needs to use -v option..





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 18:12 ---
Created an attachment (id=12911)
OpenVMS Ant Unit Test Results - VMS 7.2-3, Java 1.4.2-3

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



cvs commit: ant/src/main/org/apache/tools/ant/helper ProjectHelper2.java

2004-09-30 Thread peterreilly
peterreilly2004/09/30 10:34:05

  Modified:.Tag: ANT_16_BRANCH WHATSNEW
   src/main/org/apache/tools/ant/helper Tag: ANT_16_BRANCH
ProjectHelper2.java
  Log:
  sync (minus the unit tests)
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.503.2.139 +3 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.503.2.138
  retrieving revision 1.503.2.139
  diff -u -r1.503.2.138 -r1.503.2.139
  --- WHATSNEW  24 Sep 2004 22:29:09 -  1.503.2.138
  +++ WHATSNEW  30 Sep 2004 17:34:05 -  1.503.2.139
  @@ -51,6 +51,9 @@
   * Typo in definition of  task causing it not to be defined.
 Bugzilla 31403.
   
  +* Execution of top level tasks in imported files get delayed by targets.
  +  Bugzilla report 31487.
  +
   Changes from Ant 1.6.1 to Ant 1.6.2
   ===
   
  
  
  
  No   revision
  No   revision
  1.33.2.15 +3 -0  
ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java
  
  Index: ProjectHelper2.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v
  retrieving revision 1.33.2.14
  retrieving revision 1.33.2.15
  diff -u -r1.33.2.14 -r1.33.2.15
  --- ProjectHelper2.java   19 Jul 2004 18:22:36 -  1.33.2.14
  +++ ProjectHelper2.java   30 Sep 2004 17:34:05 -  1.33.2.15
  @@ -116,15 +116,18 @@
   // we are in an imported file.
   context.setIgnoreProjectTag(true);
   Target currentTarget = context.getCurrentTarget();
  +Target currentImplicit = context.getImplicitTarget();
   try {
   Target newCurrent = new Target();
   newCurrent.setProject(project);
   newCurrent.setName("");
   context.setCurrentTarget(newCurrent);
  +context.setImplicitTarget(newCurrent);
   parse(project, source, new RootHandler(context, 
mainHandler));
   newCurrent.execute();
   } finally {
   context.setCurrentTarget(currentTarget);
  +context.setImplicitTarget(currentImplicit);
   }
   } else {
   // top level file
  
  
  

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



cvs commit: ant WHATSNEW

2004-09-30 Thread peterreilly
peterreilly2004/09/30 10:32:56

  Modified:.WHATSNEW
  Log:
  move to 1.6 branch
  
  Revision  ChangesPath
  1.669 +3 -3  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.668
  retrieving revision 1.669
  diff -u -r1.668 -r1.669
  --- WHATSNEW  30 Sep 2004 17:05:37 -  1.668
  +++ WHATSNEW  30 Sep 2004 17:32:56 -  1.669
  @@ -26,9 +26,6 @@
   * Incorrect task name with invalid "javac" task after a "presetdef.
 Bugzilla reports 31389 and 29499.
   
  -* Execution of top level tasks in imported files get delayed by targets.
  -  Bugzilla report 31487.
  -
   Other changes:
   --
   
  @@ -115,6 +112,9 @@
   
   * Typo in definition of  task causing it not to be defined.
 Bugzilla 31403.
  +
  +* Execution of top level tasks in imported files get delayed by targets.
  +  Bugzilla report 31487.
   
   Changes from Ant 1.6.1 to Ant 1.6.2
   ===
  
  
  

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



DO NOT REPLY [Bug 31487] - execution of top level tasks in imported files get delayed by targets

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

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

execution of top level tasks in imported files get delayed by targets

[EMAIL PROTECTED] changed:

   What|Removed |Added

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



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 17:08 ---
Fixed in HEAD.  (Need to sync to 1.6 branch?)

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



cvs commit: ant/src/main/org/apache/tools/ant/helper ProjectHelper2.java

2004-09-30 Thread peterreilly
peterreilly2004/09/30 10:05:38

  Modified:.WHATSNEW
   src/testcases/org/apache/tools/ant/taskdefs ImportTest.java
   src/main/org/apache/tools/ant/helper ProjectHelper2.java
  Added:   src/etc/testcases/taskdefs/import targetfirst.xml
importtargetfirst.xml
  Log:
  Fix for execution of top level tasks getting delayed by targets.
  PR: 31487
  
  Revision  ChangesPath
  1.668 +3 -0  ant/WHATSNEW
  
  Index: WHATSNEW
  ===
  RCS file: /home/cvs/ant/WHATSNEW,v
  retrieving revision 1.667
  retrieving revision 1.668
  diff -u -r1.667 -r1.668
  --- WHATSNEW  24 Sep 2004 18:55:16 -  1.667
  +++ WHATSNEW  30 Sep 2004 17:05:37 -  1.668
  @@ -26,6 +26,9 @@
   * Incorrect task name with invalid "javac" task after a "presetdef.
 Bugzilla reports 31389 and 29499.
   
  +* Execution of top level tasks in imported files get delayed by targets.
  +  Bugzilla report 31487.
  +
   Other changes:
   --
   
  
  
  
  1.1  ant/src/etc/testcases/taskdefs/import/targetfirst.xml
  
  Index: targetfirst.xml
  ===
  

After target first
  
  
  
  
  1.1  
ant/src/etc/testcases/taskdefs/import/importtargetfirst.xml
  
  Index: importtargetfirst.xml
  ===
  
Importing targetfirst

After importing
  
  
  
  
  1.14  +4 -0  
ant/src/testcases/org/apache/tools/ant/taskdefs/ImportTest.java
  
  Index: ImportTest.java
  ===
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/ImportTest.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- ImportTest.java   28 Apr 2004 09:01:08 -  1.13
  +++ ImportTest.java   30 Sep 2004 17:05:38 -  1.14
  @@ -142,4 +142,8 @@
   }
   }
   
  +public void testTargetFirst() {
  +
configureProject("src/etc/testcases/taskdefs/import/importtargetfirst.xml");
  +assertLogContaining("Importing targetfirstAfter target firstAfter 
importing");
  +}
   }
  
  
  
  1.48  +3 -0  
ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java
  
  Index: ProjectHelper2.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v
  retrieving revision 1.47
  retrieving revision 1.48
  diff -u -r1.47 -r1.48
  --- ProjectHelper2.java   24 May 2004 15:09:57 -  1.47
  +++ ProjectHelper2.java   30 Sep 2004 17:05:38 -  1.48
  @@ -116,15 +116,18 @@
   // we are in an imported file.
   context.setIgnoreProjectTag(true);
   Target currentTarget = context.getCurrentTarget();
  +Target currentImplicit = context.getImplicitTarget();
   try {
   Target newCurrent = new Target();
   newCurrent.setProject(project);
   newCurrent.setName("");
   context.setCurrentTarget(newCurrent);
  +context.setImplicitTarget(newCurrent);
   parse(project, source, new RootHandler(context, 
mainHandler));
   newCurrent.execute();
   } finally {
   context.setCurrentTarget(currentTarget);
  +context.setImplicitTarget(currentImplicit);
   }
   } else {
   // top level file
  
  
  

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



Re: IntrospectionHelperTest failed on OS X

2004-09-30 Thread Matt Benson
--- Stefan Bodewig <[EMAIL PROTECTED]> wrote:
> > Is Ant supposed to rely exclusively on the few
> Gump instances to
> > sample the various OS's it's supposed to run on?
> 
> Ant is supposed to rely largely on committers and
> developers and users
> running all flavors of OSes 8-)

Which makes me wonder if OS vendors could be persuaded
to donate boxes running their OS to the ASF so that
testing on less-widely used OSes could take place...

-Matt



___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com

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



DO NOT REPLY [Bug 31028] - Build failed due to UnsupportClassVersionError

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

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

Build failed due to UnsupportClassVersionError





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 14:52 ---
On second glance, looks as if you were using JDK 1.5's tools.jar while running
a Java VM < 1.5.

Any idea where it could be coming from?

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



DO NOT REPLY [Bug 27420] - cleanup() never called on ant class loader when running junit

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

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

cleanup() never called on ant class loader when running junit

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]

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



DO NOT REPLY [Bug 31487] - execution of top level tasks in imported files get delayed by targets

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

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

execution of top level tasks in imported files get delayed by targets





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 14:50 ---
A work-around is to always place targets after top-level
types/tasks.

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



DO NOT REPLY [Bug 29977] - topoSort() logic is broken with multiple targets

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

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

topoSort() logic is broken with multiple targets

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|VERIFIED|CLOSED

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



DO NOT REPLY [Bug 30728] - Recorder doesnt recieve the proper taskFinished event

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

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

Recorder doesnt recieve the proper taskFinished event

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME

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



DO NOT REPLY [Bug 25935] - telnet task does not explicitly disconnect telnet sessions

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

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

telnet task does not explicitly disconnect telnet sessions

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 14:43 ---
*** Bug 31488 has been marked as a duplicate of this bug. ***

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



DO NOT REPLY [Bug 31488] - does not close the session

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

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

 does not close the session

[EMAIL PROTECTED] changed:

   What|Removed |Added

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



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 14:43 ---


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

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



Re: IntrospectionHelperTest failed on OS X

2004-09-30 Thread Stefan Bodewig
On Thu, 30 Sep 2004, Dominique Devienne <[EMAIL PROTECTED]> wrote:

> BTW, is there some explicit resolution rules whether add() has
> higher priority than addConfigured(), or vice versa?



,
| What happens if you use more than one of the options? Only one of the
| methods will be called, but we don't know which, this depends on the
| implementation of your Java virtual machine.
`

So if both methods take the exact same argument type, the answer is
"it depends".  If they are different, it doesn't really matter since
the sorting algorithm for the extension list doesn't look at the
method names, only the argument types.  So the "higher derived" one
will always come first.

> What if I have add(HashMap) and addConfigured(Map)? Who's suppose to
> be first (win), the first one or the second?

HashMap, no matter how the methods are called.

> This also brings up the fact that there are no nightly builds of Ant
> on MasOS X I guess...

We used to run Gump on one, but the installation went a little
unmaintained.

> Is Ant supposed to rely exclusively on the few Gump instances to
> sample the various OS's it's supposed to run on?

Ant is supposed to rely largely on committers and developers and users
running all flavors of OSes 8-)

Stefan

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 14:39 ---
Yes thanks for your help.

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



DO NOT REPLY [Bug 31488] New: - does not close the session

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

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

 does not close the session

   Summary:  does not close the session
   Product: Ant
   Version: 1.5.3
  Platform: PC
OS/Version: Windows NT/2K
Status: NEW
  Severity: Major
  Priority: Other
 Component: Optional Tasks
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I am using ANT 1.5.3 that comes with Websphere Studio Application Developer 
5.1. If you use the  task, telnet does not close the session even after 
using .  I tried that many times. You can check out the session that 
is still open from the host. The only way I was able to close the session is 
either by shutting down WSAD or by using the exit command in the telnet session:





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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 14:36 ---
I could take the easy route and say that 1.5 had a bug and 1.6 has fixed it.

Honestly, I'm not aware of any change to Ant that could have caused the "fix", 
but
then again, I don't pretend to remember each and every commit.

So we can close this report, right?

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



DO NOT REPLY [Bug 31487] - execution of top level tasks in imported files get delayed by targets

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

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

execution of top level tasks in imported files get delayed by targets





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 14:33 ---
You don't even need properties, just the echos are enough to show the problem.

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



DO NOT REPLY [Bug 31487] New: - execution of top level tasks in imported files get delayed by targets

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

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

execution of top level tasks in imported files get delayed by targets

   Summary: execution of top level tasks in imported files get
delayed by targets
   Product: Ant
   Version: 1.7Alpha (nightly)
  Platform: Other
OS/Version: All
Status: NEW
  Severity: Major
  Priority: Other
 Component: Core
AssignedTo: [EMAIL PROTECTED]
ReportedBy: [EMAIL PROTECTED]


I've stripped down the problem mentioned in
.

Suppose we have

outer.xml
=

  
  
  foo is ${foo}


inner.xml
=

  
  
  bar is ${bar}


This results in

[EMAIL PROTECTED] tmp]$ ant -f outer.xml 
Buildfile: outer.xml
 [echo] foo is ${bar}
 [echo] bar is bar is set

BUILD SUCCESSFUL
Total time: 1 second


Now remove the target from inner.xml

[EMAIL PROTECTED] tmp]$ ant -f outer.xml 
Buildfile: outer.xml
 [echo] bar is set
 [echo] foo is bar is set

BUILD SUCCESSFUL
Total time: 1 second

So if the imported file contains targets, its top level task get delayed until
the ones of the importing file are done.  If it doesn't, they get executed
immediately.  This is clearly wrong, both should behave the same way.

One can argue which way is the correct one, my vote would be for "execute
immediately" since it seems more intuitive.

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



RE: IntrospectionHelperTest failed on OS X

2004-09-30 Thread Dominique Devienne
> From: Stefan Bodewig [mailto:[EMAIL PROTECTED]
> 
> I'm not sure whether I've run the tests on my Mac after
> testGetExtensionPoints has been added and it just fails now after I
> upgraded Java or whether it has always been failing.
> 
> The test depends on the implementation of reflection - in particular
> on the order returned by getMethods.
> 
> We had three valid adder methods:
> 
> add(Number)
> addConfigured(Map)
> addConfigured(Hashtable)
> 
> and the main point the test wants to assert is that the Hashtable arg
> version comes before the Map arg version in the list returned by
> getExtensionPoints.  This works fine.  But the test also assumes that
> add(Number) comes first, while the relative order in reality is
> undefined.  There are three valid orders getExtensionPoints may
> produce:
[...] 
> Instead of trying to find which of the three results we are looking
> at, I simply removed add(Number) completely from the test - feel free
> to improve it 8-)

Sorry I broke MacOS X Stefan ;-) I'll see about find a testing logic
independent of the order.

BTW, is there some explicit resolution rules whether add() has higher
priority than addConfigured(), or vice versa?

What if I have add(HashMap) and addConfigured(Map)? Who's suppose to
be first (win), the first one or the second? Intuitively I'd put
an addConfigured() ahead of a add(), but a HashMap ahead of a Map, so
who yields to whom in this case?

This also brings up the fact that there are no nightly builds of
Ant on MasOS X I guess... Is Ant supposed to rely exclusively on the
few Gump instances to sample the various OS's it's supposed to run on? 

--DD

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



Re: /manual/CoreTypes/regexp.html

2004-09-30 Thread Antoine Levy-Lambert
I think that this page was not part of ant 1.6.2
the web site reflects ant 1.6.2
Antoine
Matt Benson wrote:
Anybody have any idea why this page would not be
available from the website?
-Matt

___
Do you Yahoo!?
Declare Yourself - Register online to vote today!
http://vote.yahoo.com
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 


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


DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 14:15 ---
Heh. You were right - there were actully 6 jar files that reference jrun-
xdoclet.jar.

The leads me to ask why this was not an issue in Ant 1.5. Is it 1.5 or 1.6 that 
has the problem?

Thanks.

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:59 ---
I see it and don't fully understand what is going on.

Does it work if you strip the **/ from the pattern since you don't need a
recursive match anyway?

Hmm, wait.  Is there a jar inside of JRUN/lib with a MANIFEST.MF that references
jrun-xdoclet.jar?

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:41 ---
Created an attachment (id=12904)
Output of ant -debug command

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:40 ---
Hmmm... this leads me onto another question. Looking at our build file, we were 
excluding **/*xdoclet.jar from our jrun libraries path:


 


But it's still including this jar file.

This works with ant 1.5 but not 1.6.

I have attached the ant debug output.

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:23 ---
Oh great suggestion. Looking at the code I can see that ant was picking up the 
JRun xdoclet library - jrun-xdoclet.jar - instead of the ones I was expecting. 
I removed jrun-xdoclet.jar and it all ran smoothly.

Many thanks.

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



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

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

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

jspc tag broken with new version of jasper

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:22 ---
I assume that it works in 1.6.2.

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



DO NOT REPLY [Bug 27541] - JunitReport task fails under JDK 1.5

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

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

JunitReport task fails under JDK 1.5





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:21 ---
Steve, as I already said on the list, the problem is the Gump setup in your 
case.

You include Apache's xml-apis.jar which is configured to use Xalan as its 
default
TransformerFactory.  Since you don't include xalan as well, the task fails.

You should either remove xml-apis (by saying ids="parser" in the  
element
for Xerces) or add Xalan.

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:16 ---
and they are no where else?

Could you append a -debug output of Ant?

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 13:10 ---
The xdoclet jars are in a path called project.class.path and I specify this 
path when definig the webdoclet task:







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



DO NOT REPLY [Bug 31106] - VMS cannot handle long command strings, java, javac needs to use -v option..

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

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

VMS cannot handle long command strings, java, javac needs to use -v option..





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 12:49 ---
OK, so which tests are failing?

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



DO NOT REPLY [Bug 31415] - junitreport task gives a java.lang.NoClassDefFoundError for org/apache/tools/ant/taskdefs/optional/junit/XalanExecutor

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

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

junitreport task gives a  java.lang.NoClassDefFoundError for 
org/apache/tools/ant/taskdefs/optional/junit/XalanExecutor





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 12:48 ---
JUnitReport is not related to junit.jar or ant-junit.jar at all.

Starting with Ant 1.6.2, Xalan2Executor is in ant-trax.jar.

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



DO NOT REPLY [Bug 31449] - java.lang.ClassNotFoundException with Xdoclet and Struts

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

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

java.lang.ClassNotFoundException with Xdoclet and Struts





--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 12:46 ---
where on your classloader hierarchy is xdoclet?

If it is in ANT_HOME/lib, struts has to be loaded from there as well - unless
XDoclet is playing some tricks with classloaders.

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



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

2004-09-30 Thread bodewig
bodewig 2004/09/30 05:42:58

  Modified:src/main/org/apache/tools/ant/taskdefs/compilers Tag:
ANT_16_BRANCH CompilerAdapterFactory.java
  Log:
  Merge fix for PR 31450 from HEAD
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.21.2.6  +5 -2  
ant/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
  
  Index: CompilerAdapterFactory.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java,v
  retrieving revision 1.21.2.5
  retrieving revision 1.21.2.6
  diff -u -r1.21.2.5 -r1.21.2.6
  --- CompilerAdapterFactory.java   9 Mar 2004 17:01:38 -   1.21.2.5
  +++ CompilerAdapterFactory.java   30 Sep 2004 12:42:58 -  1.21.2.6
  @@ -140,8 +140,11 @@
   return true;
   } catch (ClassNotFoundException cnfe) {
   try {
  -
CompilerAdapterFactory.class.getClassLoader().loadClass(MODERN_COMPILER);
  -return true;
  +ClassLoader cl = 
CompilerAdapterFactory.class.getClassLoader();
  +if (cl != null) {
  +cl.loadClass(MODERN_COMPILER);
  +return true;
  +}
   } catch (ClassNotFoundException cnfe2) {
   }
   }
  
  
  

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



DO NOT REPLY [Bug 31450] - NullpointerException in CompilerAdapterFactory.doesModernCompilerExist()

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

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

NullpointerException in CompilerAdapterFactory.doesModernCompilerExist()

[EMAIL PROTECTED] changed:

   What|Removed |Added

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



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 12:44 ---
fixed in CVS, thanks.

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



cvs commit: ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector ModifiedSelector.java

2004-09-30 Thread bodewig
bodewig 2004/09/30 05:41:52

  Modified:src/main/org/apache/tools/ant/taskdefs/compilers
CompilerAdapterFactory.java
   src/main/org/apache/tools/ant/types/selectors/modifiedselector
ModifiedSelector.java
  Log:
  Don't assume class.getClassLoader is not null, PR 31450
  
  Revision  ChangesPath
  1.27  +5 -2  
ant/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
  
  Index: CompilerAdapterFactory.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- CompilerAdapterFactory.java   9 Mar 2004 16:48:13 -   1.26
  +++ CompilerAdapterFactory.java   30 Sep 2004 12:41:52 -  1.27
  @@ -140,8 +140,11 @@
   return true;
   } catch (ClassNotFoundException cnfe) {
   try {
  -
CompilerAdapterFactory.class.getClassLoader().loadClass(MODERN_COMPILER);
  -return true;
  +ClassLoader cl = 
CompilerAdapterFactory.class.getClassLoader();
  +if (cl != null) {
  +cl.loadClass(MODERN_COMPILER);
  +return true;
  +}
   } catch (ClassNotFoundException cnfe2) {
   }
   }
  
  
  
  1.10  +9 -1  
ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java
  
  Index: ModifiedSelector.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/types/selectors/modifiedselector/ModifiedSelector.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- ModifiedSelector.java 13 Jul 2004 15:23:32 -  1.9
  +++ ModifiedSelector.java 30 Sep 2004 12:41:52 -  1.10
  @@ -487,7 +487,15 @@
   protected Object loadClass(String classname, String msg, Class type) {
   try {
   // load the specified class
  -Object rv = getClassLoader().loadClass(classname).newInstance();
  +ClassLoader cl = getClassLoader();
  +Class clazz = null;
  +if (cl != null) {
  +clazz = cl.loadClass(classname);
  +} else {
  +clazz = Class.forName(classname);
  +}
  +
  +Object rv = clazz.newInstance();
   
   if (!type.isInstance(rv)) {
   throw new BuildException("Specified class (" + classname + 
") " + msg);
  
  
  

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



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit JUnitTask.java

2004-09-30 Thread bodewig
bodewig 2004/09/30 05:41:12

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/junit
JUnitTask.java
  Log:
  Oops, better compile before commit
  
  Revision  ChangesPath
  1.103 +4 -4  
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.102
  retrieving revision 1.103
  diff -u -r1.102 -r1.103
  --- JUnitTask.java30 Sep 2004 09:55:03 -  1.102
  +++ JUnitTask.java30 Sep 2004 12:41:12 -  1.103
  @@ -1476,9 +1476,9 @@
*/
   protected void actOnTestResult(int exitValue, boolean wasKilled,
  JUnitTest test, String name) {
  -TestResult t = new TestResult();
  -t.exitValue = exitValue;
  -t.wasKilled = wasKilled;
  +TestResultHolder t = new TestResultHolder();
  +t.exitCode = exitValue;
  +t.timedOut = wasKilled;
   actOnTestResult(t, test, name);
   }
   
  
  
  

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



DO NOT REPLY [Bug 31450] - NullpointerException in CompilerAdapterFactory.doesModernCompilerExist()

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

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

NullpointerException in CompilerAdapterFactory.doesModernCompilerExist()

[EMAIL PROTECTED] changed:

   What|Removed |Added

 CC||[EMAIL PROTECTED]
 AssignedTo|[EMAIL PROTECTED]  |[EMAIL PROTECTED]

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



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit JUnitTask.java

2004-09-30 Thread bodewig
bodewig 2004/09/30 02:55:03

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/junit
JUnitTask.java
  Log:
  Improved BWC, not that good, though
  
  Revision  ChangesPath
  1.102 +18 -3 
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.101
  retrieving revision 1.102
  diff -u -r1.101 -r1.102
  --- JUnitTask.java30 Sep 2004 09:42:16 -  1.101
  +++ JUnitTask.java30 Sep 2004 09:55:03 -  1.102
  @@ -1474,7 +1474,22 @@
*
* @since Ant 1.6.2
*/
  -protected void actOnTestResult(TestResultHolder result,JUnitTest test, 
  +protected void actOnTestResult(int exitValue, boolean wasKilled,
  +   JUnitTest test, String name) {
  +TestResult t = new TestResult();
  +t.exitValue = exitValue;
  +t.wasKilled = wasKilled;
  +actOnTestResult(t, test, name);
  +}
  +
  +/**
  + * Logs information about failed tests, potentially stops
  + * processing (by throwing a BuildException) if a failure/error
  + * occured or sets a property.
  + *
  + * @since Ant 1.7
  + */
  +protected void actOnTestResult(TestResultHolder result, JUnitTest test, 
  String name) {
   // if there is an error/failure and that it should halt, stop
   // everything otherwise just log a statement
  @@ -1503,7 +1518,7 @@
   }
   }
   
  -private class TestResultHolder {
  +protected class TestResultHolder {
   public int exitCode = JUnitTestRunner.ERRORS;
   public boolean timedOut = false;
   public boolean crashed = false;
  
  
  

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



Re: cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit ForkedVMWatcher.java JUnitTask.java JUnitTestRunner.java

2004-09-30 Thread Stefan Bodewig
On 30 Sep 2004, <[EMAIL PROTECTED]> wrote:

>   Add a simple TestListener to each forked VM that does nothing but
>   write a single byte to a file.
>   
>   If that file is empty when the test runner finishes, the VM has
>   exited and we should consider the tests as failed.

I'd appreciate some tests on platforms with locking file systems like
Windows.

Stefan

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



cvs commit: ant/src/main/org/apache/tools/ant/taskdefs/optional/junit ForkedVMWatcher.java JUnitTask.java JUnitTestRunner.java

2004-09-30 Thread bodewig
bodewig 2004/09/30 02:42:16

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/junit
JUnitTask.java JUnitTestRunner.java
  Added:   src/main/org/apache/tools/ant/taskdefs/optional/junit
ForkedVMWatcher.java
  Log:
  Add a simple TestListener to each forked VM that does nothing but
  write a single byte to a file.
  
  If that file is empty when the test runner finishes, the VM has exited
  and we should consider the tests as failed.
  
  PR: 30333
  
  Revision  ChangesPath
  1.101 +81 -44
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.100
  retrieving revision 1.101
  diff -u -r1.100 -r1.101
  --- JUnitTask.java27 Jul 2004 14:04:09 -  1.100
  +++ JUnitTask.java30 Sep 2004 09:42:16 -  1.101
  @@ -683,19 +683,15 @@
   }
   
   // execute the test and get the return code
  -int exitValue = JUnitTestRunner.ERRORS;
  -boolean wasKilled = false;
  +TestResultHolder result = null;
   if (!test.getFork()) {
  -exitValue = executeInVM(test);
  +result = executeInVM(test);
   } else {
   ExecuteWatchdog watchdog = createWatchdog();
  -exitValue = executeAsForked(test, watchdog, null);
  +result = executeAsForked(test, watchdog, null);
   // null watchdog means no timeout, you'd better not check with 
null
  -if (watchdog != null) {
  -wasKilled = watchdog.killedProcess();
  -}
   }
  -actOnTestResult(exitValue, wasKilled, test, "Test " + 
test.getName());
  +actOnTestResult(result, test, "Test " + test.getName());
   }
   
   /**
  @@ -731,16 +727,10 @@
   writer = null;
   
   // execute the test and get the return code
  -int exitValue = JUnitTestRunner.ERRORS;
  -boolean wasKilled = false;
   ExecuteWatchdog watchdog = createWatchdog();
  -exitValue = executeAsForked(test, watchdog, casesFile);
  -// null watchdog means no timeout, you'd better not check
  -// with null
  -if (watchdog != null) {
  -wasKilled = watchdog.killedProcess();
  -}
  -actOnTestResult(exitValue, wasKilled, test, "Tests");
  +TestResultHolder result = 
  +executeAsForked(test, watchdog, casesFile);
  +actOnTestResult(result, test, "Tests");
   } catch(IOException e) {
   log(e.toString(), Project.MSG_ERR);
   throw new BuildException(e);
  @@ -758,18 +748,22 @@
   }
   
   /**
  - * Execute a testcase by forking a new JVM. The command will block until
  - * it finishes. To know if the process was destroyed or not, use the
  - * killedProcess() method of the watchdog class.
  + * Execute a testcase by forking a new JVM. The command will block
  + * until it finishes. To know if the process was destroyed or not
  + * or whether the forked Java VM exited abnormally, use the
  + * attributes of the returned holder object.
* @param  test   the testcase to execute.
* @param  watchdog   the watchdog in charge of cancelling the test if it
* exceeds a certain amount of time. Can be null, in this case
* the test could probably hang forever.
  + * @param ForkedVMState will hold information about the forked
  + * VM's sanity.
* @throws BuildException in case of error creating a temporary property 
file,
* or if the junit process can not be forked
*/
  -private int executeAsForked(JUnitTest test, ExecuteWatchdog watchdog, 
  -File casesFile)
  +private TestResultHolder executeAsForked(JUnitTest test, 
  + ExecuteWatchdog watchdog, 
  + File casesFile)
   throws BuildException {
   
   if (perm != null) {
  @@ -836,6 +830,12 @@
   }
   }
   
  +File vmWatcher = createTempPropertiesFile("junitvmwatcher");
  +formatterArg.append("formatter=");
  +formatterArg.append(ForkedVMWatcher.class.getName());
  +formatterArg.append(",");
  +formatterArg.append(vmWatcher);
  +cmd.createArgument().setValue(formatterArg.toString());
   
   File propsFile = createTempPropertiesFile("junit");
   cmd.createArgument().setValue("propsfile="
  @@ -877,15 +877,20 @@
   execute.setEnvironment(environment);
   
   log(cmd.describeCommand(), Project.MSG_VERBOSE);
  -int r

cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/junit JUnitTaskTest.java NoVmCrash.java Sleeper.java VmCrash.java

2004-09-30 Thread bodewig
bodewig 2004/09/30 02:39:57

  Modified:src/etc/testcases/taskdefs/optional junit.xml
  Added:   src/testcases/org/apache/tools/ant/taskdefs/optional/junit
JUnitTaskTest.java NoVmCrash.java Sleeper.java
VmCrash.java
  Log:
  Throw in some unit tests for  - one of them will fail related to bug 
30333
  
  Revision  ChangesPath
  1.3   +27 -0 ant/src/etc/testcases/taskdefs/optional/junit.xml
  
  Index: junit.xml
  ===
  RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/optional/junit.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- junit.xml 18 Apr 2002 09:49:54 -  1.2
  +++ junit.xml 30 Sep 2004 09:39:57 -  1.3
  @@ -42,4 +42,31 @@
 
   
  +  
  +
  +  
  +  
  +
  +  
  +
  +  
  +
  +  
  +  
  +
  +  
  +
  +  
  +
  +  
  +  
  +
  +  
  +
  +  
  +
  +  
  +  
  +
  +  
   
  
  
  
  1.1  
ant/src/testcases/org/apache/tools/ant/taskdefs/optional/junit/JUnitTaskTest.java
  
  Index: JUnitTaskTest.java
  ===
  /*
   * Copyright  2002,2004 The Apache Software Foundation
   *
   *  Licensed under the Apache License, Version 2.0 (the "License");
   *  you may not use this file except in compliance with the License.
   *  You may obtain a copy of the License at
   *
   *  http://www.apache.org/licenses/LICENSE-2.0
   *
   *  Unless required by applicable law or agreed to in writing, software
   *  distributed under the License is distributed on an "AS IS" BASIS,
   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *  See the License for the specific language governing permissions and
   *  limitations under the License.
   *
   */
  package org.apache.tools.ant.taskdefs.optional.junit;
  
  import org.apache.tools.ant.Project;
  import org.apache.tools.ant.BuildException;
  import org.apache.tools.ant.BuildFileTest;
  import java.lang.reflect.InvocationTargetException;
  
  public class JUnitTaskTest extends BuildFileTest {
  
  /**
   * Constructor for the JUnitTaskTest object
   *
   * @param name we dont know
   */
  public JUnitTaskTest(String name) {
  super(name);
  }
  
  
  /**
   * The JUnit setup method
   */
  public void setUp() {
  configureProject("src/etc/testcases/taskdefs/optional/junit.xml");
  }
  
  
  /**
   * The teardown method for JUnit
   */
  public void tearDown() {
  //executeTarget("cleanup");
  }
  
  public void testCrash() {
 expectPropertySet("crash", "crashed");
  }
  
  public void testNoCrash() {
 expectPropertyUnset("nocrash", "crashed");
  }
  
  public void testTimeout() {
 expectPropertySet("timeout", "timeout");
  }
  
  public void testNoTimeout() {
 expectPropertyUnset("notimeout", "timeout");
  }
  
  }
  
  
  
  
  1.1  
ant/src/testcases/org/apache/tools/ant/taskdefs/optional/junit/NoVmCrash.java
  
  Index: NoVmCrash.java
  ===
  /*
   * Copyright 2004 The Apache Software Foundation
   *
   *  Licensed under the Apache License, Version 2.0 (the "License");
   *  you may not use this file except in compliance with the License.
   *  You may obtain a copy of the License at
   *
   *  http://www.apache.org/licenses/LICENSE-2.0
   *
   *  Unless required by applicable law or agreed to in writing, software
   *  distributed under the License is distributed on an "AS IS" BASIS,
   *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
   *  See the License for the specific language governing permissions and
   *  limitations under the License.
   *
   */
  package org.apache.tools.ant.taskdefs.optional.junit;
  
  import junit.framework.Test;
  import junit.framework.TestCase;
  import junit.framework.TestResult;
  
  /**
   * @version $Revision: 1.1 $
   */
  public class NoVmCrash extends TestCase {
  
  public NoVmCrash(String name) {
  super(name);
  }
  
  public void testNoCrash() {
  }
  
  }
  
  
  
  1.1  
ant/src/testcases/org/apache/tools/ant/taskdefs/optional/junit/Sleeper.java
  
  Index: Sleeper.java
  ===
  /*
   * Copyright 2004 The Apache Software Foundation
   *
   *  Licensed under the Apache License, Version 2.0 (the "License");
   *  you may not use this file except in compliance with the License.
   *  You may obtain a copy of the License at
   *
   *  http://www.apache.org/licenses/LICENSE-2.0
   *
   *  Unless required by applicable law or agreed to in writing, software
   *  distributed under the License is distri

cvs commit: ant build.xml

2004-09-30 Thread bodewig
bodewig 2004/09/30 02:38:02

  Modified:.build.xml
  Log:
  tests are on system classpath of forked tests
  
  Revision  ChangesPath
  1.429 +1 -0  ant/build.xml
  
  Index: build.xml
  ===
  RCS file: /home/cvs/ant/build.xml,v
  retrieving revision 1.428
  retrieving revision 1.429
  diff -u -r1.428 -r1.429
  --- build.xml 12 Aug 2004 14:16:48 -  1.428
  +++ build.xml 30 Sep 2004 09:38:02 -  1.429
  @@ -534,6 +534,7 @@
   
   
  +
 
   
   
  
  
  

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



IntrospectionHelperTest failed on OS X

2004-09-30 Thread Stefan Bodewig
Hi,

I'm not sure whether I've run the tests on my Mac after
testGetExtensionPoints has been added and it just fails now after I
upgraded Java or whether it has always been failing.

The test depends on the implementation of reflection - in particular
on the order returned by getMethods.

We had three valid adder methods:

add(Number)
addConfigured(Map)
addConfigured(Hashtable)

and the main point the test wants to assert is that the Hashtable arg
version comes before the Map arg version in the list returned by
getExtensionPoints.  This works fine.  But the test also assumes that
add(Number) comes first, while the relative order in reality is
undefined.  There are three valid orders getExtensionPoints may
produce:

add(Number)
addConfigured(Hashtable)
addConfigured(Map)

addConfigured(Hashtable)
add(Number)
addConfigured(Map)

addConfigured(Hashtable)
addConfigured(Map)
add(Number)

depending on whether add(Number) is returned first, second or third by
(and whether add(Hashtable) comes before or after addConfigured(Map))
the reflection implementation.

Instead of trying to find which of the three results we are looking
at, I simply removed add(Number) completely from the test - feel free
to improve it 8-)

Stefan

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



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

2004-09-30 Thread bodewig
bodewig 2004/09/30 02:27:07

  Modified:src/testcases/org/apache/tools/ant
IntrospectionHelperTest.java
  Log:
  Make test pass on OS X
  
  Revision  ChangesPath
  1.24  +19 -9 
ant/src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java
  
  Index: IntrospectionHelperTest.java
  ===
  RCS file: 
/home/cvs/ant/src/testcases/org/apache/tools/ant/IntrospectionHelperTest.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- IntrospectionHelperTest.java  13 Sep 2004 13:26:32 -  1.23
  +++ IntrospectionHelperTest.java  30 Sep 2004 09:27:07 -  1.24
  @@ -594,16 +594,25 @@
   
   public void testGetExtensionPoints() {
   List extensions = ih.getExtensionPoints();
  -assertEquals("extension count", 3, extensions.size());
  +final int adders = 2;
  +assertEquals("extension count", adders, extensions.size());
   
  -assertExtMethod(extensions.get(0), "add", Number.class,
  -new Integer(2), new Integer(3));
  +// this original test assumed something about the order of
  +// add(Number) and addConfigured(Map) returned by reflection.
  +// Unfortunately the assumption doesn't hold for all VMs
  +// (failed on MacOS X using JDK 1.4.2_05) and the possible
  +// combinatorics are too hard to check.  We really only want
  +// to ensure that the more derived Hashtable can be found
  +// before Map.
  +//assertExtMethod(extensions.get(0), "add", Number.class,
  +//new Integer(2), new Integer(3));
   
   // addConfigured(Hashtable) should come before addConfigured(Map)
  -assertExtMethod(extensions.get(1), "addConfigured", Hashtable.class,
  +assertExtMethod(extensions.get(adders - 2),
  +"addConfigured", Hashtable.class,
   makeTable("key", "value"), makeTable("1", "2"));
   
  -assertExtMethod(extensions.get(2), "addConfigured", Map.class,
  +assertExtMethod(extensions.get(adders - 1), "addConfigured", 
Map.class,
   new HashMap(), makeTable("1", "2"));
   }
   
  @@ -644,10 +653,11 @@
   return null;
   }
   
  -public void add(Number n) {
  -// Valid extension point
  -assertEquals(2, n.intValue());
  -}
  +// see comments in testGetExtensionPoints
  +//public void add(Number n) {
  +//// Valid extension point
  +//assertEquals(2, n.intValue());
  +//}
   
   public void add(List l, int i) {
   // INVALID extension point
  
  
  

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



DO NOT REPLY [Bug 30669] - SCP fails without throwing exception or issuing warning on third-party copy

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

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

SCP fails without throwing exception or issuing warning on third-party copy

[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED
   Target Milestone|--- |1.6.3
Version|1.7Alpha (nightly)  |1.6.2



--- Additional Comments From [EMAIL PROTECTED]  2004-09-30 09:28 ---
patch committed, thanks.

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



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

2004-09-30 Thread bodewig
bodewig 2004/09/30 02:26:23

  Modified:.Tag: ANT_16_BRANCH CONTRIBUTORS
   src/main/org/apache/tools/ant/taskdefs/optional/ssh Tag:
ANT_16_BRANCH Scp.java
  Log:
  Merge fix for 30669
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.1.2.24  +1 -0  ant/CONTRIBUTORS
  
  Index: CONTRIBUTORS
  ===
  RCS file: /home/cvs/ant/CONTRIBUTORS,v
  retrieving revision 1.1.2.23
  retrieving revision 1.1.2.24
  diff -u -r1.1.2.23 -r1.1.2.24
  --- CONTRIBUTORS  21 Sep 2004 11:38:27 -  1.1.2.23
  +++ CONTRIBUTORS  30 Sep 2004 09:26:23 -  1.1.2.24
  @@ -13,6 +13,7 @@
   Aslak Hellesøy
   Avik Sengupta
   Balazs Fejes 2
  +Ben Galbraith
   Benoit Moussaud
   Brad Clark
   Brian Deitte
  
  
  
  No   revision
  No   revision
  1.9.2.8   +1 -1  
ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java
  
  Index: Scp.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java,v
  retrieving revision 1.9.2.7
  retrieving revision 1.9.2.8
  diff -u -r1.9.2.7 -r1.9.2.8
  --- Scp.java  14 Jun 2004 12:24:17 -  1.9.2.7
  +++ Scp.java  30 Sep 2004 09:26:23 -  1.9.2.8
  @@ -176,7 +176,7 @@
   upload(fromUri, toUri);
   }
   } else if (isFromRemote && isToRemote) {
  -// not implemented yet.
  +throw new BuildException("Copying from a remote server to a 
remote server is not supported.");
   } else {
   throw new BuildException("'todir' and 'file' attributes "
   + "must have syntax like the following: "
  
  
  

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



cvs commit: ant CONTRIBUTORS

2004-09-30 Thread bodewig
bodewig 2004/09/30 02:24:28

  Modified:.CONTRIBUTORS
  Log:
  Update for PR 30669
  
  Revision  ChangesPath
  1.33  +1 -0  ant/CONTRIBUTORS
  
  Index: CONTRIBUTORS
  ===
  RCS file: /home/cvs/ant/CONTRIBUTORS,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- CONTRIBUTORS  21 Sep 2004 11:38:04 -  1.32
  +++ CONTRIBUTORS  30 Sep 2004 09:24:28 -  1.33
  @@ -13,6 +13,7 @@
   Aslak Hellesøy
   Avik Sengupta
   Balazs Fejes 2
  +Ben Galbraith
   Benoit Moussaud
   Brad Clark
   Brian Deitte
  
  
  

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



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

2004-09-30 Thread bodewig
bodewig 2004/09/30 02:24:06

  Modified:src/main/org/apache/tools/ant/taskdefs/optional/ssh Scp.java
  Log:
  Don't ignore invalid operation mode silently
  
  PR: 30669
  Submitted by: Ben Galbraith
  
  Revision  ChangesPath
  1.18  +1 -1  
ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java
  
  Index: Scp.java
  ===
  RCS file: 
/home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/Scp.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- Scp.java  14 Jun 2004 12:23:50 -  1.17
  +++ Scp.java  30 Sep 2004 09:24:06 -  1.18
  @@ -176,7 +176,7 @@
   upload(fromUri, toUri);
   }
   } else if (isFromRemote && isToRemote) {
  -// not implemented yet.
  +throw new BuildException("Copying from a remote server to a 
remote server is not supported.");
   } else {
   throw new BuildException("'todir' and 'file' attributes "
   + "must have syntax like the following: "
  
  
  

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



cvs commit: ant/docs/manual install.html

2004-09-30 Thread peterreilly
peterreilly2004/09/30 01:30:32

  Modified:docs/manual Tag: ANT_16_BRANCH install.html
  Log:
  sync
  
  Revision  ChangesPath
  No   revision
  No   revision
  1.59.2.15 +2 -2  ant/docs/manual/install.html
  
  Index: install.html
  ===
  RCS file: /home/cvs/ant/docs/manual/install.html,v
  retrieving revision 1.59.2.14
  retrieving revision 1.59.2.15
  diff -u -r1.59.2.14 -r1.59.2.15
  --- install.html  15 Sep 2004 12:42:42 -  1.59.2.14
  +++ install.html  30 Sep 2004 08:30:32 -  1.59.2.15
  @@ -347,8 +347,8 @@
   Groovy with script and scriptdef tasks
 You need to get the groovy jar and two asm jars from a groovy
 installation. The jars are groovy-[version].jar, asm-[vesion].jar and
  -  asm-util-[version].jar. As of groovy version 1.0-beta-6, the jars are
  -  groovy-1.0-beta-6.jar, asm-1.4.1.jar and asm-util-1.4.3.jar.
  +  asm-util-[version].jar. As of groovy version 1.0-beta-7, the jars are
  +  groovy-1.0-beta-7.jar, asm-1.4.3.jar and asm-util-1.4.3.jar.
   
   
 http://groovy.codehaus.org/";>http://groovy.codehaus.org/
  
  
  

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



cvs commit: ant/docs/manual install.html

2004-09-30 Thread peterreilly
peterreilly2004/09/30 01:28:04

  Modified:docs/manual install.html
  Log:
  update for groovy 1.0 beta 7
  
  Revision  ChangesPath
  1.75  +2 -2  ant/docs/manual/install.html
  
  Index: install.html
  ===
  RCS file: /home/cvs/ant/docs/manual/install.html,v
  retrieving revision 1.74
  retrieving revision 1.75
  diff -u -r1.74 -r1.75
  --- install.html  15 Sep 2004 12:41:01 -  1.74
  +++ install.html  30 Sep 2004 08:28:03 -  1.75
  @@ -346,8 +346,8 @@
   Groovy with script and scriptdef tasks
 You need to get the groovy jar and two asm jars from a groovy
 installation. The jars are groovy-[version].jar, asm-[vesion].jar and
  -  asm-util-[version].jar. As of groovy version 1.0-beta-6, the jars are
  -  groovy-1.0-beta-6.jar, asm-1.4.1.jar and asm-util-1.4.3.jar.
  +  asm-util-[version].jar. As of groovy version 1.0-beta-7, the jars are
  +  groovy-1.0-beta-7.jar, asm-1.4.3.jar and asm-util-1.4.3.jar.
   
   
 http://groovy.codehaus.org/";>http://groovy.codehaus.org/
  
  
  

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