AW: Abusing the BuildListener

2006-07-13 Thread Jan.Materne
>Reading the presetdef manual page, it sounds like it's not 
>what I want because it only sets defaults and not mandated 
>values. I don't want to allow the build.xml to change the settings.
>
>My ant script calls other ant scripts, so would be worried 
>that the presetdef wouldn't survive down into the  call. 
>Of course I'm assuming that I can get the listener into the 
> call in some way
>:)

Did you had a look at ?

Jan

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



DO NOT REPLY [Bug 36513] - Ant not support path including chinese words

2006-07-13 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=36513





--- Additional Comments From [EMAIL PROTECTED]  2006-07-14 00:34 ---
Hi,

actually, you would have to download ant from source and rebuild it yourself.
The Ant 1.7 version is not yet released.

Regards,

Antoine

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

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



bug 40014

2006-07-13 Thread Matt Benson
Hopefully Jesse's looking.  This bug is a side-effect
of his fix for bug 24918; since all forked Java
programs receive stdin whether they want it or not.  I
get the impression that the bug relates to the blocked
read from pumping stdin to the forked process, and
that stdin (I'm running on XP) returns from the read
before filling the buffer whenever an eol is
encountered.  Unfortunately, as I have discovered
documented in many places, stdin apparently never
returns anything but 0 from available(), so we can't
even resort to cheap polling tricks here.  Can anyone
see any possibilities?  Do we have to do some kind of
conditionally-compiled NIO stuff and live with the
problem on 1.2 and 1.3?

-Matt

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

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



Re: Abusing the BuildListener

2006-07-13 Thread Henri Yandell

On 7/13/06, Steve Loughran <[EMAIL PROTECTED]> wrote:

Henri Yandell wrote:
> I suspect this isn't what was intended for the build listener, but
> I've been using it to override the build.xml for  tasks. In
> startTask I ensure that haltonerror and haltonfailure are set to
> false. Next up I want to ensure there is always a  type="xml"/>, but adding a new task in seems a lot more painful than
> simply modifying the existing objects.
>
> Here's a chunk of my code:
>
> UnknownElement proxy = new UnknownElement("formatter");
> proxy.setNamespace("");
> proxy.setQName("formatter");
> proxy.setTaskName("formatter");
> 
proxy.setTaskType("org.apache.tools.ant.taskdefs.optional.junit.FormatterElement");
>
> proxy.setProject(task.getProject());
> proxy.setOwningTarget(task.getOwningTarget());
> RuntimeConfigurable fc = new RuntimeConfigurable( proxy, "formatter");
> fc.setAttribute("type", "xml");
> rc.addChild(fc);   // rc is the RuntimeConfig for the junit task
>
> When I build with a listener that contains this, I get:
>
> Class org.apache.tools.ant.UnknownElement doesn't support the "type"
> attribute.

have you not thought of using  to define a new junit with the
right defaults?


Didn't know it existed :)

Reading the presetdef manual page, it sounds like it's not what I want
because it only sets defaults and not mandated values. I don't want to
allow the build.xml to change the settings.

My ant script calls other ant scripts, so would be worried that the
presetdef wouldn't survive down into the  call. Of course I'm
assuming that I can get the listener into the  call in some way
:)

Hen

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



DO NOT REPLY [Bug 40022] - junitreport task unable to use stylesheets that have an xsl:import tag

2006-07-13 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=40022





--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 15:55 ---
Tested with fresh checkout from svn: it's fixed.
Thank you very much.

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

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



DO NOT REPLY [Bug 40021] - junitreport does not generate html file for format noframes

2006-07-13 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=40021





--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 15:54 ---
Tested with fresh checkout from svn: it's fixed.
Thank you very much.

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

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



RE: Output of CVS update command...

2006-07-13 Thread Shatzer, Larry
I should have also specified this is on windows using:
Concurrent Versions System (CVSNT) 2.5.02 (Servalan) Build 2064
(client/server)

And the server is 1.11.17, and when I run the cvs command by hand, I see the
M's and C's...

-- Larry

> -Original Message-
> From: Shatzer, Larry [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, July 12, 2006 4:42 PM
> To: 'dev@ant.apache.org'
> Subject: Output of CVS update command...
> 
> 
> While running a CVS Update command on a checked out copy 
> where there are
> conflicts and modified files, I was expecting to see the 
> familiar lines:
> 
> C path/to/conflicted.file
> M path/to/modifed.file
> 
> They are not shown. I've tried setting/unsetting the quiet 
> attribute, and
> setting output/error attributes, and checking the files. They 
> appear to be
> swallowed up.
> 
> 
>command="update -d"
> dest="${basedir}/${working.dir}"
>   />
> 
> Is there something I'm missing, or is this a bug/been fixed for 1.7?
> 
> -- Larry

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



DO NOT REPLY [Bug 40038] - Zip Task Problems

2006-07-13 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=40038


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 13:57 ---
Please test again with 1.6.5 (or extract & build the 1.7 stream from SVN) &
re-open with more descriptive information about the problems if you can 
reproduce.

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

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



DO NOT REPLY [Bug 40038] New: - Zip Task Problems

2006-07-13 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=40038

   Summary: Zip Task Problems
   Product: Ant
   Version: 1.5
  Platform: PC
OS/Version: Windows 2000
Status: NEW
  Severity: major
  Priority: P1
 Component: Optional Tasks
AssignedTo: dev@ant.apache.org
ReportedBy: [EMAIL PROTECTED]


I created a Zip file using the Zip Task of ANT 1.5 , But later on when the Zip 
is expanded. It has some changes to it. then I am unable to compile few Java 
Files . Hencle ultimately unablke to generate the SQL Queries which are present 
in those java FIles aand thus unable to crete Databases. Instead I f I use 
WInzip and do the same procedure everything works FIne. So pl. look into this 
matter.

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

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



DO NOT REPLY [Bug 21042] - Setting XSL parameter to input filename when processed whole directory.

2006-07-13 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=21042


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #18598|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 12:35 ---
Created an attachment (id=18599)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18599&action=view)
Combined diff made with Tortoise

Corrected a little bug where the processed file would have been null.

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

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



DO NOT REPLY [Bug 21042] - Setting XSL parameter to input filename when processed whole directory.

2006-07-13 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=21042


[EMAIL PROTECTED] changed:

   What|Removed |Added

  Attachment #18590|0   |1
is obsolete||
  Attachment #18591|0   |1
is obsolete||
  Attachment #18592|0   |1
is obsolete||




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 12:29 ---
Created an attachment (id=18598)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18598&action=view)
Combined diff made with Tortoise

Used trunk as base for changes.

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

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



Re: Abusing the BuildListener

2006-07-13 Thread Steve Loughran

Henri Yandell wrote:

I suspect this isn't what was intended for the build listener, but
I've been using it to override the build.xml for  tasks. In
startTask I ensure that haltonerror and haltonfailure are set to
false. Next up I want to ensure there is always a , but adding a new task in seems a lot more painful than
simply modifying the existing objects.

Here's a chunk of my code:

UnknownElement proxy = new UnknownElement("formatter");
proxy.setNamespace("");
proxy.setQName("formatter");
proxy.setTaskName("formatter");
proxy.setTaskType("org.apache.tools.ant.taskdefs.optional.junit.FormatterElement"); 


proxy.setProject(task.getProject());
proxy.setOwningTarget(task.getOwningTarget());
RuntimeConfigurable fc = new RuntimeConfigurable( proxy, "formatter");
fc.setAttribute("type", "xml");
rc.addChild(fc);   // rc is the RuntimeConfig for the junit task

When I build with a listener that contains this, I get:

Class org.apache.tools.ant.UnknownElement doesn't support the "type" 
attribute.


have you not thought of using  to define a new junit with the 
right defaults?


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



DO NOT REPLY [Bug 32069] - ant.bat corrupts ant exit status on WinXP SP2

2006-07-13 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=32069





--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 11:22 ---
Note that in Ant1.7, we can change ant.bat to go 

exit /b %ANT_EXIT_CODE% 

so exit with a proper value even after running ant_postrc.bat.

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

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



DO NOT REPLY [Bug 35607] - Ant Get task downloads unmodified files when useTimestamp=true

2006-07-13 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=35607


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||FIXED




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

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



svn commit: r421591 - /ant/core/trunk/WHATSNEW

2006-07-13 Thread stevel
Author: stevel
Date: Thu Jul 13 04:19:40 2006
New Revision: 421591

URL: http://svn.apache.org/viewvc?rev=421591&view=rev
Log:
update WHATSNEW with my recent set of changes

Modified:
ant/core/trunk/WHATSNEW

Modified: ant/core/trunk/WHATSNEW
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/WHATSNEW?rev=421591&r1=421590&r2=421591&view=diff
==
--- ant/core/trunk/WHATSNEW (original)
+++ ant/core/trunk/WHATSNEW Thu Jul 13 04:19:40 2006
@@ -91,7 +91,13 @@
 *  used \r (Mac) line endings on OS X, whose proper line separator
   is \n (Unix).  Bugzilla report 39585.
   
-*  now optionally supports the sftp protocol, you may need a newer 
jsch.jar.  Bugzilla Report 39373.
+*  now optionally supports the sftp protocol, you may need a newer 
jsch.jar.
+  Bugzilla Report 39373.
+  
+* Ant launcher program prints errors to stderr, and exits with a -1 exit code
+  value if, for any reason, it cannot actually start Ant proper. This will only
+  affect programs/scripts that called the launcher and which did not want to 
+  receive an error if ant itself would not start
 
 Fixed bugs:
 ---
@@ -242,6 +248,9 @@
 *  setPrefix javadoc claimed null or empty prefix would be
   ignored; instead an error was thrown.  Bugzilla report 39954.
 
+*  would fetch files that were up to date, because it used > in a 
+  remote/local timestamp comparison, not >=. Bugzilla 35607.
+
 Other changes:
 --
 * Took in bugzilla report 39320.
@@ -460,6 +469,16 @@
 
 *  has a jdkversion attribute to pass the desired JDK version down to 
javacc.
   Bugzilla report 38715.
+  
+*  prints passfile info at -verbose level instead of -info. Bugzilla 
+  report 35268
+ 
+* When  can't find the compiler class, it prints out java.home for 
+  immediate diagnostics
+
+* Ant launcher now supports a -main attribute so that you can specify an 
extension
+  class to the built in org.apache.tools.ant.Main class. This class must 
implement
+  the interface AntMain
 
 Changes from Ant 1.6.4 to Ant 1.6.5
 ===



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



DO NOT REPLY [Bug 35268] - Msglevel to high in cvs task

2006-07-13 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=35268


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Target Milestone|--- |1.7




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 11:16 ---
changed in SVN_HEAD.

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

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



svn commit: r421590 - /ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java

2006-07-13 Thread stevel
Author: stevel
Date: Thu Jul 13 04:12:02 2006
New Revision: 421590

URL: http://svn.apache.org/viewvc?rev=421590&view=rev
Log:
moving log of CVS passfile info down to verbose

Modified:
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java?rev=421590&r1=421589&r2=421590&view=diff
==
--- ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java 
(original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/AbstractCvsTask.java 
Thu Jul 13 04:12:02 2006
@@ -293,7 +293,7 @@
 var.setValue(String.valueOf(passFile));
 env.addVariable(var);
 log("Using cvs passfile: " + String.valueOf(passFile),
-Project.MSG_INFO);
+Project.MSG_VERBOSE);
 } else if (!passFile.canRead()) {
 log("cvs passfile: " + String.valueOf(passFile)
 + " ignored as it is not readable",



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



svn commit: r421588 - in /ant/core/trunk/src/main/org/apache/tools/ant: Main.java launch/Launcher.java

2006-07-13 Thread stevel
Author: stevel
Date: Thu Jul 13 04:11:21 2006
New Revision: 421588

URL: http://svn.apache.org/viewvc?rev=421588&view=rev
Log:
This is a little bit of fun; something asked for on the mail list. You can now 
use -main to specify a new entry point for ant, so if you override ant.Main 
with a subclass, you can switch to that.

It has a side effect of making ant a generic launcher of things; anything that 
implements AntMain.startAnt.

Modified:
ant/core/trunk/src/main/org/apache/tools/ant/Main.java
ant/core/trunk/src/main/org/apache/tools/ant/launch/Launcher.java

Modified: ant/core/trunk/src/main/org/apache/tools/ant/Main.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/Main.java?rev=421588&r1=421587&r2=421588&view=diff
==
--- ant/core/trunk/src/main/org/apache/tools/ant/Main.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/Main.java Thu Jul 13 04:11:21 
2006
@@ -26,6 +26,8 @@
 import java.util.Enumeration;
 import java.util.Properties;
 import java.util.Vector;
+import java.util.HashMap;
+
 import org.apache.tools.ant.input.DefaultInputHandler;
 import org.apache.tools.ant.input.InputHandler;
 import org.apache.tools.ant.launch.AntMain;
@@ -271,7 +273,7 @@
 
 /**
  * Process command line arguments.
- * When ant is started from Launcher, the -lib argument does not get
+ * When ant is started from Launcher, launcher-only arguments doe not get
  * passed through to this routine.
  *
  * @param args the command line arguments.
@@ -282,6 +284,15 @@
 String searchForThis = null;
 PrintStream logTo = null;
 
+//this is hte list of lu
+HashMap launchCommands =new HashMap();
+launchCommands.put("-lib","");
+launchCommands.put("-cp", "");
+launchCommands.put("-noclasspath", "");
+launchCommands.put("--noclasspath", "");
+launchCommands.put("-nouserlib", "");
+launchCommands.put("--nouserlib", "");
+launchCommands.put("-main", "");
 // cycle through given args
 
 for (int i = 0; i < args.length; i++) {
@@ -431,7 +442,7 @@
 throw new BuildException(
 "Niceness value is out of the range 1-10");
 }
-} else if (arg.equals("-cp") || arg.equals("-lib")) {
+} else if (launchCommands.get(arg)!=null) {
 //catch script/ant mismatch with a meaningful message
 //we could ignore it, but there are likely to be other
 //version problems, so we stamp down on the configuration now
@@ -445,7 +456,7 @@
 } else if (arg.startsWith("-")) {
 // we don't have any more args to recognize!
 String msg = "Unknown argument: " + arg;
-System.out.println(msg);
+System.err.println(msg);
 printUsage();
 throw new BuildException("");
 } else {
@@ -835,7 +846,9 @@
 msg.append("  -nouserlib Run ant without using the jar 
files from" + lSep
+ " ${user.home}/.ant/lib" + lSep);
 msg.append("  -noclasspath   Run ant without using CLASSPATH" 
+ lSep);
-msg.append("  -noproxy   Java 1.5 only: do not use the OS 
proxies");
+msg.append("  -noproxy   Java 1.5 only: do not use the OS 
proxies" +
+lSep);
+msg.append("  -main   override Ant's normal entry 
point");
 System.out.println(msg.toString());
 }
 

Modified: ant/core/trunk/src/main/org/apache/tools/ant/launch/Launcher.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/launch/Launcher.java?rev=421588&r1=421587&r2=421588&view=diff
==
--- ant/core/trunk/src/main/org/apache/tools/ant/launch/Launcher.java (original)
+++ ant/core/trunk/src/main/org/apache/tools/ant/launch/Launcher.java Thu Jul 
13 04:11:21 2006
@@ -95,16 +95,24 @@
  * @param  args commandline arguments
  */
 public static void main(String[] args) {
+int exitCode;
 try {
 Launcher launcher = new Launcher();
-launcher.run(args);
+exitCode=launcher.run(args);
 } catch (LaunchException e) {
+exitCode=-1;
 System.err.println(e.getMessage());
 } catch (Throwable t) {
-t.printStackTrace();
+exitCode=-1;
+t.printStackTrace(System.err);
+}
+if(exitCode!=0) {
+System.exit(exitCode);
 }
 }
 
+
+
 /**
  * Add a CLASSPATH or -lib to lib path urls.
  *
@@ -138,17 +146,19 @@
  * Run the launcher to launch Ant.
  *
  * @param args the command line arguments
- *
+

svn commit: r421587 - /ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/BaseSelector.java

2006-07-13 Thread stevel
Author: stevel
Date: Thu Jul 13 04:08:32 2006
New Revision: 421587

URL: http://svn.apache.org/viewvc?rev=421587&view=rev
Log:
forward verify operation to references

Modified:

ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/BaseSelector.java

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/BaseSelector.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/BaseSelector.java?rev=421587&r1=421586&r2=421587&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/BaseSelector.java 
(original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/types/selectors/BaseSelector.java 
Thu Jul 13 04:08:32 2006
@@ -71,6 +71,9 @@
  * setError() as necessary.
  */
 public void verifySettings() {
+if(isReference()) {
+((BaseSelector)getCheckedRef()).verifySettings();
+}
 }
 
 



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



svn commit: r421586 - in /ant/core/trunk/docs/manual: install.html platform.html running.html

2006-07-13 Thread stevel
Author: stevel
Date: Thu Jul 13 04:07:58 2006
New Revision: 421586

URL: http://svn.apache.org/viewvc?rev=421586&view=rev
Log:
oh, this feels so good. Removing Win98 as a supported platform. Also adding an 
example from a bugrep on how to run ant from ant itself

Modified:
ant/core/trunk/docs/manual/install.html
ant/core/trunk/docs/manual/platform.html
ant/core/trunk/docs/manual/running.html

Modified: ant/core/trunk/docs/manual/install.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/install.html?rev=421586&r1=421585&r2=421586&view=diff
==
--- ant/core/trunk/docs/manual/install.html (original)
+++ ant/core/trunk/docs/manual/install.html Thu Jul 13 04:07:58 2006
@@ -75,10 +75,10 @@
 System Requirements
 Ant has been used successfully on many platforms, including Linux,
 commercial flavours of Unix such as Solaris and HP-UX,
-Windows 9x and NT, OS/2 Warp, Novell Netware 6, OpenVMS and MacOS X.
+Windows NT-platforms, OS/2 Warp, Novell Netware 6, OpenVMS and MacOS X.
 The platforms used most for development are, in no particular order,
 Linux, MacOS X, Windows XP and Unix; these are therefore that platforms
-that tend to work best.
+that tend to work best. As of Ant1.7, Windows 9x is no longer supported.
 
 To build and use Ant, you must have a JAXP-compliant XML parser installed and
 available on your classpath, such as Xerces.

Modified: ant/core/trunk/docs/manual/platform.html
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/docs/manual/platform.html?rev=421586&r1=421585&r2=421586&view=diff
==
--- ant/core/trunk/docs/manual/platform.html (original)
+++ ant/core/trunk/docs/manual/platform.html Thu Jul 13 04:07:58 2006
@@ -55,38 +55,72 @@
 
  Ant is not symbolic link aware in moves, deletes and when recursing down 
a tree
 of directories to build up a list of files. Unexpected things can happen.
-
+
  Linux on IA-64: apparently you need a larger heap than the default
 one (64M) to compile big projects. If you get out of heap
 errors, either increase the heap or use a forking javac. Better yet,
 use jikes for extra compilation speed.   
-
+
 
 
 
+
 Microsoft Windows
+
+Windows 9x (win95, win98, win98SE and winME) are not supported in Ant1.7,
+
+
+
+The Ant team has retired support for these products because they are outdated 
and
+can expose customers to security risks. We recommend that customers who are
+still running Windows 98 or Windows Me upgrade to a newer, more secure 
+operating system, as soon as possible.
+
+
+Customers who upgrade to Linux report improved security, richer
+functionality, and increased productivity. 
+
+Microsoft Windows 2K, XP and Server 2K03 
 
+
 Windows 9x (win95, win98, win98SE and winME) has a batch file system which
 does not work fully with long file names, so we recommend that ant and the JDK
 are installed into directories without spaces, and with 8.3 filenames. 
 The Perl and Python launcher scripts do not suffer from this limitation.
-
+
 
 All versions of windows are usually case insensitive, although mounted 
 file systems (Unix drives, Clearcase views) can be case sensitive underneath,
-confusing patternsets. 
-
+confusing patternsets.
+
 
 Ant can often not delete a directory which is open in an Explorer window. 
 There is nothing we can do about this short of spawning a program to kill
 the shell before deleting directories.
 Nor can files that are in use be overwritten.
+
+
+Finally, if any Ant task fails with an IOError=2, it means that whatever
+native program Ant is trying to run, it is not on the path.
+
+
+Microsoft Windows Vista
+
+There are reports of problems with Windows Vista security bringing up
+dialog boxes asking if the user wants to run an untrusted executable
+during an ant run, such as when the  task runs the 
jarsigner.exe
+program. This is beyond Ant's control, and stems from the OS trying to 
provide
+some illusion of security by being reluctant to run unsigned native 
executables.
+The latest Java versions appear to resolve this problem by having signed
+binaries. 
+
+
 
 Cygwin
 
 Cygwin is not an operating system; rather it is an application suite 
-running under Windows and providing some UNIX like functionality. AFAIK, Sun 
did 
-not create any specific Java Development Kit or Java Runtime Environment for 
+running under Windows and providing some UNIX like functionality. Sun has 
+not created any specific Java Development Kit or Java Runtime Environment for 
 cygwin. See this link : 
 http://www.inonit.com/cygwin/faq/";>http://www.inonit.com/cygwin/faq/ 
. 
 Only Windows path 
@@ -152,6 +186,6 @@
 tested on every particular platform. Contributions in this area are welcome.
 
 
-Copyright © 2002-2005 The Apache Software Foundation. 
All rights
+Copyright © 2002-2006 The Apache Software Foundation. 
All rights
 Rese

DO NOT REPLY [Bug 28642] - Problems running task javac with Ant1.6.1 and Jdk 1.4.2_04

2006-07-13 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=28642


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED
   Target Milestone|--- |1.7




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 11:03 ---
I've just checked in one small change to the Ant1.7 codebase; when the 'couldnt
load' message crops up, ant now prints out the value of java.home. This will
show when something has gone wrong with ant's binding to the outside world.

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

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



svn commit: r421585 - in /ant/core/trunk/src/main/org/apache/tools/ant: taskdefs/compilers/CompilerAdapterFactory.java taskdefs/compilers/Javac12.java util/JavaEnvUtils.java

2006-07-13 Thread stevel
Author: stevel
Date: Thu Jul 13 04:03:32 2006
New Revision: 421585

URL: http://svn.apache.org/viewvc?rev=421585&view=rev
Log:
Add extra diags on the error message by printing out java.home

Modified:

ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java
ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java?rev=421585&r1=421584&r2=421585&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
 (original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/CompilerAdapterFactory.java
 Thu Jul 13 04:03:32 2006
@@ -110,7 +110,10 @@
  + " is not on the "
  + "classpath.\n"
  + "Perhaps JAVA_HOME does not"
- + " point to the JDK");
+ + " point to the JDK.\n"
++ "It is currently set to \""
++ JavaEnvUtils.getJavaHome()
++ "\"");
 }
 }
 }

Modified: 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java?rev=421585&r1=421584&r2=421585&view=diff
==
--- 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java 
(original)
+++ 
ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/compilers/Javac12.java 
Thu Jul 13 04:03:32 2006
@@ -23,6 +23,8 @@
 import java.lang.reflect.Method;
 import org.apache.tools.ant.BuildException;
 import org.apache.tools.ant.Project;
+import org.apache.tools.ant.util.JavaEnvUtils;
+import org.apache.tools.ant.util.FileUtils;
 import org.apache.tools.ant.taskdefs.LogOutputStream;
 import org.apache.tools.ant.types.Commandline;
 
@@ -34,6 +36,7 @@
  * @since Ant 1.3
  */
 public class Javac12 extends DefaultCompilerAdapter {
+protected static final String CLASSIC_COMPILER_CLASSNAME = 
"sun.tools.javac.Main";
 
 /**
  * Run the compilation.
@@ -48,7 +51,7 @@
 try {
 // Create an instance of the compiler, redirecting output to
 // the project log
-Class c = Class.forName("sun.tools.javac.Main");
+Class c = Class.forName(CLASSIC_COMPILER_CLASSNAME);
 Constructor cons =
 c.getConstructor(new Class[] {OutputStream.class,
   String.class});
@@ -63,11 +66,15 @@
 new Object[] {cmd.getArguments()});
 return ok.booleanValue();
 } catch (ClassNotFoundException ex) {
-throw new BuildException("Cannot use classic compiler, as it is "
- + "not available.  A common solution is "
- + "to set the environment variable"
- + " JAVA_HOME to your jdk directory.",
- location);
+throw new BuildException("Cannot use classic compiler , as it is "
++ "not available. \n"
++ " A common solution is "
++ "to set the environment variable"
++ " JAVA_HOME to your jdk directory.\n"
++ "It is currently set to \""
++ JavaEnvUtils.getJavaHome()
++ "\"",
+location);
 } catch (Exception ex) {
 if (ex instanceof BuildException) {
 throw (BuildException) ex;
@@ -76,12 +83,7 @@
  ex, location);
 }
 } finally {
-try {
-logstr.close();
-} catch (IOException e) {
-// plain impossible
-throw new BuildException(e);
-}
+FileUtils.close(logstr);
 }
 }
 }

Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java
URL: 
http://svn.apache.org/viewvc/ant/core/trunk/src/main/org/apache/tools/ant/util/JavaEnvUtils.java?rev=421585&r1=421584

DO NOT REPLY [Bug 28642] - Problems running task javac with Ant1.6.1 and Jdk 1.4.2_04

2006-07-13 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=28642


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 10:21 ---
james, do you still have this problem? It looks like a configuration one. Please
run ant -diagnostics to see what JDK you have JAVA_HOME bound do, and that it is
not mapped to a JRE instead.

closing as worksforme.

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

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



DO NOT REPLY [Bug 28402] - ant.bat does not call antrc_pre.bat

2006-07-13 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=28402


[EMAIL PROTECTED] changed:

   What|Removed |Added

   Target Milestone|--- |1.7




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 10:20 ---
now that we have just voted to abandon Win98, we can look at this

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

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



DO NOT REPLY [Bug 26690] - ZoneInfoMappings

2006-07-13 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=26690


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||WORKSFORME




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 10:18 ---
Having searched for this message, the underlying cause appears to be that the
the JDK is missing some files. If you copy the file from the JRE into the place
it is being looked for, it will go away. 

see also
http://dev.eclipse.org/newslists/news.eclipse.webtools/msg08292.html
http://mail-archives.apache.org/mod_mbox/jakarta-commons-user/200404.mbox/[EMAIL
 PROTECTED]

it could be some other cause like the PATH is at odds with JDK home.

I'm tempted to file this as worksforme, because, of course, I dont see the
message. I dont even know which part of the JRE is looking for the file, though
it sounds like a bit of java IO. As this is a custom task, we will push the
responsibility of tracking it down back to you. sorry.

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

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



DO NOT REPLY [Bug 21042] - Setting XSL parameter to input filename when processed whole directory.

2006-07-13 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=21042





--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 10:12 ---
The the relative path will contain only '/' since Windows accepts it, too.
Additionally it is makes the XSL portable because the values returned will be
the same regardless of the OS.

Some example values:

baseDir=C:\a\b\

C:\a\b\x.xml => x.xml
C:\a\x.xml   => ../x.xml
Z:\x.xml => Z:\x.xml

--

baseDir=/a/b

/a/b/x.xml => x.xml
/a/x.xml   => ../x.xml

--

I'll try to create patches with Tortoise.



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

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



DO NOT REPLY [Bug 34841] - CVS Task don't work on Windows based CVS

2006-07-13 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=34841


[EMAIL PROTECTED] changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||INVALID




--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 10:11 ---
I dont see this as an Ant problem; it looks to me like CVS NT configuration. 

See http://www.cvsnt.org/pipermail/cvsnt/2004-May/012591.html
and http://www.pushok.com/help/cvsscc/index.php?redirect=inst_plugin_win.htm
and http://www.cvsnt.org/wiki/InstallationTips
Filing as invalid. it would fail on the command line, too.

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

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



DO NOT REPLY [Bug 21042] - Setting XSL parameter to input filename when processed whole directory.

2006-07-13 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=21042





--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 09:55 ---
Created an attachment (id=18596)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=18596&action=view)
TestCase

Patch created with "TourtoiseSVN | Create Patch".
(Because TSVN has overseen the build.xml I created a patch file for that
directly and merged it into the global file manually).

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

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



DO NOT REPLY [Bug 21042] - Setting XSL parameter to input filename when processed whole directory.

2006-07-13 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=21042





--- Additional Comments From [EMAIL PROTECTED]  2006-07-13 09:53 ---
I tried - but couldnt apply the patches. Could you use the standard diff tool
(svn diff)? 

I prepared a testcase for checking the filenames. Unsure how the behaviour
should be with directories ...
  dir/four.xml  -->  four.xml   dir/four.xml ? (windows/unix?)   "dir" + 
"four.xml"?


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

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



[EMAIL PROTECTED]: Project svn-antlib-test (in module ant-antlibs) failed

2006-07-13 Thread Gump Integration Build
To whom it may engage...

This is an automated request, but not an unsolicited one. For 
more information please visit http://gump.apache.org/nagged.html, 
and/or contact the folk at [EMAIL PROTECTED]

Project svn-antlib-test has an issue affecting its community integration.
This issue affects 1 projects,
 and has been outstanding for 17 runs.
The current state of this project is 'Failed', with reason 'Build Failed'.
For reference only, the following projects are affected by this:
- svn-antlib-test :  Task and Type Libraries for Apache Ant


Full details are available at:
http://vmgump.apache.org/gump/public/ant-antlibs/svn-antlib-test/index.html

That said, some information snippets are provided here.

The following annotations (debug/informational/warning/error messages) were 
provided:
 -DEBUG- Dependency on ant-testutil exists, no need to add for property 
ant-testutil.jar.
 -INFO- Failed with reason build failed



The following work was performed:
http://vmgump.apache.org/gump/public/ant-antlibs/svn-antlib-test/gump_work/build_ant-antlibs_svn-antlib-test.html
Work Name: build_ant-antlibs_svn-antlib-test (Type: Build)
Work ended in a state of : Failed
Elapsed: 2 mins 39 secs
Command Line: java -Djava.awt.headless=true 
-Xbootclasspath/p:/usr/local/gump/public/workspace/xml-xerces2/build/xercesImpl.jar:/usr/local/gump/public/workspace/xml-commons/java/external/build/xml-apis.jar
 org.apache.tools.ant.Main -Dgump.merge=/x1/gump/public/gump/work/merge.xml 
-Dbuild.sysclasspath=only 
-Dant-testutil.jar=/usr/local/gump/public/workspace/ant/build/lib/ant-testutil.jar
 test 
[Working Directory: /usr/local/gump/public/workspace/ant-antlibs/svn]
CLASSPATH: 
/opt/jdk1.5/lib/tools.jar:/usr/local/gump/public/workspace/ant-antlibs/svn/build/test-classes:/usr/local/gump/public/workspace/ant/dist/lib/ant-jmf.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-swing.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-apache-resolver.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-trax.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-junit.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-launcher.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant-nodeps.jar:/usr/local/gump/public/workspace/ant/dist/lib/ant.jar:/usr/local/gump/public/workspace/ant/build/lib/ant-testutil.jar:/usr/local/gump/public/workspace/dist/junit/junit.jar:/usr/local/gump/public/workspace/ant-antlibs/svn/build/ant-svn-13072006.jar
-
[junit] at java.lang.reflect.Method.invoke(Method.java:585)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
[junit] at junit.framework.TestResult.run(TestResult.java:113)
[junit] at junit.framework.TestCase.run(TestCase.java:120)
[junit] at junit.framework.TestSuite.runTest(TestSuite.java:228)
[junit] at junit.framework.TestSuite.run(TestSuite.java:223)
[junit] at 
org.junit.internal.runners.OldTestClassRunner.run(OldTestClassRunner.java:35)
[junit] at 
junit.framework.JUnit4TestAdapter.run(JUnit4TestAdapter.java:32)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:361)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:809)
[junit] at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:648)

[junit] Testcase: testDiffWithImplicitTrunk took 51.622 sec
[junit] FAILED
[junit] null
[junit] junit.framework.AssertionFailedError: null
[junit] at junit.framework.Assert.fail(Assert.java:47)
[junit] at junit.framework.Assert.assertTrue(Assert.java:20)
[junit] at junit.framework.Assert.assertTrue(Assert.java:27)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.assertModified(SvnTagDiffTest.java:109)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.assertDiffWithTrunk(SvnTagDiffTest.java:62)
[junit] at 
org.apache.ant.svn.SvnTagDiffTest.testDiffWithImplicitTrunk(SvnTagDiffTest.java:56)
[junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[junit] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[junit] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[junit] at java.lang.reflect.Method.invoke(Method.java:585)
[junit] at junit.framework.TestCase.runTest(TestCase.java:164)
[junit] at junit.framework.TestCase.runBare(TestCase.java:130)
[junit] at junit.framework.TestResult$1.protect(TestResult.java:110)
[junit] at junit.framework.TestResult.runProtected(TestResult.java:128)
[jun