DO NOT REPLY [Bug 26232] New: - Command line argument that lists all targets in a build file.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26232. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26232 Command line argument that lists all targets in a build file. Summary: Command line argument that lists all targets in a build file. Product: Ant Version: 1.5.4 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Other AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It might be useful if there was a way to list all the targets in a given build.xml file. Example: ant -printtargets Another more useful way could be an antdoc tool just like javadoc. antdoc could document each target in a buildfile, and what the target does. Regards, Ajay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26232] - Command line argument that lists all targets in a build file.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26232. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26232 Command line argument that lists all targets in a build file. [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 06:51 --- What´s wrong with ant -p ?? Or use AntDoc http://ant.apache.org/external.html#antdoc http://antdoc.free.fr/ - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26232] - Command line argument that lists all targets in a build file.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26232. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26232 Command line argument that lists all targets in a build file. [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 07:01 --- Dear Jan, Oops, I wasnt aware of the -projecthelp option. Thanks for pointing that out to me. I am closing this bug. Ajay - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Hi
-- Virus Warning Message (on the network) Found virus WORM_BAGLE.A in file mrlnxklsgva.exe The file mrlnxklsgva.exe is moved to /var/log/virus/virSXBcfMHKa. This is a machine-generated message, please do not reply via email. If you have questions, please contact the Lucent Help Desk at +1 888 300 0770. - Test =) dbjottlojeoroadow -- Test, yep. -- Virus Warning Message (on the network) mrlnxklsgva.exe is removed from here because it contains a virus. - - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs MacroDefTest.java
peterreilly2004/01/19 01:51:02 Modified:src/main/org/apache/tools/ant/taskdefs MacroDef.java MacroInstance.java docs/manual/CoreTasks macrodef.html src/etc/testcases/taskdefs macrodef.xml src/testcases/org/apache/tools/ant/taskdefs MacroDefTest.java Log: macrodef element names are case insensentive due to use of DynamicConfigurator PR: 26225 Reported by: John Sichi Revision ChangesPath 1.18 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/MacroDef.java Index: MacroDef.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/MacroDef.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- MacroDef.java 12 Jan 2004 08:01:41 - 1.17 +++ MacroDef.java 19 Jan 2004 09:51:01 - 1.18 @@ -395,7 +395,7 @@ throw new BuildException( Illegal name [ + name + ] for attribute); } -this.name = name; +this.name = name.toLowerCase(Locale.US); } /** 1.15 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java Index: MacroInstance.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -r1.14 -r1.15 --- MacroInstance.java22 Dec 2003 09:46:23 - 1.14 +++ MacroInstance.java19 Jan 2004 09:51:01 - 1.15 @@ -277,7 +277,7 @@ while (e.hasMoreElements()) { RuntimeConfigurable r = (RuntimeConfigurable) e.nextElement(); UnknownElement unknownElement = (UnknownElement) r.getProxy(); -String tag = unknownElement.getTaskType(); +String tag = unknownElement.getTaskType().toLowerCase(Locale.US); MacroDef.TemplateElement templateElement = (MacroDef.TemplateElement) getNsElements().get(tag); if (templateElement == null) { 1.10 +3 -0 ant/docs/manual/CoreTasks/macrodef.html Index: macrodef.html === RCS file: /home/cvs/ant/docs/manual/CoreTasks/macrodef.html,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- macrodef.html 12 Jan 2004 08:01:41 - 1.9 +++ macrodef.html 19 Jan 2004 09:51:01 - 1.10 @@ -98,6 +98,9 @@ The contents of the nested elements of the task instance are placed in the templated task at the tag name. /p +p + The case of the element name is ignored. +/p h3Parameters/h3 table border=1 cellpadding=2 cellspacing=0 tr 1.7 +15 -0 ant/src/etc/testcases/taskdefs/macrodef.xml Index: macrodef.xml === RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/macrodef.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- macrodef.xml 22 Dec 2003 09:46:23 - 1.6 +++ macrodef.xml 19 Jan 2004 09:51:02 - 1.7 @@ -86,4 +86,19 @@ ignore myattribute=a/ ignore Myattribute=b/ /target + + target name=ignore-element-case +macrodef name=ignore + element name=MyElement/ + sequential +myElement/ +MyElEmEnT/ + /sequential +/macrodef +ignore + MYELEMENT +echonested element/echo + /MYELEMENT +/ignore + /target /project 1.7 +6 -0 ant/src/testcases/org/apache/tools/ant/taskdefs/MacroDefTest.java Index: MacroDefTest.java === RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/MacroDefTest.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- MacroDefTest.java 22 Dec 2003 09:46:23 - 1.6 +++ MacroDefTest.java 19 Jan 2004 09:51:02 - 1.7 @@ -109,5 +109,11 @@ ignorecase, a is ab is b); } + +public void testIgnoreElementCase() { +expectLog( +ignore-element-case, +nested elementnested element); +} } - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs MacroDefTest.java
peterreilly2004/01/19 01:53:29 Modified:src/main/org/apache/tools/ant/taskdefs MacroInstance.java src/testcases/org/apache/tools/ant/taskdefs MacroDefTest.java Log: Fix date Revision ChangesPath 1.16 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java Index: MacroInstance.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java,v retrieving revision 1.15 retrieving revision 1.16 diff -u -r1.15 -r1.16 --- MacroInstance.java19 Jan 2004 09:51:01 - 1.15 +++ MacroInstance.java19 Jan 2004 09:53:29 - 1.16 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2003 The Apache Software Foundation. All rights + * Copyright (c) 2003-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without 1.8 +1 -1 ant/src/testcases/org/apache/tools/ant/taskdefs/MacroDefTest.java Index: MacroDefTest.java === RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/MacroDefTest.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- MacroDefTest.java 19 Jan 2004 09:51:02 - 1.7 +++ MacroDefTest.java 19 Jan 2004 09:53:29 - 1.8 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2003 The Apache Software Foundation. All rights + * Copyright (c) 2003-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26225] - mixed case macro elements don't work
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26225. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26225 mixed case macro elements don't work [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |1.6.1 --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 09:55 --- Thanks for the report. Changed the code to ignore case for macrodef elements. This should be ready for ant 1.6.1 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs MacroDefTest.java
peterreilly2004/01/19 04:11:50 Modified:src/main/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH MacroDef.java MacroInstance.java docs/manual/CoreTasks Tag: ANT_16_BRANCH macrodef.html src/etc/testcases/taskdefs Tag: ANT_16_BRANCH macrodef.xml src/testcases/org/apache/tools/ant/taskdefs Tag: ANT_16_BRANCH MacroDefTest.java Log: Sync with HEAD Revision ChangesPath No revision No revision 1.7.2.11 +1 -1 ant/src/main/org/apache/tools/ant/taskdefs/MacroDef.java Index: MacroDef.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/MacroDef.java,v retrieving revision 1.7.2.10 retrieving revision 1.7.2.11 diff -u -r1.7.2.10 -r1.7.2.11 --- MacroDef.java 12 Jan 2004 08:17:28 - 1.7.2.10 +++ MacroDef.java 19 Jan 2004 12:11:49 - 1.7.2.11 @@ -395,7 +395,7 @@ throw new BuildException( Illegal name [ + name + ] for attribute); } -this.name = name; +this.name = name.toLowerCase(Locale.US); } /** 1.5.2.10 +2 -2 ant/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java Index: MacroInstance.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/MacroInstance.java,v retrieving revision 1.5.2.9 retrieving revision 1.5.2.10 diff -u -r1.5.2.9 -r1.5.2.10 --- MacroInstance.java22 Dec 2003 10:08:58 - 1.5.2.9 +++ MacroInstance.java19 Jan 2004 12:11:49 - 1.5.2.10 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2003 The Apache Software Foundation. All rights + * Copyright (c) 2003-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -277,7 +277,7 @@ while (e.hasMoreElements()) { RuntimeConfigurable r = (RuntimeConfigurable) e.nextElement(); UnknownElement unknownElement = (UnknownElement) r.getProxy(); -String tag = unknownElement.getTaskType(); +String tag = unknownElement.getTaskType().toLowerCase(Locale.US); MacroDef.TemplateElement templateElement = (MacroDef.TemplateElement) getNsElements().get(tag); if (templateElement == null) { No revision No revision 1.2.2.9 +3 -0 ant/docs/manual/CoreTasks/macrodef.html Index: macrodef.html === RCS file: /home/cvs/ant/docs/manual/CoreTasks/macrodef.html,v retrieving revision 1.2.2.8 retrieving revision 1.2.2.9 diff -u -r1.2.2.8 -r1.2.2.9 --- macrodef.html 12 Jan 2004 08:17:28 - 1.2.2.8 +++ macrodef.html 19 Jan 2004 12:11:49 - 1.2.2.9 @@ -99,6 +99,9 @@ The contents of the nested elements of the task instance are placed in the templated task at the tag name. /p +p + The case of the element name is ignored. +/p h3Parameters/h3 table border=1 cellpadding=2 cellspacing=0 tr No revision No revision 1.2.2.5 +15 -0 ant/src/etc/testcases/taskdefs/macrodef.xml Index: macrodef.xml === RCS file: /home/cvs/ant/src/etc/testcases/taskdefs/macrodef.xml,v retrieving revision 1.2.2.4 retrieving revision 1.2.2.5 diff -u -r1.2.2.4 -r1.2.2.5 --- macrodef.xml 22 Dec 2003 10:08:58 - 1.2.2.4 +++ macrodef.xml 19 Jan 2004 12:11:49 - 1.2.2.5 @@ -86,4 +86,19 @@ ignore myattribute=a/ ignore Myattribute=b/ /target + + target name=ignore-element-case +macrodef name=ignore + element name=MyElement/ + sequential +myElement/ +MyElEmEnT/ + /sequential +/macrodef +ignore + MYELEMENT +echonested element/echo + /MYELEMENT +/ignore + /target /project No revision No revision 1.2.2.5 +7 -1 ant/src/testcases/org/apache/tools/ant/taskdefs/MacroDefTest.java Index: MacroDefTest.java === RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/MacroDefTest.java,v retrieving revision 1.2.2.4 retrieving revision 1.2.2.5 diff -u -r1.2.2.4 -r1.2.2.5 --- MacroDefTest.java 22 Dec 2003 10:08:58 - 1.2.2.4 +++ MacroDefTest.java 19 Jan 2004 12:11:50 -
DO NOT REPLY [Bug 19220] - [PATCH] add nested conditions to fail
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19220. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19220 [PATCH] add nested conditions to fail --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 12:23 --- What is wrong with saying: if and available file=myLib1.jar/ available file=myLib2.jar/ ... /and else fail../fail /else /if Moreover now in ANT 1.6 you can define your own macrodef to do what you want: macrodef name=failunless element name=conditions/ sequential if and conditions/ /and else fail../fail /else /if /sequential /macrodef And you can use it as: failunless conditions available file=myLib1.jar/ available file=myLib2.jar/ ... /conditions /failunless Wasn't that what you wanted? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New Launcher and JPackage RPMs
From: Peter Reilly [mailto:[EMAIL PROTECTED] No, the optimization is that if the typedef/ does not define a classpath, a cached classloader is used. This cached classloader gets set once (the first call). Jose's more general caching solution souds more promising. Peter, I could not work on this during the weekend, but will try to post it tonight. Some additional questions I have (for improvements): 1) It seems that we want a static cache, instead of per project. I can do this, but I am a little concern with IDEs keeping classes longer than we want. An alternative is to pass the parent cache to antcall/ subproject (or a clone of it). Just like we do with some other system-like properties. Suggestions. 2) Looking at the code for createClassLoader(Path), as I mentioned before, we never seemto pass getCoreLoader() as the parent of the classloaders being created, if we were, we would be reusing the parent all the time and maybe gaining some savings. Is this kind of a very scarry change to do? Some of the complaints about the bootclassloader being used, may be fixed by doing such a change. 3) Since we do not need to support JDK1.1 anymore, can we get rid of the 1.1 specific reflexion magic in createClassLoader() and use an AntClassLoader2 directly? Opinions? I think I can incorporate some of your input in this regard quite easily. So let me know what you think is best. Jose Alberto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Launcher and JPackage RPMs
First, I should say that classloader issues makes my head hurt.! Jose Alberto Fernandez wrote: From: Peter Reilly [mailto:[EMAIL PROTECTED] No, the optimization is that if the typedef/ does not define a classpath, a cached classloader is used. This cached classloader gets set once (the first call). Jose's more general caching solution souds more promising. Peter, I could not work on this during the weekend, but will try to post it tonight. Some additional questions I have (for improvements): 1) It seems that we want a static cache, instead of per project. I can do this, but I am a little concern with IDEs keeping classes longer than we want. An alternative is to pass the parent cache to antcall/ subproject (or a clone of it). Just like we do with some other system-like properties. Suggestions. This (use of static) is the main reason that I was worried about my patch to antclassloader2. The cache could be copied by ComponentHelper#initSubProject() as this method gets called for each subproject. 2) Looking at the code for createClassLoader(Path), as I mentioned before, we never seemto pass getCoreLoader() as the parent of the classloaders being created, if we were, we would be reusing the parent all the time and maybe gaining some savings. Is this kind of a very scarry change to do? Some of the complaints about the bootclassloader being used, may be fixed by doing such a change. I think that the code for getCoreLoader() and the new 1.6 classloader code were two separate code paths that did not complete for 1.6. 3) Since we do not need to support JDK1.1 anymore, can we get rid of the 1.1 specific reflexion magic in createClassLoader() and use an AntClassLoader2 directly? Opinions? This makes sense. Peter I think I can incorporate some of your input in this regard quite easily. So let me know what you think is best. Jose Alberto - 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 25345] - jspc tag broken with new version of jasper
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25345. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25345 jspc tag broken with new version of jasper [EMAIL PROTECTED] changed: What|Removed |Added Target Milestone|--- |1.6.1 --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 13:33 --- Filed a bugrep w/ tomcat pointing out the regression, we can fix this in ant1.6.1 but can do nothing for versions out there already (for obvious reasons). A fix in Japser would be preferable. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: New Launcher and JPackage RPMs
I think that the code for getCoreLoader() and the new 1.6 classloader code were two separate code paths that did not complete for 1.6. the CoreLoader is an older attempt to setup Core loaders and was never really progressed. It is pure legacy and is not effectively used. It predates 1.4, I think. Conor - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: New Launcher and JPackage RPMs
From: Conor MacNeill [mailto:[EMAIL PROTECTED] I think that the code for getCoreLoader() and the new 1.6 classloader code were two separate code paths that did not complete for 1.6. the CoreLoader is an older attempt to setup Core loaders and was never really progressed. It is pure legacy and is not effectively used. It predates 1.4, I think. I see, maybe we should try to get rid of it. BTW there are a couple of tasks that actually use it (and construct their own classloader with it as the parent). We may need to take a look at this issue. The symptom of code using the bootclassloader is the result of AntClassLoader using AntClassLoader.class.getClassLoader() as the parent instead of using getProject().getCoreLoader() or something of to the same effect. We are assuming that whichever classloader loaded AntClassLoader has access to all the ANT core, and that may not be always the case, mostly when in an IDE environement. Jose Alberto - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 19220] - [PATCH] add nested conditions to fail
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19220. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19220 [PATCH] add nested conditions to fail --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 15:44 --- Technically you can get the effect of this patch without using ant-contrib at all--by using a condition followed by a fail if/unless--it's just more cumbersome. Therefore the enhancement label. It just struck me that such a patch would make conditional failure a little more straightforward, while satisfying the original request of this bug. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26242] - Changes in jasper command line break ant's jspc task
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26242. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26242 Changes in jasper command line break ant's jspc task --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 16:03 --- Remy, It is not so much that we document the Jasper task, but that we ship with our own task which is meant to support different back ends: http://ant.apache.org/manual/OptionalTasks/jspc.html In theory that is, in practise we have left WebLogic alone until someone was prepared to write the adapter, so instead it supports various Tomcat 4.x releases, handling name mapping appropriately. Given it is therefore purely Jasper-centric (as far as we know), there is a lot to be said for killing the task and saying 'use the Tomcat supplied one'; I'd be happy with that as it eliminates all version issues and makes bug hunting easier. This is something we can discuss for the 1.7 release. But in the meantime, there are people out there using the Ant project's jasper adapter, and that one builds a java command with the -vN option, where N is a verbosity metric. If that is all that has changed, can we please, please, please have it back :) BTW, what other changes have there been that would break stuff? Just so we know what to expect in bugreps? - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26253] New: - [PATCH] Extending ClearCase Tasks
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253 [PATCH] Extending ClearCase Tasks Summary: [PATCH] Extending ClearCase Tasks Product: Ant Version: 1.6.0 Platform: Other OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] - Added an extra option to 'failonerr' to each ClearCase task/command. - Extended the functionality of cccheckout. It can check (notco) to see if the desired element is already checked out to the current view. Thus it won't attempt to check it out again. - Added three new ClearCase commands: ccmkattr, ccmkdir, ccmkelem - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26253] - [PATCH] Extending ClearCase Tasks
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253 [PATCH] Extending ClearCase Tasks --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 16:46 --- Created an attachment (id=10007) Contains all the changes made to implement the enhancement - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/loader AntClassLoader2.java
peterreilly2004/01/19 08:48:00 Modified:src/main/org/apache/tools/ant/loader AntClassLoader2.java Log: use a static map of jarfile-manifest classpath entry Revision ChangesPath 1.8 +41 -26 ant/src/main/org/apache/tools/ant/loader/AntClassLoader2.java Index: AntClassLoader2.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/loader/AntClassLoader2.java,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- AntClassLoader2.java 17 Jul 2003 10:36:27 - 1.7 +++ AntClassLoader2.java 19 Jan 2004 16:48:00 - 1.8 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2003 The Apache Software Foundation. All rights + * Copyright (c) 2003-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -68,6 +68,9 @@ import java.net.URL; import java.net.MalformedURLException; import java.util.zip.ZipEntry; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; import java.util.StringTokenizer; import org.apache.tools.ant.util.FileUtils; @@ -81,6 +84,9 @@ /** Instance of a utility class to use for file operations. */ private FileUtils fileUtils; +/** Static map of jar file/time to manifiest class-path entries */ +private static Map pathMap = Collections.synchronizedMap(new HashMap()); + /** * Constructor */ @@ -272,36 +278,45 @@ return; } -String classpath = null; -ZipFile jarFile = null; -InputStream manifestStream = null; -try { -jarFile = new ZipFile(pathComponent); -manifestStream -= jarFile.getInputStream(new ZipEntry(META-INF/MANIFEST.MF)); - -if (manifestStream == null) { -return; -} -Reader manifestReader -= new InputStreamReader(manifestStream, UTF-8); -org.apache.tools.ant.taskdefs.Manifest manifest -= new org.apache.tools.ant.taskdefs.Manifest(manifestReader); -classpath -= manifest.getMainSection().getAttributeValue(Class-Path); +String absPathPlusTimeAndLength = +pathComponent.getAbsolutePath() + pathComponent.lastModified() + - ++ pathComponent.length(); +String classpath = (String) pathMap.get(absPathPlusTimeAndLength); +if (classpath == null) { +ZipFile jarFile = null; +InputStream manifestStream = null; +try { +jarFile = new ZipFile(pathComponent); +manifestStream += jarFile.getInputStream(new ZipEntry(META-INF/MANIFEST.MF)); + +if (manifestStream == null) { +return; +} +Reader manifestReader += new InputStreamReader(manifestStream, UTF-8); +org.apache.tools.ant.taskdefs.Manifest manifest += new org.apache.tools.ant.taskdefs.Manifest(manifestReader); +classpath += manifest.getMainSection().getAttributeValue(Class-Path); -} catch (org.apache.tools.ant.taskdefs.ManifestException e) { -// ignore -} finally { -if (manifestStream != null) { -manifestStream.close(); +} catch (org.apache.tools.ant.taskdefs.ManifestException e) { +// ignore +} finally { +if (manifestStream != null) { +manifestStream.close(); +} +if (jarFile != null) { +jarFile.close(); +} } -if (jarFile != null) { -jarFile.close(); +if (classpath == null) { +classpath = ; } +pathMap.put(absPathPlusTimeAndLength, classpath); } -if (classpath != null) { +if (!.equals(classpath)) { URL baseURL = fileUtils.getFileURL(pathComponent); StringTokenizer st = new StringTokenizer(classpath); while (st.hasMoreTokens()) { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/loader AntClassLoader2.java
peterreilly2004/01/19 08:48:44 Modified:src/main/org/apache/tools/ant/loader Tag: ANT_16_BRANCH AntClassLoader2.java Log: sync with HEAD Revision ChangesPath No revision No revision 1.7.2.1 +41 -26 ant/src/main/org/apache/tools/ant/loader/AntClassLoader2.java Index: AntClassLoader2.java === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/loader/AntClassLoader2.java,v retrieving revision 1.7 retrieving revision 1.7.2.1 diff -u -r1.7 -r1.7.2.1 --- AntClassLoader2.java 17 Jul 2003 10:36:27 - 1.7 +++ AntClassLoader2.java 19 Jan 2004 16:48:44 - 1.7.2.1 @@ -1,7 +1,7 @@ /* * The Apache Software License, Version 1.1 * - * Copyright (c) 2003 The Apache Software Foundation. All rights + * Copyright (c) 2003-2004 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without @@ -68,6 +68,9 @@ import java.net.URL; import java.net.MalformedURLException; import java.util.zip.ZipEntry; +import java.util.Collections; +import java.util.HashMap; +import java.util.Map; import java.util.StringTokenizer; import org.apache.tools.ant.util.FileUtils; @@ -81,6 +84,9 @@ /** Instance of a utility class to use for file operations. */ private FileUtils fileUtils; +/** Static map of jar file/time to manifiest class-path entries */ +private static Map pathMap = Collections.synchronizedMap(new HashMap()); + /** * Constructor */ @@ -272,36 +278,45 @@ return; } -String classpath = null; -ZipFile jarFile = null; -InputStream manifestStream = null; -try { -jarFile = new ZipFile(pathComponent); -manifestStream -= jarFile.getInputStream(new ZipEntry(META-INF/MANIFEST.MF)); - -if (manifestStream == null) { -return; -} -Reader manifestReader -= new InputStreamReader(manifestStream, UTF-8); -org.apache.tools.ant.taskdefs.Manifest manifest -= new org.apache.tools.ant.taskdefs.Manifest(manifestReader); -classpath -= manifest.getMainSection().getAttributeValue(Class-Path); +String absPathPlusTimeAndLength = +pathComponent.getAbsolutePath() + pathComponent.lastModified() + - ++ pathComponent.length(); +String classpath = (String) pathMap.get(absPathPlusTimeAndLength); +if (classpath == null) { +ZipFile jarFile = null; +InputStream manifestStream = null; +try { +jarFile = new ZipFile(pathComponent); +manifestStream += jarFile.getInputStream(new ZipEntry(META-INF/MANIFEST.MF)); + +if (manifestStream == null) { +return; +} +Reader manifestReader += new InputStreamReader(manifestStream, UTF-8); +org.apache.tools.ant.taskdefs.Manifest manifest += new org.apache.tools.ant.taskdefs.Manifest(manifestReader); +classpath += manifest.getMainSection().getAttributeValue(Class-Path); -} catch (org.apache.tools.ant.taskdefs.ManifestException e) { -// ignore -} finally { -if (manifestStream != null) { -manifestStream.close(); +} catch (org.apache.tools.ant.taskdefs.ManifestException e) { +// ignore +} finally { +if (manifestStream != null) { +manifestStream.close(); +} +if (jarFile != null) { +jarFile.close(); +} } -if (jarFile != null) { -jarFile.close(); +if (classpath == null) { +classpath = ; } +pathMap.put(absPathPlusTimeAndLength, classpath); } -if (classpath != null) { +if (!.equals(classpath)) { URL baseURL = fileUtils.getFileURL(pathComponent); StringTokenizer st = new StringTokenizer(classpath); while (st.hasMoreTokens()) { - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26254] New: - hitting CTRL+C throws an exception
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26254. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26254 hitting CTRL+C throws an exception Summary: hitting CTRL+C throws an exception Product: Ant Version: 1.6.0 Platform: Other OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Core AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Hi, If I hit Ctrl + C while ant is busy with a task (e.g. compiling or generating javadocs), an exception is thrown. This wasn't the case with ant 1.5 I'm using windows XP and this is the ant version I'm using: C:\ant -version Apache Ant version 1.6.0 compiled on December 18 2003 here is the stacktrace: [javac] java.lang.reflect.InvocationTargetException [javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java :25) [javac] at java.lang.reflect.Method.invoke(Method.java:489) [javac] at org.apache.tools.ant.taskdefs.ProcessDestroyer.removeShutdownHook(ProcessDestroye r.java:153) [javac] at org.apache.tools.ant.taskdefs.ProcessDestroyer.remove(ProcessDestroyer.java:223) [javac] at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:526) [javac] at org.apache.tools.ant.taskdefs.compilers.DefaultCompilerAdapter.executeExternalCom pile(DefaultCompilerAdapter.java:486) [javac] at org.apache.tools.ant.taskdefs.compilers.JavacExternal.execute(JavacExternal.java: 81) [javac] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:976) [javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:799) [javac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306) [javac] at org.apache.tools.ant.Task.perform(Task.java:401) [javac] at org.apache.tools.ant.Target.execute(Target.java:338) [javac] at org.apache.tools.ant.Target.performTasks(Target.java:365) [javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1237) [javac] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:420) [javac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:306) [javac] at org.apache.tools.ant.Task.perform(Task.java:401) [javac] at org.apache.tools.ant.Target.execute(Target.java:338) [javac] at org.apache.tools.ant.Target.performTasks(Target.java:365) [javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1237) [javac] at org.apache.tools.ant.Project.executeTargets(Project.java:1094) [javac] at org.apache.tools.ant.Main.runBuild(Main.java:669) [javac] at org.apache.tools.ant.Main.startAnt(Main.java:220) [javac] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:215) [javac] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:90) [javac] Caused by: java.lang.IllegalStateException: Shutdown in progress [javac] at java.lang.Shutdown.remove(Shutdown.java:104) [javac] at java.lang.Runtime.removeShutdownHook(Runtime.java:218) [javac] ... 27 more - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26253] - [PATCH] Extending ClearCase Tasks
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253 [PATCH] Extending ClearCase Tasks --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 16:54 --- Created an attachment (id=10008) Three new classes added to clearcase package - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant WHATSNEW
peterreilly2004/01/19 08:56:24 Modified:.WHATSNEW Log: macrodef updates for WHATSNEW Revision ChangesPath 1.526 +5 -2 ant/WHATSNEW Index: WHATSNEW === RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.525 retrieving revision 1.526 diff -u -r1.525 -r1.526 --- WHATSNEW 15 Jan 2004 20:27:07 - 1.525 +++ WHATSNEW 19 Jan 2004 16:56:24 - 1.526 @@ -23,6 +23,9 @@ * presetdef'ed types did not work with the ant-type attribute +* fixed case handling of macrodef attributes and elements. Bugzilla + Reports 25687 and 26225. + Other changes: -- * Translate task logs a debug message specifying the number of files @@ -38,8 +41,8 @@ * fixcrlf has a new attribute - fixlast. Bugzilla Report 23262. -* p4submit has 2 new attributes, needsresolveproperty and changeproperty. - Bugzilla Report 25711. +* add description attributes to macrodef attributes and elements. + Bugzilla Report 24711. Changes from Ant 1.5.4 to Ant 1.6.0 === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant WHATSNEW
peterreilly2004/01/19 08:58:39 Modified:.Tag: ANT_16_BRANCH WHATSNEW Log: Sync with head Revision ChangesPath No revision No revision 1.503.2.27 +5 -0 ant/WHATSNEW Index: WHATSNEW === RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.503.2.26 retrieving revision 1.503.2.27 diff -u -r1.503.2.26 -r1.503.2.27 --- WHATSNEW 15 Jan 2004 20:48:17 - 1.503.2.26 +++ WHATSNEW 19 Jan 2004 16:58:39 - 1.503.2.27 @@ -20,6 +20,9 @@ * presetdef'ed types did not work with the ant-type attribute +* fixed case handling of macrodef attributes and elements. Bugzilla + Reports 25687 and 26225. + Other changes: -- @@ -28,6 +31,8 @@ * p4submit has 2 new attributes, needsresolveproperty and changeproperty. Bugzilla Report 25711. +* add description attributes to macrodef attributes and elements. + Bugzilla Report 24711. Changes from Ant 1.6.B3 to Ant 1.6.0 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant WHATSNEW
peterreilly2004/01/19 09:00:03 Modified:.WHATSNEW Log: opps - deleted other change Revision ChangesPath 1.527 +3 -0 ant/WHATSNEW Index: WHATSNEW === RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.526 retrieving revision 1.527 diff -u -r1.526 -r1.527 --- WHATSNEW 19 Jan 2004 16:56:24 - 1.526 +++ WHATSNEW 19 Jan 2004 17:00:03 - 1.527 @@ -41,6 +41,9 @@ * fixcrlf has a new attribute - fixlast. Bugzilla Report 23262. +* p4submit has 2 new attributes, needsresolveproperty and changeproperty. + Bugzilla Report 25711. + * add description attributes to macrodef attributes and elements. Bugzilla Report 24711. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: cvs commit: ant WHATSNEW
Sorry... I mismerged a cvs conflict file - my bad. Peter Antoine Lévy-Lambert wrote: [EMAIL PROTECTED] wrote: peterreilly2004/01/19 08:56:24 Modified:.WHATSNEW Log: macrodef updates for WHATSNEW Revision ChangesPath 1.526 +5 -2 ant/WHATSNEW Index: WHATSNEW === RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.525 retrieving revision 1.526 diff -u -r1.525 -r1.526 --- WHATSNEW15 Jan 2004 20:27:07 -1.525 +++ WHATSNEW19 Jan 2004 16:56:24 -1.526 @@ -23,6 +23,9 @@ * presetdef'ed types did not work with the ant-type attribute +* fixed case handling of macrodef attributes and elements. Bugzilla + Reports 25687 and 26225. + Other changes: -- * Translate task logs a debug message specifying the number of files @@ -38,8 +41,8 @@ * fixcrlf has a new attribute - fixlast. Bugzilla Report 23262. -* p4submit has 2 new attributes, needsresolveproperty and changeproperty. - Bugzilla Report 25711. +* add description attributes to macrodef attributes and elements. + Bugzilla Report 24711. Changes from Ant 1.5.4 to Ant 1.6.0 === - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Hi Peter, you have removed my blurb about p4submit ! Antoine - 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 26254] - hitting CTRL+C throws an exception
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26254. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26254 hitting CTRL+C throws an exception [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 17:03 --- *** This bug has been marked as a duplicate of 24181 *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 24181] - Shutdown failing
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24181. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24181 Shutdown failing [EMAIL PROTECTED] changed: What|Removed |Added CC||[EMAIL PROTECTED] --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 17:03 --- *** Bug 26254 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 26230] - junitreport task gets java.lang.StackOverflowError during XSL xform
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26230. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26230 junitreport task gets java.lang.StackOverflowError during XSL xform --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 17:19 --- I tried the included build file (thanks for this) and transforms on linux with ant 1.6.0 and jdk 1.4.2_03. It works find in this env. ant -f build.xml Buildfile: build.xml junittestreport: [echo] Generating the Unit Test Report [delete] Deleting directory /home/preilly/tmp/x/test/reports/junit/default/html [junitreport] Using Xalan version: Xalan Java 2.4.1 [junitreport] Transform time: 2303ms [echo] All unit tests succeeded. Detailed reports in ./reports/junit/default/html - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26230] - junitreport task gets java.lang.StackOverflowError during XSL xform
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26230. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26230 junitreport task gets java.lang.StackOverflowError during XSL xform --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 18:07 --- I encountered this problem on my Windows box. The problem is where the JUnitReport xsl file attempts to escape, for JavaScript, backslashes. It happens primarily on machines with big paths or deep hierarchies and with '\' as the separator character. The xsl tries to escape all the '\' using a recursive method. I made a fix that checks the number of characters to escape. If it was beyond a reasonable limit (I said 20), then it would do a hack and replace the escaped characters with some other single character using the XSL transform method. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/src/main/org/apache/tools/ant/util TeeOutputStream.java
bodewig 2004/01/19 10:18:55 Modified:.Tag: ANT_15_BRANCH build.xml Added: docs/manual/OptionalTasks Tag: ANT_15_BRANCH scp.html sshexec.html sshlib.html src/main/org/apache/tools/ant/taskdefs/optional/ssh Tag: ANT_15_BRANCH AbstractSshMessage.java Directory.java LogListener.java SSHBase.java SSHExec.java SSHUserInfo.java Scp.java ScpFromMessage.java ScpToMessage.java src/main/org/apache/tools/ant/util Tag: ANT_15_BRANCH TeeOutputStream.java Log: Prepare for a library of SSH tasks compiled against 1.5.4 Revision ChangesPath No revision No revision 1.304.2.53 +129 -3ant/build.xml Index: build.xml === RCS file: /home/cvs/ant/build.xml,v retrieving revision 1.304.2.52 retrieving revision 1.304.2.53 diff -u -r1.304.2.52 -r1.304.2.53 --- build.xml 11 Aug 2003 06:08:28 - 1.304.2.52 +++ build.xml 19 Jan 2004 18:18:54 - 1.304.2.53 @@ -4,7 +4,7 @@ === Apache Ant own build file - Copyright (c) 2000-2003 The Apache Software Foundation. All rights + Copyright (c) 2000-2004 The Apache Software Foundation. All rights reserved. === @@ -303,6 +303,22 @@ patternset id=teststhatfail /patternset + patternset id=needs.jsch +exclude name=${optional.package}/ssh/*.java unless=jsch.present/ + /patternset + patternset id=ssh-lib +exclude name=${optional.package}/ssh/*/ +exclude name=${ant.package}/util/TeeOutputStream*/ + /patternset + patternset id=ssh-lib-src +exclude name=main/${optional.package}/ssh/*/ +exclude name=main/${ant.package}/util/TeeOutputStream*/ + /patternset + patternset id=ssh-lib-docs +exclude name=manual/OptionalTasks/sshexec.html/ +exclude name=manual/OptionalTasks/scp.html/ + /patternset + !-- === Set up a patternsets that matches the parts of our JUnit testsuite @@ -539,6 +555,9 @@ available property=beanshell.present classname=bsh.StringUtil classpathref=classpath/ +available property=jsch.present + classname=com.jcraft.jsch.Session + classpathref=classpath/ /target @@ -612,6 +631,7 @@ patternset refid=needs.sun.b64/ patternset refid=needs.jakarta.bcel/ patternset refid=needs.swing/ + patternset refid=needs.jsch/ /javac copy todir=${build.classes} @@ -661,6 +681,7 @@ jar destfile=${build.lib}/${name}.jar basedir=${build.classes} manifest=${manifest} + patternset refid=ssh-lib/ exclude name=${optional.package}/**/ exclude name=${optional.type.package}/**/ exclude name=${util.package}/depend/**/ @@ -700,6 +721,7 @@ jar destfile=${build.lib}/optional.jar basedir=${build.classes} manifest=${manifest} + patternset refid=ssh-lib/ include name=${optional.package}/**/ include name=${optional.type.package}/**/ include name=${util.package}/depend/**/ @@ -911,13 +933,16 @@ /copy copy todir=${src.dist.src} - fileset dir=${src.dir}/ + fileset dir=${src.dir} +patternset refid=ssh-lib-src/ + /fileset /copy copy todir=${src.dist.docs} fileset dir=${docs.dir} exclude name=manual/api/**/ patternset refid=site.excludes/ +patternset refid=ssh-lib-docs/ /fileset /copy @@ -1150,7 +1175,8 @@ windowtitle=${Name} API doctitle=${Name} - packageset dir=${java.dir}/ + packageset dir=${java.dir} +excludes=org/apache/tools/ant/taskdefs/optional/ssh/ tag name=todo description=To do: scope=all/ tag name=ant.task enabled=false description=Task: scope=types/ @@ -1448,4 +1474,104 @@ description=-- creates a minimum distribution in ./dist depends=dist-lite/ + !-- + === + Creates the SSH tasks distribution, requires JSch on the CLASSPATH + === + -- + target name=ssh-lib depends=build if=jsch.present +property name=ssh.version value=1.5-1.0/ +property name=ssh.dist + value=${dist.base}/ant-ssh-tasks-${ssh.version}/ +mkdir
DO NOT REPLY [Bug 26230] - junitreport task gets java.lang.StackOverflowError during XSL xform
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26230. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26230 junitreport task gets java.lang.StackOverflowError during XSL xform --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 18:20 --- This looks like a duplicate of bug 19301. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26257] New: - Add ignoreRemoved attribute to CvsTagDiff
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26257. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26257 Add ignoreRemoved attribute to CvsTagDiff Summary: Add ignoreRemoved attribute to CvsTagDiff Product: Ant Version: 1.6.0 Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] By setting this attribute to true, any files that would normally be added ato the report as being removed, will now be ignored. This is especially helpful in situations where only changed files are tagged, rather than the whole module. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26257] - Add ignoreRemoved attribute to CvsTagDiff
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26257. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26257 Add ignoreRemoved attribute to CvsTagDiff --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 18:27 --- Created an attachment (id=10009) Code patch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[VOTE] Release a library with the SSH tasks for Ant 1.5.x
Hi all, I've hacked together some small build file snippet in the 1.5 branch that allows me to compile a stand-alone library for the SSH tasks. One of the results (the ZIP archive) can be found in http://cvs.apache.org/~bodewig/ant-ssh-tasks-1.5-1.0.zip. Please take a look at it and cast your vote: * shall we release such a library at all? * if so, is the above archive what we want to release? This is a release and as such needs at least three PMC members casting a +1. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: APIDocs online?
[EMAIL PROTECTED] wrote: If I remember right, we had a nice comment online before 1.6 ... Something like no official online; latest on nagoya; see your local copy We did, and it got schwacked accidently. I've done a checkin that restores the original pages but the web site will need to be regenerated for them to take effect, which I don't believe I have the karma for. - 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
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25345. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25345 jspc tag broken with new version of jasper --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 18:56 --- When you guys plan to make the patch available? replacing ant with an improved version is not that bad anyways :). - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26253] - [PATCH] Extending ClearCase Tasks
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253 [PATCH] Extending ClearCase Tasks --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 19:04 --- Created an attachment (id=10010) Most up to date changes. Should ignore orig patch text file (10007) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Release a library with the SSH tasks for Ant 1.5.x
Stefan Bodewig wrote: Hi all, I've hacked together some small build file snippet in the 1.5 branch that allows me to compile a stand-alone library for the SSH tasks. One of the results (the ZIP archive) can be found in http://cvs.apache.org/~bodewig/ant-ssh-tasks-1.5-1.0.zip. Please take a look at it and cast your vote: * shall we release such a library at all? * if so, is the above archive what we want to release? This is a release and as such needs at least three PMC members casting a +1. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] +1 Antoine - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
cvs commit: ant/docs/manual/api index.html packages.html
bodewig 2004/01/19 12:20:02 Modified:docs/manual/api Tag: ANT_16_BRANCH index.html packages.html Log: Put no API docs online disclaimer back onto the site Revision ChangesPath No revision No revision 1.5.2.1 +10 -25ant/docs/manual/api/index.html Index: index.html === RCS file: /home/cvs/ant/docs/manual/api/index.html,v retrieving revision 1.5 retrieving revision 1.5.2.1 diff -u -r1.5 -r1.5.2.1 --- index.html6 Sep 2003 08:50:20 - 1.5 +++ index.html19 Jan 2004 20:20:02 - 1.5.2.1 @@ -1,26 +1,11 @@ -!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Frameset//EN http://www.w3.org/TR/html4/frameset.dtd; -!--NewPage-- -HTML -HEAD -!-- Generated by javadoc on Sat Sep 06 10:24:18 CEST 2003-- -TITLE -Apache Ant API -/TITLE -/HEAD -FRAMESET cols=20%,80% -FRAMESET rows=30%,70% -FRAME src=overview-frame.html name=packageListFrame title=All Packages -FRAME src=allclasses-frame.html name=packageFrame title=All classes and interfaces (except non-static nested types) -/FRAMESET -FRAME src=overview-summary.html name=classFrame title=Package, class and interface descriptions -NOFRAMES -H2 -Frame Alert/H2 +html +head +meta http-equiv=refresh content=1; URL=packages.html +titleApache Ant API/title +/head +body +Redirecting to a href=packages.htmlApache Ant API .../a +/body +/html + -P -This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. -BR -Link toA HREF=overview-summary.htmlNon-frame version./A -/NOFRAMES -/FRAMESET -/HTML 1.8.2.1 +19 -34ant/docs/manual/api/packages.html Index: packages.html === RCS file: /home/cvs/ant/docs/manual/api/packages.html,v retrieving revision 1.8 retrieving revision 1.8.2.1 diff -u -r1.8 -r1.8.2.1 --- packages.html 6 Sep 2003 08:50:20 - 1.8 +++ packages.html 19 Jan 2004 20:20:02 - 1.8.2.1 @@ -1,37 +1,22 @@ -!DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; -!--NewPage-- -HTML -HEAD -!-- Generated by javadoc (build 1.4.2) on Sat Sep 06 10:24:18 CEST 2003 -- -TITLE - (Apache Ant API) -/TITLE +html +head +titleApache Ant API/title +/head +body +bApache Ant API has not been generated/b + +pIf you see this page online at a +href=http://ant.apache.org;ant.apache.org/a, it is not a bug, but +on purpose. We do not provide an online version of the API docs, they +are included with all our distributions, including the nightly +builds./p + +pIf you want to see the API docs for the latest code, they are +generated by a href=http://jakarta.apache.org/gump/;Apache Gump/a +and linked from a +href=http://nagoya.apache.org/gump/javadoc/ant/build/javadocs/index.html;http://nagoya.apache.org/gump/javadoc/ant/build/javadocs/index.html/a./p +/body +/html -LINK REL =stylesheet TYPE=text/css HREF=stylesheet.css TITLE=Style -SCRIPT type=text/javascript -function windowTitle() -{ -parent.document.title= (Apache Ant API); -} -/SCRIPT - -/HEAD - -BODY BGCOLOR=white onload=windowTitle(); - -BR - -BR - -BR -CENTER -The front page has been relocated.Please see: -BR -nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;A HREF=index.htmlFrame version/A -BR -nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;nbsp;A HREF=overview-summary.htmlNon-frame version./A/CENTER - -/BODY -/HTML - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: [VOTE] Release a library with the SSH tasks for Ant 1.5.x
+0 (doesn't benefit me, and I'm purely at Ant 1.6 now) On Jan 19, 2004, at 1:33 PM, Stefan Bodewig wrote: Hi all, I've hacked together some small build file snippet in the 1.5 branch that allows me to compile a stand-alone library for the SSH tasks. One of the results (the ZIP archive) can be found in http://cvs.apache.org/~bodewig/ant-ssh-tasks-1.5-1.0.zip. Please take a look at it and cast your vote: * shall we release such a library at all? * if so, is the above archive what we want to release? This is a release and as such needs at least three PMC members casting a +1. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: FW: APIDocs online?
On Mon, 19 Jan 2004, Bruce Atherton [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: I've done a checkin that restores the original pages but the web site will need to be regenerated for them to take effect, Uhm, unless the directory on the webserver has been checked out with a sticky tag ;-) Fixed. which I don't believe I have the karma for. Sure you have. Ever since cvs and webserver have moved on a new machine. Stefan - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
DO NOT REPLY [Bug 26257] - Add ignoreRemoved attribute to CvsTagDiff
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26257. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26257 Add ignoreRemoved attribute to CvsTagDiff --- Additional Comments From [EMAIL PROTECTED] 2004-01-19 20:33 --- Created an attachment (id=10011) documentation patch - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[VOTE] ant 1.6.1
There are 2 bug reports which I would like to process for ant 1.6.1. (see footnotes) Is it OK to delay 1.6.1 by a week, putting : 1.6.1 beta on Thursday, Jan 29 th 1.6.1 final on Thursday, Feb 12th Is this OK ? Antoine Footnotes : [1] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26253 ClearCase extensions [2] http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13510 cvschangelog should accept branch as optional parameter [3] http://nagoya.apache.org/bugzilla/buglist.cgi?bug_status=NEWbug_status=ASSIGNEDbug_status=REOPENEDemail1=emailtype1=substringemailassigned_to1=1email2=emailtype2=substringemailreporter2=1bugidtype=includebug_id=changedin=votes=chfieldfrom=chfieldto=Nowchfieldvalue=product=Antshort_desc=short_desc_type=allwordssubstrlong_desc=long_desc_type=allwordssubstrbug_file_loc=bug_file_loc_type=allwordssubstrkeywords=keywords_type=anywordsfield0-0-0=nooptype0-0-0=noopvalue0-0-0=newqueryname=order=bugs.votes%20desc (bug reports on ant sorted by number of votes) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]