DO NOT REPLY [Bug 18476] - copy with filtering modifies lineendings
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=18476. 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=18476 copy with filtering modifies lineendings --- Additional Comments From [EMAIL PROTECTED] 2003-04-15 23:38 --- Created an attachment (id=5850) mods to unit tests, and patch to fileutils
DO NOT REPLY [Bug 18476] - copy with filtering modifies lineendings
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=18476. 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=18476 copy with filtering modifies lineendings --- Additional Comments From [EMAIL PROTECTED] 2003-04-15 23:41 --- Created an attachment (id=5851) src/testcases/org/apache/tools/ant/filters/NoNewLineTest.java
DO NOT REPLY [Bug 18476] - copy with filtering modifies lineendings
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=18476. 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=18476 copy with filtering modifies lineendings --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 00:32 --- I meant to say for 2) above that this is most likely an off-by-one problem where the original testing was done on dos (where new line is \r\n and the \r needs to be removed with \n). Peter
DO NOT REPLY [Bug 8085] - cvschangelog does not correctly detect ends of comments
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=8085. 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=8085 cvschangelog does not correctly detect ends of comments [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|REOPENED Resolution|FIXED | --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 00:44 --- The current solution fixes all cases where the comment is less than . I had a case where a workmate entered - as part of a comment which confused CvsChangeLog. Wouldn't a better solution be to use a .equals() rather than a.startsWith()? This will reduce the likelyhood of the problem reoccuring in the future...
DO NOT REPLY [Bug 18175] - Attempting to FTP causes ant to hang.
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=18175. 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=18175 Attempting to FTP causes ant to hang. --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 01:55 --- Never mind. It turns out to have been my firewall/VPN.
cvs commit: ant/xdocs contributors.xml
chrisw 2003/04/15 20:38:43 Modified:docs/manual credits.html docs/manual/Integration VAJAntTool.html xdocscontributors.xml Log: Changing employers again. Trying to avoid spam... Added Wolf and myself (after more then 2 years passed 8-)) to manual credits. Revision ChangesPath 1.22 +3 -1 ant/docs/manual/credits.html Index: credits.html === RCS file: /home/cvs/ant/docs/manual/credits.html,v retrieving revision 1.21 retrieving revision 1.22 diff -u -r1.21 -r1.22 --- credits.html 7 Mar 2003 14:41:10 - 1.21 +++ credits.html 16 Apr 2003 03:38:43 - 1.22 @@ -32,10 +32,12 @@ liSam Ruby (a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a)/li liNico Seessle (a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a)/li liJon S. Stevens (a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a)/li + liWolf Siberski/li liMagesh Umasankar/li liRoger Vaughn (a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a)/li liDave Walend (a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a)/li liPhillip Wells (a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a)/li + liChristoph Wilhelms/li liCraeg Strong (a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a)/li /ul 1.17 +2 -4 ant/docs/manual/Integration/VAJAntTool.html Index: VAJAntTool.html === RCS file: /home/cvs/ant/docs/manual/Integration/VAJAntTool.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- VAJAntTool.html 19 Feb 2003 09:23:19 - 1.16 +++ VAJAntTool.html 16 Apr 2003 03:38:43 - 1.17 @@ -10,11 +10,9 @@ H1Visual Age for Java Tasks and Plugin User Manual/H1 a name=authors/AbyUL LIWolf Siberski - (A href=mailto:[EMAIL PROTECTED] - [EMAIL PROTECTED]/A ) + (siberski at kbs.uni-hannover.de) LIChristoph Wilhelms - (A href=mailto:[EMAIL PROTECTED] - [EMAIL PROTECTED]/A)/LI/UL + (christoph.wilhelms at tui.de)/LI/UL Version 1.2 - 2001/06/14br hr h2Table of Contents/H2 1.7 +3 -5 ant/xdocs/contributors.xml Index: contributors.xml === RCS file: /home/cvs/ant/xdocs/contributors.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -r1.6 -r1.7 --- contributors.xml 15 Apr 2003 13:30:31 - 1.6 +++ contributors.xml 16 Apr 2003 03:38:43 - 1.7 @@ -91,11 +91,9 @@ p bChristoph Wilhelms/b (christoph.wilhelms at t-online.de) br/ -Christoph is teamleader and a lead software engineer at -a href=http://www.impress.com/english/index.html;IMPRESS SOFTWARE/a. He is resposible for -the development of administration tools and development environment for -the IMPRESS Engine, a Java-based intergration software. At the Ant-Project -he takes care of Antidote - the Ant GUI. +Christoph works as software engineer at the worlds biggest traval company +a href=http://www.tui.com;TUI/a. His passion are all UI related things so +at the Ant-Project he takes care of Antidote - the Ant GUI. /p /subsection
RE: DynamicTag
Dominique Devienne wrote: Interesting... So how come DynamicTag is not compatible with Ant 1.6, when it compiles and works fine with 1.5.1??? Sounds like an incompatible API change to me, which hopefully will be fixed. It compiles on Ant 1.6, but currently the unknownelement returned does not get resolved. (!). In a previous cvs build, a null pointer exception gets thrown as the target had not been set on the unknown element. 2) DynamicTag is lazy, thanks to UnknownElement. Your rewrite is creating the element at parse-time, my implementation does it only at runtime. Again, I favor delaying the instantiation and configuration. Ant should never have mingled parsing of the XML and instantiation of the model in the first place. I am not sure this is correct, the task/datatype will be stored as an unknown element until the target containing the task/datatype is run. I however find the treatment of id, which is done at parse time, a bit scary. 5) Your point #4 is the new feature over DynamicTag as I understand it. I'm not too sure it's better syntactically than explicitly having (composing) several nested elements, each being a dynamic tag of a different type. True, This is quite correct. The ability may however be useful for some tasks. Your rewrite does add new reflection 'rules', making stuff happen auto-magically thru reflection. I'm not saying it's bad, I'm pointing out it adds some, when DynamicTag doesn't. True, I must admit this is a bit cheeky! Something that I wish Ant added was the notion of 'role', to partition the task/type namespace. There is on-going work on antlib (ant/proposal/sandbox/antlib) which does something on those lines. Cheers. Peter
RE: DynamicTag
Dominique Devienne wrote: 2) DynamicTag is lazy, thanks to UnknownElement. Your rewrite is creating the element at parse-time, my implementation does it only at runtime. Again, I favor delaying the instantiation and configuration. Ant should never have mingled parsing of the XML and instantiation of the model in the first place. +1 ant1.6 is a bit lazier than 1.5. Something that I wish Ant added was the notion of 'role', to partition the task/type namespace. Both our proposals rely on taskdef/typedef to register the extension points. But a custom selector, a custom filter, a custom mapper, a custom buildpath (in my case) all share the same type or task namespace (the mapping from element name to class name). There are I wish Ant didn't make the distinction between task and type so big. All are project components - and the role is given by how they are used. Not having an execute method is the only special thing about a typedef. currently two distinct namespaces, one for tasks, and one for types, and Costin says I'd like to merge the two, when I actually would prefer to have N namespaces, each indexed/keyed by a 'role' string. When a task Maybe something in the middle :-) I'm saying that from the point of view of the processor, all components should be just simple beans, regardless of how they'll be used or what methods they expose in addition to attributes. You may have as many roles as you want - at a higher level, by either implementing some interface or pattern. You may even have components with multiple roles. As long as at the low level they are all treated as javabeans ( or ProjectComponents ). explicitly declares to accept within it selectors for example, it simply declares it wants instances implementing FileSelector.class from the selectors namespace. So the namespace used to resolve the element name to the classname is explicit, rather than implicit, first trying the tasks namespace, and then trying the types namespace. Classes can of course belong to more than one namespace; tahoeresolver could be both a type (types namespace), so it can be declared outside buildpath and refid'd, but it's also a BuildPathResolver.class, of the buildpath/resolvers user-defined (and documented) namespace). That shouldn't be a concern of the low-level ant ( the xml parser, etc ) tough. And we shouldn't have one registry for each type. Costin
Re: cvs commit: ant/src/etc/testcases/taskdefs/optional/vss vss.xml
On Tue, 15 Apr 2003, Jesse Stockall [EMAIL PROTECTED] wrote: It's fixed now. Yep, compiles again, thanks. Stefan
Re: DynamicTag
On Wed, 16 Apr 2003 12:55 am, Dominique Devienne wrote: 2) DynamicTag is lazy, thanks to UnknownElement. Your rewrite is creating the element at parse-time, my implementation does it only at runtime. Again, I favor delaying the instantiation and configuration. Ant should never have mingled parsing of the XML and instantiation of the model in the first place. The first place was a very long time ago and there was a lot of history for why Ant is the way it is. You might be interested in a little tutorial I wrote to try and explain this history: http://codefeed.com/tutorial/ant_config.html I'll try to have a look at DynamicTag soon but I've not had time yet... Conor
Re: junit.jar in Ant 1.5.3 distro?!?!?
On Tue, 15 Apr 2003, Dominique Devienne [EMAIL PROTECTED] wrote: Why is Ant 1.5.3 shipping with junit.jar in ANT_HOME/lib??? It is? Which download? Without shipping the license of JUnit and all that, we can't do it. Stefan
Replace task not suitable for my needs, wrote Ant extension to address problems.
The Replace task was not suitable for my needs, so I ended up writing my own replace Ant extension. Would the more active developers on the list please consider my case? Use case 1: Performing token replacements ala those performed via Unix m4 utility. Man page for m4 utility: http://www.unidata.ucar.edu/cgi-bin/man-cgi?m4+1 Use case 1 details: Given source file called java.properties.j4,; Given list of tokens and their values; Process java.properties.j4, generating on the same directory java.properties with the token substitutions. Given directory, scan the directory; Given list of tokens and their values; Scan the directory, perfoming the operations above on every individual .j4 file. Benefits: the original is not lost (it is lost on the replace task). the original is kept on version control. the end result requires less ant lines (copy file, filter, etc). Now some particularities of my extension: I don't allow specification of a token file, instead I consider the list of Ant properties to be my set of tokens. This can be VERY convenient, but I would like to improve the task to be able to receive a list of tokens as well. I have forced the .j4 extension for these files. I believe this should be the recommended extension, but not the only one possible. I am pasting my extension class code in line on this email, but first some usage examples on a build.xml file: 8--- !-- Define the extension tasks. -- taskdef name=renameext classname=org.apache.tools.ant.taskdefs.optional.RenameExtensions / taskdef name=j4 classname=ji.ant.base.JIJ4 / !-- Scan directory for .j4 files, and process them using ant properties as tokens! -- j4 dir=../webapps/main/WEB-INF/classes includes=** initialExtension=.j4 finalExtension= replace=true / !-- Undo the work of the previous j4 call. Clean generated files. -- j4 dir=../webapps/main/WEB-INF/classes includes=** initialExtension=.j4 finalExtension= clean=true / 8--- Now the code for the extension, contained in one single class. Notice that it allows for conditional processing of .j4 file parts based on the value of Ant properties as well (extra feature that you might want to remove). Here is an example of a .j4 conditional and token: [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ ifelse(@ji.build.env@, dev, ` dev only. ',`dnl') ifelse(@ji.build.env@, prd, ` production environment. ',`dnl') Now the code for the extension: 8--- package ji.ant.base; import java.io.*; import java.util.*; import org.apache.tools.ant.*; import org.apache.tools.ant.taskdefs.*; /** * This class performs token replacements on files automatically. * It is an Ant Task. * * You can escape back-quotes and quotes within conditionals by having two in a row * e.g. to escape `hello' put ``hello'' * * @author Andre Cesta */ public class JIJ4 extends MatchingTask { /** Directory where the file filtering operations will take place. */ private File dir; /** Flat that tells whether we are generating filtered files or not. */ private boolean replace = false; /** Flat that tells if we are cleaning filtered files or not. */ private boolean clean = false; /** Initial extension of files being filtered. */ private String initialExtension = ; /** . */ private String finalExtension = ; /** Empty constructor. */ public JIJ4() { super(); } /** * Sets replace flag that will cause it to replace the final/target file. */ public void setReplace(String pReplaceStr) { replace = Project.toBoolean(pReplaceStr); } /** * Sets the clean attribute */ public void setClean(String cleanString) { clean = Project.toBoolean(cleanString); if ( clean ) { // Force directory scan to report all files replace = true; } } /** Set initialExtension. **/ public void setInitialExtension(String pInitialExt) { initialExtension = pInitialExt; } /** Set finalExtension. **/ public void setFinalExtension(String pFinalExt) { finalExtension = pFinalExt; } /** * Set the source dir to find the files to be renamed. */ public void setDir(String pSrcDir) { dir = project.resolveFile(pSrcDir); } /** * Executes the task, i.e. does the actual compiler call */ public void execute() throws BuildException { // first off, make sure that we've got a from and to extension if (initialExtension == null || finalExtension == null || dir == null) throw new BuildException(dir, initialExtension and finalExtension attributes not provided!); // scan source and dest dirs to build up rename
cvs commit: ant/xdocs contributors.xml
bodewig 2003/04/16 00:54:13 Modified:docs contributors.html xdocscontributors.xml Log: The contributors list is supoosed to be sorted - I think the locale for collation is en_US, not sure ;-) regen site to give Jesse and Antoine a chance to appear on the web (you need to run ant -f docs.xml after changing the XML sources). Revision ChangesPath 1.17 +9 -8 ant/docs/contributors.html Index: contributors.html === RCS file: /home/cvs/ant/docs/contributors.html,v retrieving revision 1.16 retrieving revision 1.17 diff -u -r1.16 -r1.17 --- contributors.html 14 Apr 2003 19:16:59 - 1.16 +++ contributors.html 16 Apr 2003 07:54:13 - 1.17 @@ -240,11 +240,9 @@ p bChristoph Wilhelms/b (christoph.wilhelms at t-online.de) br / -Christoph is teamleader and a lead software engineer at -a href=http://www.impress.com/english/index.html;IMPRESS SOFTWARE/a. He is resposible for -the development of administration tools and development environment for -the IMPRESS Engine, a Java-based intergration software. At the Ant-Project -he takes care of Antidote - the Ant GUI. +Christoph works as software engineer at the worlds biggest traval company +a href=http://www.tui.com;TUI/a. His passion are all UI related things so +at the Ant-Project he takes care of Antidote - the Ant GUI. /p h4 class=subsection a name=Emeritus Members/a @@ -321,6 +319,9 @@ platform (J2EE, XML, ...). /p p +bAntoine Levy-Lambert/bbr / +/p +p bAdam Murdoch/b br / /p @@ -356,6 +357,9 @@ well as the web application framework, a href=http://java.apache.org/turbine/;Turbine/a. /p p +bJesse Stockall/bbr / +/p +p bJames Todd/b (jwtodd at pacbell.net) br / James has developed real time customer oriented apps for roughly 10 @@ -372,9 +376,6 @@ compilers, Object Databases (SIGSEV, you da man!) for C++, Java ORB and EJB runtime environments -- in that order. /p -p -bJesse Stockall/bbr / -/p h4 class=subsection a name=Emeritus Committers/a Emeritus Committers 1.8 +8 -9 ant/xdocs/contributors.xml Index: contributors.xml === RCS file: /home/cvs/ant/xdocs/contributors.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- contributors.xml 16 Apr 2003 03:38:43 - 1.7 +++ contributors.xml 16 Apr 2003 07:54:13 - 1.8 @@ -179,6 +179,10 @@ /p p +bAntoine Levy-Lambert/bbr/ +/p + +p bAdam Murdoch/b br/ /p @@ -219,6 +223,10 @@ /p p +bJesse Stockall/bbr/ +/p + +p bJames Todd/b (jwtodd at pacbell.net) br/ James has developed real time customer oriented apps for roughly 10 @@ -236,15 +244,6 @@ compilers, Object Databases (SIGSEV, you da man!) for C++, Java ORB and EJB runtime environments -- in that order. /p - -p -bJesse Stockall/bbr/ -/p - -p -bAntoine Levy-Lambert/bbr/ -/p - /subsection subsection name=Emeritus Committers
Re: junit.jar in Ant 1.5.3 distro?!?!?
On Wed, 16 Apr 2003, Conor MacNeill [EMAIL PROTECTED] wrote: I'll rebuild the distribution tonight. One thing that you'll need to consider is that people may download the old distribution from a mirror and try to check it with the signature for the new distribution from www.apache.org. You will probably have to chose different names for the archives. Stefan
cvs commit: ant/xdocs contributors.xml
bodewig 2003/04/16 01:04:40 Modified:docs contributors.html xdocscontributors.xml Log: Typos Revision ChangesPath 1.18 +1 -1 ant/docs/contributors.html Index: contributors.html === RCS file: /home/cvs/ant/docs/contributors.html,v retrieving revision 1.17 retrieving revision 1.18 diff -u -r1.17 -r1.18 --- contributors.html 16 Apr 2003 07:54:13 - 1.17 +++ contributors.html 16 Apr 2003 08:04:40 - 1.18 @@ -240,7 +240,7 @@ p bChristoph Wilhelms/b (christoph.wilhelms at t-online.de) br / -Christoph works as software engineer at the worlds biggest traval company +Christoph works as software engineer at the world's biggest travel company a href=http://www.tui.com;TUI/a. His passion are all UI related things so at the Ant-Project he takes care of Antidote - the Ant GUI. /p 1.9 +1 -1 ant/xdocs/contributors.xml Index: contributors.xml === RCS file: /home/cvs/ant/xdocs/contributors.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- contributors.xml 16 Apr 2003 07:54:13 - 1.8 +++ contributors.xml 16 Apr 2003 08:04:40 - 1.9 @@ -91,7 +91,7 @@ p bChristoph Wilhelms/b (christoph.wilhelms at t-online.de) br/ -Christoph works as software engineer at the worlds biggest traval company +Christoph works as software engineer at the world's biggest travel company a href=http://www.tui.com;TUI/a. His passion are all UI related things so at the Ant-Project he takes care of Antidote - the Ant GUI. /p
DO NOT REPLY [Bug 19055] New: - New documentation for image
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=19055. 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=19055 New documentation for image Summary: New documentation for image Product: Ant Version: 1.6Alpha (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Documentation AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I played a little with the image task. First problem: no documentation. Ok, it´s open source. A view into the source and (for improving the existing manual) write the doco. Ok, it doesn´t work on my machine. I don´t know why and I don´t want do spend more time on that - I don´t need that really :-) The image task depends on the Java Advanced Image API from Sun (- library dependencies): http://java.sun.com/products/java-media/jai
DO NOT REPLY [Bug 19055] - New documentation for image
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=19055. 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=19055 New documentation for image --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 08:28 --- Created an attachment (id=5854) Zip with HTML doco and GIF (class diagram)
DO NOT REPLY [Bug 19056] - Allow EnumeratedAttributes zu hold values caseinsensitive
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=19056. 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=19056 Allow EnumeratedAttributes zu hold values caseinsensitive --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 08:56 --- Created an attachment (id=5855) Implementation and Tests (full source and diff)
DO NOT REPLY [Bug 19057] New: - JspC, parsing not done when destination file exists
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=19057. 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=19057 JspC, parsing not done when destination file exists Summary: JspC, parsing not done when destination file exists Product: Ant Version: 1.5.3 Platform: Other OS/Version: Windows XP Status: NEW Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] JspC does not parse files when destination files exist; well this is only part of the problem description. I attended to the issue and attach the corrected files. Please search for Emmanuel in the attached files to see my proposed changes; I prefer that my changes be used as guidelines by the program owners, rather than me making the changes on the live source. Thank you for a super product. Kind regards Emmanuel
DO NOT REPLY [Bug 19057] - JspC, parsing not done when destination file exists
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=19057. 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=19057 JspC, parsing not done when destination file exists --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 09:16 --- Created an attachment (id=5857) JspNameMangler with proposed changes.
[GUMP] Test Failure - Ant
This email is autogenerated from the output from: http://cvs.apache.org/builds/gump/2003-04-16/test-ant.html Buildfile: build.xml check_for_optional_packages: xml-check: dump-sys-properties: run-which: [which] # BEGIN: Which report [which] Which.version=Which.java:($Revision: 1.4 $) WhichJar.java:($Revision: 1.3 $) [which] Which.special-note=No -projects provided, using DEFAULT_PROJECTS [which] java.version=1.4.1_02 [which] file.encoding=ANSI_X3.4-1968 [which] java.ext.dirs=/usr/java/j2sdk1.4.1_02/jre/lib/ext [which] java.class.path=/home/rubys/jakarta/xml-xerces2/java/build/xmlParserAPIs.jar:/home/rubys/jakarta/xml-xerces2/java/build/xercesImpl.jar:/home/rubys/jakarta/xml-xalan/java/build/xalan.jar:/home/rubys/jakarta/xml-commons/java/external/build/xml-apis.jar:.:/usr/java/j2sdk1.4.1_02/lib/tools.jar:/usr/java/j2sdk1.4.1_02/jre/lib/rt.jar:/usr/java/j2sdk1.4.1_02/lib/tools.jar:/home/rubys/jakarta/ant/build/lib/ant-testutil.jar:/home/rubys/jakarta/xml-commons/java/build/which.jar:/home/rubys/jakarta/rhino/build/rhino_20030416/js.jar:/home/rubys/jakarta/beanshell/dist/bsh-20030416.jar:/home/rubys/jakarta/beanshell/dist/bsh-bsf-20030416.jar:/home/rubys/jakarta/beanshell/dist/bsh-classpath-20030416.jar:/home/rubys/jakarta/beanshell/dist/bsh-commands-20030416.jar:/home/rubys/jakarta/beanshell/dist/bsh-core-20030416.jar:/home/rubys/jakarta/beanshell/dist/bsh-reflect-20030416.jar:/home/rubys/jakarta/beanshell/dist/bsh-util-20030416.jar:/home/rubys/jakarta/jakarta-commons/logging/dist/commons-logging.jar:/home/rubys/jakarta/jakar [which] ta-commons/logging/dist/commons-logging-api.jar:/home/rubys/jakarta/jakarta-log4j/log4j-20030416.jar:/home/rubys/jakarta/jakarta-log4j/log4j-lf5-20030416.jar:/home/rubys/jakarta/jakarta-log4j/log4j-chainsaw-20030416.jar:/home/rubys/jakarta/xml-stylebook/bin/stylebook-1.0-b3_xalan-2.jar:/home/rubys/jakarta/jakarta-oro/jakarta-oro-20030416.jar:/home/rubys/jakarta/xml-commons/java/build/resolver.jar:/home/rubys/jakarta/jakarta-bcel/bin/bcel.jar:/opt/javamail-1.3/mail.jar:/opt/jaf-1.0.1/activation.jar:/opt/jdepend-2.6/lib/jdepend.jar:/home/rubys/jakarta/jakarta-commons/net/dist/commons-net-20030416.jar:/home/rubys/jakarta/jakarta-bsf/src/bsf-2.3/build/lib/bsf.jar:/home/rubys/jakarta/ant/dist/lib/ant.jar:/home/rubys/jakarta/ant/dist/lib/ant-jmf.jar:/home/rubys/jakarta/ant/dist/lib/ant-junit.jar:/home/rubys/jakarta/ant/dist/lib/ant-stylebook.jar:/home/rubys/jakarta/ant/dist/lib/ant-swing.jar:/home/rubys/jakarta/ant/dist/lib/ant-trax.jar:/home/rubys/jakarta/ant/dist/lib/ant-xalan2.jar:/home/rubys/jakarta/ant/dist/lib [which] /nodeps.jar:/home/rubys/jakarta/ant/build/lib/ant.jar:/home/rubys/jakarta/ant/build/lib/ant-antlr.jar:/home/rubys/jakarta/ant/build/lib/ant-apache-bsf.jar:/home/rubys/jakarta/ant/build/lib/ant-apache-resolver.jar:/home/rubys/jakarta/ant/build/lib/ant-bcel.jar:/home/rubys/jakarta/ant/build/lib/ant-commons-logging.jar:/home/rubys/jakarta/ant/build/lib/ant-commons-net.jar:/home/rubys/jakarta/ant/build/lib/ant-jakarta-regexp.jar:/home/rubys/jakarta/ant/build/lib/ant-javamail.jar:/home/rubys/jakarta/ant/build/lib/ant-jdepend.jar:/home/rubys/jakarta/ant/build/lib/ant-jmf.jar:/home/rubys/jakarta/ant/build/lib/ant-jsch.jar:/home/rubys/jakarta/ant/build/lib/ant-junit.jar:/home/rubys/jakarta/ant/build/lib/ant-log4j.jar:/home/rubys/jakarta/ant/build/lib/ant-oro.jar:/home/rubys/jakarta/ant/build/lib/ant-stylebook.jar:/home/rubys/jakarta/ant/build/lib/ant-swing.jar:/home/rubys/jakarta/ant/build/lib/ant-trax.jar:/home/rubys/jakarta/ant/build/lib/ant-xalan2.jar:/home/rubys/jakarta/ant/build/lib/nodeps.jar:/opt/antlr-2.7.2/an [which] tlrall.jar:/opt/antlr-2.7.2/antlr.jar:/home/rubys/jakarta/ant/bootstrap/lib/ant.jar:/home/rubys/jakarta/jakarta-servletapi-4/lib/servlet.jar:/opt/jsch-0.1.3/dist/lib/jsch-gump.jar:/home/rubys/jakarta/dist/junit/junit.jar:/home/rubys/jakarta/jakarta-tomcat-4.0/dist/common/lib/jasper-compiler.jar:/home/rubys/jakarta/jakarta-tomcat-4.0/dist/common/lib/jasper-runtime.jar:/home/rubys/jakarta/jakarta-regexp/bin/jakarta-regexp-20030416.jar:/home/rubys/jakarta/ant/build/testcases:/home/rubys/jakarta/ant/src/testcases:/home/rubys/jakarta/ant/src/etc/testcases [which] Which.status=.ok-present [which] os.name=Linux [which] java.vendor=Sun Microsystems Inc. [which] sun.boot.class.path=/home/rubys/jakarta/xml-commons/java/external/build/xml-apis.jar:/home/rubys/jakarta/xml-xalan/java/build/xalan.jar:/home/rubys/jakarta/xml-xerces2/java/build/xercesImpl.jar:/home/rubys/jakarta/xml-xerces2/java/build/xmlParserAPIs.jar:/usr/java/j2sdk1.4.1_02/jre/lib/rt.jar:/usr/java/j2sdk1.4.1_02/jre/lib/i18n.jar:/usr/java/j2sdk1.4.1_02/jre/lib/sunrsasign.jar:/usr/java/j2sdk1.4.1_02/jre/lib/jsse.jar:/usr/java/j2sdk1.4.1_02/jre/lib/jce.jar:/usr/java/j2sdk1.4.1_02/jre/lib/charsets.jar:/usr/java/j2sdk1.4.1_02
Re: [GUMP] Test Failure - Ant
On 16 Apr 2003, Diane Holt [EMAIL PROTECTED] wrote: [junit] Testcase: testCheckoutCommandLine(org.apache.tools.ant.taskdefs.optional.vss.MSVSSTest): FAILED [junit] extra args [junit] junit.framework.AssertionFailedError: extra args [junit] at junit.framework.Assert.fail(Assert.java:47) [junit] at org.apache.tools.ant.taskdefs.optional.vss.MSVSSTest.checkCommandLines(MSVSSTest.java:455) [junit] at org.apache.tools.ant.taskdefs.optional.vss.MSVSSTest.testCheckoutCommandLine(MSVSSTest.java:323) happens on my machine (Linux, in case this is important) as well. Stefan
DO NOT REPLY [Bug 19064] New: - Problem with ftp task transferring from Windows to Linux
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=19064. 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=19064 Problem with ftp task transferring from Windows to Linux Summary: Problem with ftp task transferring from Windows to Linux Product: Ant Version: 1.5.3 Platform: All OS/Version: Windows NT/2K Status: UNCONFIRMED Severity: Normal Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] CC: [EMAIL PROTECTED] Hello, I am trying to upload files using the ftp task. But the ftp task aborts the transfer after a few files with the following message (obviously, it cannot change directories, but why?): C:\ant_testant upload -Dname=Xtcm Buildfile: build.xml upload: [ftp] sending files [ftp] transferring C:\ant_test\checkout\Xtcm\.classpath [ftp] transferring C:\ant_test\checkout\Xtcm\.project [ftp] transferring C:\ant_test\checkout\Xtcm\.uml\mapping.repository [ftp] transferring C:\ant_test\checkout\Xtcm\.uml\uml.repository [ftp] transferring C:\ant_test\checkout\Xtcm\build.xml [ftp] transferring C:\ant_test\checkout\Xtcm\copy\com\ibm\de\scm\xtcm\ant\ AntRunner.java [ftp] transferring C:\ant_test\checkout\Xtcm\copy\com\ibm\de\scm\xtcm\ant\ AntRunnerTester.java [ftp] transferring C:\ant_test\checkout\Xtcm\copy\com\ibm\de\scm\xtcm\ant\ EntityManagerImpl.java [ftp] transferring C:\ant_test\checkout\Xtcm\copy\com\ibm\de\scm\xtcm\core \InvocationManagerImpl.java BUILD FAILED file:C:/ant_test/build.xml:71: could not change to directory: 550 copy\com\ibm\d e\scm\xtcm: No such file or directory. Here's the code: ftp userid=oalth password=oal123 server=lnxcce1 remotedir=checkout/Xtcm_Docu verbose=true fileset dir=${basedir}/${cvs.checkout.dir}/${name} include name=**/*.*/ /fileset /ftp
DO NOT REPLY [Bug 19056] - Allow EnumeratedAttributes to hold values caseinsensitive
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=19056. 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=19056 Allow EnumeratedAttributes to hold values caseinsensitive [EMAIL PROTECTED] changed: What|Removed |Added Summary|Allow EnumeratedAttributes |Allow EnumeratedAttributes |zu hold values |to hold values |caseinsensitive |caseinsensitive
cvs commit: ant/docs/manual/OptionalTasks image-classdiagram.gif image.html
bodewig 2003/04/16 05:44:44 Modified:docs/manual install.html optionaltasklist.html Added: docs/manual/OptionalTasks image-classdiagram.gif image.html Log: Documentation for the image task. PR: 19055 Submitted by: Jan Matèrne jan at materne dot de Revision ChangesPath 1.50 +6 -0 ant/docs/manual/install.html Index: install.html === RCS file: /home/cvs/ant/docs/manual/install.html,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- install.html 10 Apr 2003 06:11:02 - 1.49 +++ install.html 16 Apr 2003 12:44:44 - 1.50 @@ -424,6 +424,12 @@ tda href=http://www.jcraft.com/jsch/index.html; target=_tophttp://www.jcraft.com/jsch/index.html/a/td /tr + tr +tdJAI - Java Advanded Imaging/td +tdimage task/td +tda href=http://java.sun.com/products/java-media/jai/; +target=_tophttp://java.sun.com/products/java-media/jai//a/td + /tr /table br hr 1.37 +1 -0 ant/docs/manual/optionaltasklist.html Index: optionaltasklist.html === RCS file: /home/cvs/ant/docs/manual/optionaltasklist.html,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- optionaltasklist.html 13 Mar 2003 09:01:54 - 1.36 +++ optionaltasklist.html 16 Apr 2003 12:44:44 - 1.37 @@ -28,6 +28,7 @@ a href=OptionalTasks/echoproperties.htmlEchoproperties/abr a href=OptionalTasks/ftp.htmlFTP/abr a href=OptionalTasks/icontract.htmlIContract/abr +a href=OptionalTasks/image.htmlImage/abr a href=OptionalTasks/jarlib-available.htmlJarlib-available/abr a href=OptionalTasks/jarlib-display.htmlJarlib-display/abr a href=OptionalTasks/jarlib-manifest.htmlJarlib-manifest/abr 1.1 ant/docs/manual/OptionalTasks/image-classdiagram.gif Binary file 1.1 ant/docs/manual/OptionalTasks/image.html Index: image.html === html head meta http-equiv=Content-Language content=en-us titleImage Task/title /head body h2a name=imageImage/a/h2 h3Description/h3 pApplies a chain of image operations on a set of files./p pRequires Java Advanced Image API from Sun./p h5Overview of used datatypes/h5 img src=image-classdiagram.gif border=0 alt=Class-Diagram h3Parameters/h3 table border=1 cellpadding=2 cellspacing=0 tr td valign=topbAttribute/b/td td valign=topbDescription/b/td td align=center valign=topbRequired/b/td /tr tr td valign=top failonerror /td td valign=top Boolean value. If false, note errors to the output but keep going. /td td align=center no (defaults to itrue/i) /td /tr tr td valign=top srcdir /td td valign=top Directory containing the images. /td td align=center yes, unless nested fileset is used /td /tr tr td valign=top encoding /td td valign=top Image encoding type. br Valid (caseinsensitive) are: jpg, jpeg, tif, tiff /td td align=center no (defaults to iJPEG/i) /td /tr tr td valign=top overwrite /td td valign=top Boolean value. Sets whether or not to overwrite a file if there is naming conflict. /td td align=center no (defaults to ifalse/i) /td /tr tr td valign=top gc /td td valign=top Boolean value. Enables garbage collection after each image processed. /td td align=center no (defaults to ifalse/i) /td /tr tr td valign=top destdir /td td valign=top Directory where the result images are stored. /td td align=center no (defaults to value of isrcdir/i) /td /tr !-- attributes inherited from MatchingTask -- tr td valign=topincludes/td td valign=topcomma- or space-separated list of patterns of files that must be included. All files are included when omitted./td td valign=top align=centerNo/td /tr tr td valign=topincludesfile/td td valign=topthe name of a file. Each line of this file is taken to be an include pattern/td td valign=top align=centerNo/td /tr tr td valign=top excludes/td td valign=topcomma- or space-separated list of patterns of files that must be excluded. No files (except default excludes) are excluded when omitted./td td valign=top align=centerNo/td /tr tr td valign=topexcludesfile/td td valign=topthe name of a file. Each line of this file is taken to be an exclude pattern/td td valign=top align=centerNo/td /tr tr td valign=topdefaultexcludes/td td valign=topindicates whether default excludes should be
DO NOT REPLY [Bug 19055] - New documentation for image
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=19055. 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=19055 New documentation for image [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED Target Milestone|--- |1.6 --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 12:47 --- Committed, thanks. Quite a big diagram you have 8-) What did you use to create the diagram? and what does it doesn´t work on my machine mean in detail?
Re: cvs commit: ant/docs/manual/OptionalTasks image-classdiagram.gif image.html
Jan - thank you for contributing the documentation for image. Just the other day I was refreshing my memory on image and noticed no documentation existed yet. I was lazy and was going to keep pushing proposal/xdocs so that it would take care of it for us! :) Thanks for beating me to it. Erik On Wednesday, April 16, 2003, at 08:44 AM, [EMAIL PROTECTED] wrote: bodewig 2003/04/16 05:44:44 Modified:docs/manual install.html optionaltasklist.html Added: docs/manual/OptionalTasks image-classdiagram.gif image.html Log: Documentation for the image task. PR: 19055 Submitted by: Jan Matèrne jan at materne dot de Revision ChangesPath 1.50 +6 -0 ant/docs/manual/install.html Index: install.html === RCS file: /home/cvs/ant/docs/manual/install.html,v retrieving revision 1.49 retrieving revision 1.50 diff -u -r1.49 -r1.50 --- install.html 10 Apr 2003 06:11:02 - 1.49 +++ install.html 16 Apr 2003 12:44:44 - 1.50 @@ -424,6 +424,12 @@ tda href=http://www.jcraft.com/jsch/index.html; target=_tophttp://www.jcraft.com/jsch/index.html/a/td /tr + tr +tdJAI - Java Advanded Imaging/td +tdimage task/td +tda href=http://java.sun.com/products/java-media/jai/; + target=_tophttp://java.sun.com/products/java-media/jai//a/td + /tr /table br hr 1.37 +1 -0 ant/docs/manual/optionaltasklist.html Index: optionaltasklist.html === RCS file: /home/cvs/ant/docs/manual/optionaltasklist.html,v retrieving revision 1.36 retrieving revision 1.37 diff -u -r1.36 -r1.37 --- optionaltasklist.html 13 Mar 2003 09:01:54 - 1.36 +++ optionaltasklist.html 16 Apr 2003 12:44:44 - 1.37 @@ -28,6 +28,7 @@ a href=OptionalTasks/echoproperties.htmlEchoproperties/abr a href=OptionalTasks/ftp.htmlFTP/abr a href=OptionalTasks/icontract.htmlIContract/abr +a href=OptionalTasks/image.htmlImage/abr a href=OptionalTasks/jarlib-available.htmlJarlib-available/abr a href=OptionalTasks/jarlib-display.htmlJarlib-display/abr a href=OptionalTasks/jarlib-manifest.htmlJarlib-manifest/abr 1.1 ant/docs/manual/OptionalTasks/image-classdiagram.gif Binary file 1.1 ant/docs/manual/OptionalTasks/image.html Index: image.html === html head meta http-equiv=Content-Language content=en-us titleImage Task/title /head body h2a name=imageImage/a/h2 h3Description/h3 pApplies a chain of image operations on a set of files./p pRequires Java Advanced Image API from Sun./p h5Overview of used datatypes/h5 img src=image-classdiagram.gif border=0 alt=Class-Diagram h3Parameters/h3 table border=1 cellpadding=2 cellspacing=0 tr td valign=topbAttribute/b/td td valign=topbDescription/b/td td align=center valign=topbRequired/b/td /tr tr td valign=top failonerror /td td valign=top Boolean value. If false, note errors to the output but keep going. /td td align=center no (defaults to itrue/i) /td /tr tr td valign=top srcdir /td td valign=top Directory containing the images. /td td align=center yes, unless nested fileset is used /td /tr tr td valign=top encoding /td td valign=top Image encoding type. br Valid (caseinsensitive) are: jpg, jpeg, tif, tiff /td td align=center no (defaults to iJPEG/i) /td /tr tr td valign=top overwrite /td td valign=top Boolean value. Sets whether or not to overwrite a file if there is naming conflict. /td td align=center no (defaults to ifalse/i) /td /tr tr td valign=top gc /td td valign=top Boolean value. Enables garbage collection after each image processed. /td td align=center no (defaults to ifalse/i) /td /tr tr td valign=top destdir /td td valign=top Directory where the result images are stored. /td td align=center no (defaults to value of isrcdir/i) /td /tr !-- attributes inherited from MatchingTask -- tr td valign=topincludes/td td valign=topcomma- or space-separated list of patterns of files that must be included. All files are included when omitted./td td valign=top align=centerNo/td /tr tr td valign=topincludesfile/td td valign=topthe name of a file. Each line of this file is taken to be an include pattern/td td valign=top align=centerNo/td /tr tr td valign=top excludes/td td valign=topcomma- or space-separated list of patterns of files that must be excluded. No files (except default excludes) are excluded when omitted./td td valign=top align=centerNo/td /tr tr
DO NOT REPLY [Bug 18795] - Pathconvert strange behavior
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=18795. 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=18795 Pathconvert strange behavior [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID
DO NOT REPLY [Bug 18695] - Fix ant startup script to fully suport a relative link to it.
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=18695. 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=18695 Fix ant startup script to fully suport a relative link to it. [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||WORKSFORME
cvs commit: ant/src/etc log.xsl
bodewig 2003/04/16 05:56:44 Modified:src/etc log.xsl Log: Correctly echo selected properties. PR: 18588 Submitted by: Gary Gregory ggregory at seagullsw dot com Revision ChangesPath 1.10 +5 -5 ant/src/etc/log.xsl Index: log.xsl === RCS file: /home/cvs/ant/src/etc/log.xsl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- log.xsl 10 Feb 2003 14:13:28 - 1.9 +++ log.xsl 16 Apr 2003 12:56:44 - 1.10 @@ -3,7 +3,7 @@ !-- The Apache Software License, Version 1.1 - Copyright (c) 2000-2002 The Apache Software Foundation. All rights + Copyright (c) 2000-2003 The Apache Software Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without @@ -199,10 +199,10 @@ /tr /table table border=1 cellspacing=2 cellpadding=3 width=100% style=font-size:80% -tr class=atd width=1ant.file/tdtdxsl:value-of select=substring-after(message[contains(text(),'ant.file')], '-')//td/tr -tr class=btd width=1ant.version/tdtdxsl:value-of select=substring-after(message[contains(text(),'ant.version')], '-')//td/tr -tr class=atd width=1java.version/tdtdxsl:value-of select=substring-after(message[contains(text(),'java.vm.version')], '-')//td/tr -tr class=btd width=1os.name/tdtdxsl:value-of select=substring-after(message[contains(text(),'os.name')], '-')//td/tr +tr class=atd width=1ant.file/tdtdxsl:value-of select=substring-after(//message[contains(text(),'ant.file')], '-')//td/tr +tr class=btd width=1ant.version/tdtdxsl:value-of select=substring-after(//message[contains(text(),'ant.version')], '-')//td/tr +tr class=atd width=1java.version/tdtdxsl:value-of select=substring-after(//message[contains(text(),'java.vm.version')], '-')//td/tr +tr class=btd width=1os.name/tdtdxsl:value-of select=substring-after(//message[contains(text(),'os.name')], '-')//td/tr /table !-- build information -- h3Build events/h3
DO NOT REPLY [Bug 19051] - ANLTR optional task: it ignores the property debug
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=19051. 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=19051 ANLTR optional task: it ignores the property debug [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 13:03 --- should be fixed in nightly build 2003-04-17
Re: DynamicTag
- Original Message - From: Conor MacNeill [EMAIL PROTECTED] To: Ant Developers List [EMAIL PROTECTED] Sent: Tuesday, April 15, 2003 22:42 Subject: Re: DynamicTag The first place was a very long time ago and there was a lot of history for why Ant is the way it is. You might be interested in a little tutorial I wrote to try and explain this history: http://codefeed.com/tutorial/ant_config.html Slick. I like it.
ant tutorial
This tutorial is incredibly valuable, IMO. I would love to see this checked into CVS and given a permanent home on the ant website, kind of like ant in anger... 2c, --Craeg The first place was a very long time ago and there was a lot of history for why Ant is the way it is. You might be interested in a little tutorial I wrote to try and explain this history: http://codefeed.com/tutorial/ant_config.html Slick. I like it.
cvs commit: ant/src/testcases/org/apache/tools/ant/taskdefs/optional/vss MSVSSTest.java
jesse 2003/04/16 08:20:24 Modified:src/testcases/org/apache/tools/ant/taskdefs/optional/vss MSVSSTest.java Log: Missed updated testcase in previous commit Revision ChangesPath 1.3 +40 -7 ant/src/testcases/org/apache/tools/ant/taskdefs/optional/vss/MSVSSTest.java Index: MSVSSTest.java === RCS file: /home/cvs/ant/src/testcases/org/apache/tools/ant/taskdefs/optional/vss/MSVSSTest.java,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- MSVSSTest.java10 Feb 2003 14:14:55 - 1.2 +++ MSVSSTest.java16 Apr 2003 15:20:24 - 1.3 @@ -71,7 +71,7 @@ * * @author Jesse Stockall */ -public class MSVSSTest extends BuildFileTest { +public class MSVSSTest extends BuildFileTest implements MSVSSConstants { private Project project; private Commandline commandline; @@ -84,6 +84,7 @@ private static final String LOCAL_PATH = testdir; private static final String SRC_FILE = Class1.java; private static final String SRC_LABEL = label1; +private static final String LONG_LABEL = 123456789012345678901234567890; private static final String SRC_COMMENT = I fixed a bug; private static final String VERSION = 007; private static final String DATE = 00-00-00; @@ -107,7 +108,6 @@ */ protected void setUp() throws Exception { -; project = new Project(); project.setBasedir(.); } @@ -131,7 +131,7 @@ MSVSS.FLAG_OVERRIDE_WORKING_DIR + project.getBaseDir().getAbsolutePath() + File.separator + LOCAL_PATH, MSVSS.FLAG_AUTORESPONSE_DEF, MSVSS.FLAG_RECURSION, MSVSS.FLAG_VERSION + VERSION, MSVSS.FLAG_LOGIN - + VSS_USERNAME + , + VSS_PASSWORD}; + + VSS_USERNAME + , + VSS_PASSWORD, FLAG_FILETIME_UPDATED, FLAG_SKIP_WRITABLE}; // Set up a VSSGet task MSVSSGET vssGet = new MSVSSGET(); @@ -144,6 +144,12 @@ vssGet.setDate(DATE); vssGet.setLabel(SRC_LABEL); vssGet.setVsspath(VSS_PROJECT_PATH); +MSVSS.CurrentModUpdated cmu = new MSVSS.CurrentModUpdated(); +cmu.setValue(TIME_UPDATED); +vssGet.setFileTimeStamp(cmu); +MSVSS.WritableFiles wf = new MSVSS.WritableFiles(); +wf.setValue(WRITABLE_SKIP); +vssGet.setWritableFiles(wf); commandline = vssGet.buildCmdLine(); @@ -157,7 +163,7 @@ } /** Tests Label commandline generation. */ -public void testLabelCommandLine() { +public void testLabelCommandLine1() { String[] sTestCmdLine = {MSVSS.SS_EXE, MSVSS.COMMAND_LABEL, DS_VSS_PROJECT_PATH, MSVSS.FLAG_COMMENT + SRC_COMMENT, MSVSS.FLAG_AUTORESPONSE_YES, MSVSS.FLAG_LABEL + SRC_LABEL, MSVSS.FLAG_VERSION + VERSION, MSVSS.FLAG_LOGIN @@ -178,6 +184,26 @@ checkCommandLines(sTestCmdLine, commandline.getCommandline()); } +/** Tests Label commandline generation with a label of more than 31 chars. */ +public void testLabelCommandLine2() { +String[] sTestCmdLine = {MSVSS.SS_EXE, MSVSS.COMMAND_LABEL, DS_VSS_PROJECT_PATH, +MSVSS.FLAG_COMMENT + SRC_COMMENT, MSVSS.FLAG_AUTORESPONSE_DEF, +MSVSS.FLAG_LABEL + LONG_LABEL, +MSVSS.FLAG_LOGIN + VSS_USERNAME + , + VSS_PASSWORD}; + +// Set up a VSSLabel task +MSVSSLABEL vssLabel = new MSVSSLABEL(); +vssLabel.setProject(project); +vssLabel.setComment(SRC_COMMENT); +vssLabel.setLogin(VSS_USERNAME + , + VSS_PASSWORD); +vssLabel.setLabel(LONG_LABEL + blahblah); +vssLabel.setVsspath(VSS_PROJECT_PATH); + +commandline = vssLabel.buildCmdLine(); + +checkCommandLines(sTestCmdLine, commandline.getCommandline()); +} + /** * Test VSSLabel required attributes. */ @@ -190,7 +216,7 @@ /** Tests VSSHistory commandline generation with from label. */ public void testHistoryCommandLine1() { String[] sTestCmdLine = {MSVSS.SS_EXE, MSVSS.COMMAND_HISTORY, DS_VSS_PROJECT_PATH, -MSVSS.FLAG_AUTORESPONSE_DEF, MSVSS.FLAG_VERSION_LABEL + SRC_LABEL +MSVSS.FLAG_AUTORESPONSE_DEF, MSVSS.FLAG_VERSION_LABEL + LONG_LABEL + MSVSS.VALUE_FROMLABEL + SRC_LABEL, MSVSS.FLAG_LOGIN + VSS_USERNAME + , + VSS_PASSWORD, MSVSS.FLAG_OUTPUT + project.getBaseDir().getAbsolutePath() + File.separator + OUTPUT}; @@ -202,7 +228,7 @@ vssHistory.setLogin(VSS_USERNAME + , + VSS_PASSWORD); vssHistory.setFromLabel(SRC_LABEL); -
cvs commit: ant/xdocs bindownload.xml srcdownload.xml
conor 2003/04/16 08:22:35 Modified:docs bindownload.html srcdownload.html xdocsbindownload.xml srcdownload.xml Log: Updated 1.5.3 download to remove spurious junit.jar Revision ChangesPath 1.29 +15 -14ant/docs/bindownload.html Index: bindownload.html === RCS file: /home/cvs/ant/docs/bindownload.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -w -u -r1.28 -r1.29 --- bindownload.html 14 Apr 2003 14:30:10 - 1.28 +++ bindownload.html 16 Apr 2003 15:22:35 - 1.29 @@ -213,25 +213,26 @@ a href=[preferred]/ant/README.htmlrelease notes/a. /p div class=warning div class=labelNote/div -div class=contentAnt 1.5.3 has been released on 9-April-2003 and may not be available on all -mirrors for a few days +div class=contentAn updated version of Ant 1.5.3 has been released on 17-April-2003 and may not be available on all +mirrors for a few days. This updated version, apache-ant-1.5.3-1, is identical to the original 1.5.3 build apart from +the removal of a spurious junit.jar file. /div /div ul licode.zip/code archive: -a href=[preferred]/ant/binaries/apache-ant-1.5.3-bin.zipapache-ant-1.5.3-bin.zip/a -[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-bin.zip.asc;PGP/a] -[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-bin.zip.md5;MD5/a]/li +a href=[preferred]/ant/binaries/apache-ant-1.5.3-1-bin.zipapache-ant-1.5.3-1-bin.zip/a +[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.zip.asc;PGP/a] +[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.zip.md5;MD5/a]/li licode.tar.gz/code archive: -a href=[preferred]/ant/binaries/apache-ant-1.5.3-bin.tar.gzapache-ant-1.5.3-bin.tar.gz/a -[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-bin.tar.gz.asc;PGP/a] -[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-bin.tar.gz.md5;MD5/a]/li +a href=[preferred]/ant/binaries/apache-ant-1.5.3-1-bin.tar.gzapache-ant-1.5.3-1-bin.tar.gz/a +[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.tar.gz.asc;PGP/a] +[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.tar.gz.md5;MD5/a]/li licode.tar.bz2/code archive: -a href=[preferred]/ant/binaries/apache-ant-1.5.3-bin.tar.bz2apache-ant-1.5.3-bin.tar.bz2/a -[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-bin.tar.bz2.asc;PGP/a] -[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-bin.tar.bz2.md5;MD5/a]/li +a href=[preferred]/ant/binaries/apache-ant-1.5.3-1-bin.tar.bz2apache-ant-1.5.3-1-bin.tar.bz2/a +[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.tar.bz2.asc;PGP/a] +[a href=http://www.apache.org/dist/ant/binaries/apache-ant-1.5.3-1-bin.tar.bz2.md5;MD5/a]/li /ul h3 class=section a name=Nightly Builds/a @@ -262,17 +263,17 @@ using/p pcode % pgpk -a KEYSbr / -% pgpv apache-ant-1.5.3-bin.tar.gz.ascbr / +% pgpv apache-ant-1.5.3-1-bin.tar.gz.ascbr / /code emor/embr / code % pgp -ka KEYSbr / -% pgp apache-ant-1.5.3-bin.tar.gz.ascbr / +% pgp apache-ant-1.5.3-1-bin.tar.gz.ascbr / /code emor/embr / code % gpg --import KEYSbr / -% gpg --verify apache-ant-1.5.3-bin.tar.gz.asc +% gpg --verify apache-ant-1.5.3-1-bin.tar.gz.asc /code/p pAlternatively, you can verify the MD5 signature on the files. A unix program called codemd5/code or codemd5sum/code is 1.28 +15 -14ant/docs/srcdownload.html Index: srcdownload.html === RCS file: /home/cvs/ant/docs/srcdownload.html,v retrieving revision 1.27 retrieving revision 1.28 diff -u -w -u -r1.27 -r1.28 --- srcdownload.html 14 Apr 2003 14:30:10 - 1.27 +++ srcdownload.html 16 Apr 2003 15:22:35 - 1.28 @@ -211,25 +211,26 @@ a href=[preferred]/ant/README.htmlrelease notes/a./p div class=warning div class=labelNote/div -div class=contentAnt 1.5.3 has been released on 9-April-2003 and may not be available on all -mirrors for a few days +div class=contentAn updated version of Ant 1.5.3 has been released on 17-April-2003 and may not be available on all +mirrors for a few days. This updated version, apache-ant-1.5.3-1, is identical to the original 1.5.3 build apart from +the removal of a spurious junit.jar file. /div /div ul licode.zip/code archive: -a href=[preferred]/ant/source/apache-ant-1.5.3-src.zipapache-ant-1.5.3-src.zip/a -[a
Re: junit.jar in Ant 1.5.3 distro?!?!?
On Wed, 16 Apr 2003 05:56 pm, Stefan Bodewig wrote: One thing that you'll need to consider is that people may download the old distribution from a mirror and try to check it with the signature for the new distribution from www.apache.org. You will probably have to chose different names for the archives. Good point. I have uploaded (34M on my poor old dialup) an updated build named apache-ant-1.5.3-1 if people can check it ok and make sure it is OK, I'd appreciate it. Conor
DO NOT REPLY [Bug 18522] - RMIC task with destination directory
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=18522. 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=18522 RMIC task with destination directory [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||INVALID --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 15:35 --- The base attribute of the rmic target IS the destination directory of the compiled classes, which can be different of where are found the classes to compile (specified in the classpath).
DO NOT REPLY [Bug 19077] New: - Telnet task doesn't support failure
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=19077. 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=19077 Telnet task doesn't support failure Summary: Telnet task doesn't support failure Product: Ant Version: 1.6Alpha (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The Ant telnet task doesn't support failing early if something goes wrong. What I wanted to do was run a script on a remote server, which finishes with ok if everything worked and failed if not. The remote script could take some time, which is why waiting for ok with a timeout wasn't quite good enough. I've added code to TelnetTask which allows a new failon attribute for read elements. If the text in the attribute is read from the connection, the task fails. I use this to stop a build if deployment to a remote container fails. I'll attach the patch (cvs -q diff -u) after creating the bug.
DO NOT REPLY [Bug 19077] - Telnet task doesn't support failure
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=19077. 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=19077 Telnet task doesn't support failure --- Additional Comments From [EMAIL PROTECTED] 2003-04-16 16:22 --- Created an attachment (id=5861) Patch to add failon attribute to telnet's read task.
Re: ant tutorial
I agree. This is really cool. The section labeled Top Level Tasks seems to say that tasks on the top level are run at parse-time. Does this mean that the order of tasks at the top level is the order of execution, or do the old toplevel tasks still run first? Gus Craeg Strong wrote: This tutorial is incredibly valuable, IMO. I would love to see this checked into CVS and given a permanent home on the ant website, kind of like ant in anger... 2c, --Craeg The first place was a very long time ago and there was a lot of history for why Ant is the way it is. You might be interested in a little tutorial I wrote to try and explain this history: http://codefeed.com/tutorial/ant_config.html Slick. I like it. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: junit.jar in Ant 1.5.3 distro?!?!?
On Wed, 2003-04-16 at 11:35, Conor MacNeill wrote: On Wed, 16 Apr 2003 05:56 pm, Stefan Bodewig wrote: One thing that you'll need to consider is that people may download the old distribution from a mirror and try to check it with the signature for the new distribution from www.apache.org. You will probably have to chose different names for the archives. Good point. I have uploaded (34M on my poor old dialup) an updated build named apache-ant-1.5.3-1 if people can check it ok and make sure it is OK, I'd appreciate it. The zips and tar.gzs off the website look good, no junit and valid signatures. -- Jesse Stockall [EMAIL PROTECTED]