DO NOT REPLY [Bug 18305] New: - war task create lower case web-inf entry in war 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=18305. 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=18305 war task create lower case web-inf entry in war file Summary: war task create lower case web-inf entry in war file Product: Ant Version: 1.5.2 Platform: All OS/Version: All Status: NEW Severity: Major Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] FOr some reason, the war task is creating lower case WEB-INF directories in the webapp.war file. This is not too much of a problem on windows machines, byt sending the war to a unix machine can be disastorus. AFAIK, the WEB-INF directory should be upper case. Of course, I could be way out to lunch here, and it doesn't matter... however every other tool I have ever used creates upper case WEB-INF directories, which means that on unix, I get two WEB-INF directories.
JBuilder Gel IDE Integration
In the IDE and Editor Integration section of the External Tools and Tasks page it lists an older ant plugin for JBuilder but it doesn't list Borland JBuilder 8 Enterprise which now supports ANT natively. Also, GEL from www.gexperts.com also supports ANT and isn't listed. I didn't submit a bug on this 'cause I wasn't sure if this should normally come from the vendor themselves. But here are the details if anyone wants to make the update. Borland JBuilder Enterprise Java IDE with support for Ant. Compatibility: JBuilder 8 comes with Ant 1.5.1 URL:http://www.borland.com/jbuilder/index.html Contact:[EMAIL PROTECTED] License:Commercial GEL IDE for Windows Java IDE with support for Ant. Compatibility: Ant 1.4 and above URL:http://www.gexperts.com/gel.html Contact:[EMAIL PROTECTED] License:Freeware
Re: JBuilder Gel IDE Integration
On Tue, 25 Mar 2003, Paul King [EMAIL PROTECTED] wrote: I didn't submit a bug on this 'cause I wasn't sure if this should normally come from the vendor themselves. Well, let's say we are not searching for the information, but add them when they get sent to us. Some vendors actually seem to care for this list (the NetBeans folks regularly send updates) while most don't. But here are the details if anyone wants to make the update. I'll look into it. Stefan
DO NOT REPLY [Bug 18217] - add charset convert to copy
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=18217. 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=18217 add charset convert to copy --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 08:21 --- I don't think filterreaders would help here, as we explicitly set the encoding of the output stream when writing the file. We probably really need a second attribute to specify the output encoding.
Re: JBuilder Gel IDE Integration
On Tue, 25 Mar 2003, Paul King [EMAIL PROTECTED] wrote: GEL IDE for Windows License: Freeware Isn't very specific and the site doesn't seem to give more details. I've downloaded the latest RC to see whether there are more license details but the setup.exe doesn't do any good on my Linux box 8-) Could you please take a look and pull out the exact words of the license? Freeware is applied to software licensed under GPL as well as stuff that is in the public domain. Stefan
cvs commit: ant/xdocs external.xml
bodewig 2003/03/25 00:43:34 Modified:docs external.html xdocsexternal.xml Log: Add pointers to JBuilder 8 Enterprise and Gel. Submitted by: Paul King king at asert dot com dot au Revision ChangesPath 1.99 +108 -0ant/docs/external.html Index: external.html === RCS file: /home/cvs/ant/docs/external.html,v retrieving revision 1.98 retrieving revision 1.99 diff -u -r1.98 -r1.99 --- external.html 18 Mar 2003 16:34:55 - 1.98 +++ external.html 25 Mar 2003 08:43:34 - 1.99 @@ -3361,6 +3361,59 @@ /tr /table br/ + a name=Gel/a + table border=0 cellspacing=0 cellpadding=2 width=100% +trtd bgcolor=#4C6C8F + font color=#ff face=arial,helvetica,sanserif +strongGel/strong + /font +/td/tr + /table +pJava IDE with support for Ant. Gel is a native Microsoft +Windows software./p + table class=ForrestTable cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Compatibility: + /th + td colspan=1 rowspan=1 + valign=top align=left + Ant 1.4 and above + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://www.gexperts.com/gel.html;http://www.gexperts.com/gel.html/a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + Contact: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://groups.yahoo.com/group/gelide/;Project Mailing List/a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + License: + /th + td colspan=1 rowspan=1 + valign=top align=left + Freeware + /td + /tr +/table +br/ a name=HP RadPak/a table border=0 cellspacing=0 cellpadding=2 width=100% trtd bgcolor=#4C6C8F @@ -3449,6 +3502,61 @@ td colspan=1 rowspan=1 valign=top align=left a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + License: + /th + td colspan=1 rowspan=1 + valign=top align=left + Commercial + /td + /tr +/table +br/ + a name=JBuilder 8 Enterprise/a + table border=0 cellspacing=0 cellpadding=2 width=100% +trtd bgcolor=#4C6C8F + font color=#ff face=arial,helvetica,sanserif +strongJBuilder 8 Enterprise/strong + /font +/td/tr + /table +pJBuilder 8 Enterprise and Performance Bundle +come with built-in Ant support. JBuilder 8 Personal and SE +don't support Ant directly, but a href=#AntRunneran +OpenTool/a is available for them./p + table class=ForrestTable cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Compatibility: + /th + td colspan=1 rowspan=1 + valign=top align=left + Bundles Ant 1.5.1 + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://www.borland.com/jbuilder/index.html;http://www.borland.com/jbuilder/index.html/a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + Contact: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a /td /tr tr 1.76 +52 -0 ant/xdocs/external.xml Index: external.xml === RCS file: /home/cvs/ant/xdocs/external.xml,v
cvs commit: ant/xdocs external.xml
bodewig 2003/03/25 00:44:34 Modified:docs Tag: ANT_15_BRANCH external.html xdocsTag: ANT_15_BRANCH external.xml Log: Merge with HEAD Revision ChangesPath No revision No revision 1.48.2.32 +108 -0ant/docs/external.html Index: external.html === RCS file: /home/cvs/ant/docs/external.html,v retrieving revision 1.48.2.31 retrieving revision 1.48.2.32 diff -u -r1.48.2.31 -r1.48.2.32 --- external.html 20 Mar 2003 08:09:27 - 1.48.2.31 +++ external.html 25 Mar 2003 08:44:33 - 1.48.2.32 @@ -3361,6 +3361,59 @@ /tr /table br/ + a name=Gel/a + table border=0 cellspacing=0 cellpadding=2 width=100% +trtd bgcolor=#4C6C8F + font color=#ff face=arial,helvetica,sanserif +strongGel/strong + /font +/td/tr + /table +pJava IDE with support for Ant. Gel is a native Microsoft +Windows software./p + table class=ForrestTable cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Compatibility: + /th + td colspan=1 rowspan=1 + valign=top align=left + Ant 1.4 and above + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://www.gexperts.com/gel.html;http://www.gexperts.com/gel.html/a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + Contact: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://groups.yahoo.com/group/gelide/;Project Mailing List/a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + License: + /th + td colspan=1 rowspan=1 + valign=top align=left + Freeware + /td + /tr +/table +br/ a name=HP RadPak/a table border=0 cellspacing=0 cellpadding=2 width=100% trtd bgcolor=#4C6C8F @@ -3449,6 +3502,61 @@ td colspan=1 rowspan=1 valign=top align=left a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + License: + /th + td colspan=1 rowspan=1 + valign=top align=left + Commercial + /td + /tr +/table +br/ + a name=JBuilder 8 Enterprise/a + table border=0 cellspacing=0 cellpadding=2 width=100% +trtd bgcolor=#4C6C8F + font color=#ff face=arial,helvetica,sanserif +strongJBuilder 8 Enterprise/strong + /font +/td/tr + /table +pJBuilder 8 Enterprise and Performance Bundle +come with built-in Ant support. JBuilder 8 Personal and SE +don't support Ant directly, but a href=#AntRunneran +OpenTool/a is available for them./p + table class=ForrestTable cellspacing=1 cellpadding=4 + tr + th colspan=1 rowspan=1 + valign=top align=left + Compatibility: + /th + td colspan=1 rowspan=1 + valign=top align=left + Bundles Ant 1.5.1 + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + URL: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=http://www.borland.com/jbuilder/index.html;http://www.borland.com/jbuilder/index.html/a + /td + /tr + tr + th colspan=1 rowspan=1 + valign=top align=left + Contact: + /th + td colspan=1 rowspan=1 + valign=top align=left + a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a /td /tr tr No revision No revision 1.35.2.31 +52 -0 ant/xdocs/external.xml Index:
DO NOT REPLY [Bug 18217] - add charset convert to copy
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=18217. 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=18217 add charset convert to copy --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 08:52 --- Thank you Stefan Bodewig. maybe this will be a big change, and cost some time to add this feature.
cvs commit: ant/xdocs external.xml
bodewig 2003/03/25 01:04:52 Modified:docs external.html xdocsexternal.xml Log: Fix some URLs Revision ChangesPath 1.100 +13 -13ant/docs/external.html Index: external.html === RCS file: /home/cvs/ant/docs/external.html,v retrieving revision 1.99 retrieving revision 1.100 diff -u -r1.99 -r1.100 --- external.html 25 Mar 2003 08:43:34 - 1.99 +++ external.html 25 Mar 2003 09:04:51 - 1.100 @@ -230,7 +230,7 @@ /font /td/tr /table -pa href=http://aspectj.org;AspectJ/a is an +pa href=http://www.eclipse.org/aspectj/;AspectJ/a is an aspect-oriented extension to Java. This task compiles a source tree using the AspectJ compiler -- AJC./p table class=ForrestTable cellspacing=1 cellpadding=4 @@ -251,7 +251,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://aspectj.org/dl;http://aspectj.org/dl/a + a href=http://www.eclipse.org/aspectj/;http://www.eclipse.org/aspectj//a /td /tr tr @@ -261,7 +261,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a + a href=http://www.eclipse.org/aspectj/;project mailing lists/a /td /tr tr @@ -362,7 +362,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://aft.sourceforge.net;http://aft.sourceforge.net/a + a href=http://aft.sourceforge.net/;http://aft.sourceforge.net//a /td /tr tr @@ -586,7 +586,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.thecortex.net/clover;http://www.thecortex.net/clover/a + a href=http://www.thecortex.net/clover/;http://www.thecortex.net/clover//a /td /tr tr @@ -799,7 +799,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://ant-doxygen.sourceforge.net;http://ant-doxygen.sourceforge.net/a + a href=http://ant-doxygen.sourceforge.net/;http://ant-doxygen.sourceforge.net//a /td /tr tr @@ -1264,7 +1264,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.smartkey.co.uk/antic.html;www.smartkey.co.uk/a + a href=http://www.smartkey.co.uk/antic.html;http://www.smartkey.co.uk/antic.html/a /td /tr @@ -1320,7 +1320,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://jacson.sourceforge.net;http://jacson.sourceforge.net/a + a href=http://jacson.sourceforge.net/;http://jacson.sourceforge.net//a /td /tr tr @@ -1373,7 +1373,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://jalopy.sourceforge.net;http://jalopy.sourceforge.net/a + a href=http://jalopy.sourceforge.net/;http://jalopy.sourceforge.net//a /td /tr tr @@ -1505,7 +1505,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.java2html.de;http://www.java2html.de/a + a href=http://www.java2html.de/;http://www.java2html.de//a /td /tr tr @@ -2958,7 +2958,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.yworks.com/products/yguard;http://www.yworks.com/products/yguard/a + a href=http://www.yworks.com/en/products_yguard_about.htm;http://www.yworks.com/en/products_yguard_about.htm/a /td /tr tr @@ -3232,7 +3232,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.dieter-bogdoll.de/java/AntRunner/;http://www.dieter-bogdoll.de/java/AntRunner//a + a href=http://antrunner.sourceforge.net/;http://antrunner.sourceforge.net//a /td /tr tr @@ -3336,7 +3336,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.eclipse.org;http://www.eclipse.org/a + a
cvs commit: ant/xdocs external.xml
bodewig 2003/03/25 01:05:40 Modified:docs Tag: ANT_15_BRANCH external.html xdocsTag: ANT_15_BRANCH external.xml Log: Fix some URLs Revision ChangesPath No revision No revision 1.48.2.33 +13 -13ant/docs/external.html Index: external.html === RCS file: /home/cvs/ant/docs/external.html,v retrieving revision 1.48.2.32 retrieving revision 1.48.2.33 diff -u -r1.48.2.32 -r1.48.2.33 --- external.html 25 Mar 2003 08:44:33 - 1.48.2.32 +++ external.html 25 Mar 2003 09:05:39 - 1.48.2.33 @@ -230,7 +230,7 @@ /font /td/tr /table -pa href=http://aspectj.org;AspectJ/a is an +pa href=http://www.eclipse.org/aspectj/;AspectJ/a is an aspect-oriented extension to Java. This task compiles a source tree using the AspectJ compiler -- AJC./p table class=ForrestTable cellspacing=1 cellpadding=4 @@ -251,7 +251,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://aspectj.org/dl;http://aspectj.org/dl/a + a href=http://www.eclipse.org/aspectj/;http://www.eclipse.org/aspectj//a /td /tr tr @@ -261,7 +261,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=mailto:[EMAIL PROTECTED][EMAIL PROTECTED]/a + a href=http://www.eclipse.org/aspectj/;project mailing lists/a /td /tr tr @@ -362,7 +362,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://aft.sourceforge.net;http://aft.sourceforge.net/a + a href=http://aft.sourceforge.net/;http://aft.sourceforge.net//a /td /tr tr @@ -586,7 +586,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.thecortex.net/clover;http://www.thecortex.net/clover/a + a href=http://www.thecortex.net/clover/;http://www.thecortex.net/clover//a /td /tr tr @@ -799,7 +799,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://ant-doxygen.sourceforge.net;http://ant-doxygen.sourceforge.net/a + a href=http://ant-doxygen.sourceforge.net/;http://ant-doxygen.sourceforge.net//a /td /tr tr @@ -1264,7 +1264,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.smartkey.co.uk/antic.html;www.smartkey.co.uk/a + a href=http://www.smartkey.co.uk/antic.html;http://www.smartkey.co.uk/antic.html/a /td /tr @@ -1320,7 +1320,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://jacson.sourceforge.net;http://jacson.sourceforge.net/a + a href=http://jacson.sourceforge.net/;http://jacson.sourceforge.net//a /td /tr tr @@ -1373,7 +1373,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://jalopy.sourceforge.net;http://jalopy.sourceforge.net/a + a href=http://jalopy.sourceforge.net/;http://jalopy.sourceforge.net//a /td /tr tr @@ -1505,7 +1505,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.java2html.de;http://www.java2html.de/a + a href=http://www.java2html.de/;http://www.java2html.de//a /td /tr tr @@ -2958,7 +2958,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.yworks.com/products/yguard;http://www.yworks.com/products/yguard/a + a href=http://www.yworks.com/en/products_yguard_about.htm;http://www.yworks.com/en/products_yguard_about.htm/a /td /tr tr @@ -3232,7 +3232,7 @@ /th td colspan=1 rowspan=1 valign=top align=left - a href=http://www.dieter-bogdoll.de/java/AntRunner/;http://www.dieter-bogdoll.de/java/AntRunner//a + a href=http://antrunner.sourceforge.net/;http://antrunner.sourceforge.net//a /td /tr tr @@ -3336,7 +3336,7 @@ /th td colspan=1 rowspan=1
cvs commit: ant/src/main/org/apache/tools/ant/taskdefs Sync.java defaults.properties
bodewig 2003/03/25 01:31:00 Modified:.WHATSNEW src/main/org/apache/tools/ant/taskdefs defaults.properties Added: src/main/org/apache/tools/ant/taskdefs Sync.java Log: New task sync. PR: 12632 Submitted by: Dominique Devienne ddevienne at lgc dot com Dan Armbrust daniel dot armbrust at mayo dot edu Revision ChangesPath 1.370 +2 -0 ant/WHATSNEW Index: WHATSNEW === RCS file: /home/cvs/ant/WHATSNEW,v retrieving revision 1.369 retrieving revision 1.370 diff -u -r1.369 -r1.370 --- WHATSNEW 20 Mar 2003 09:10:53 - 1.369 +++ WHATSNEW 25 Mar 2003 09:30:59 - 1.370 @@ -172,6 +172,8 @@ * cab's basedir attribute is now optional if you specify nested filesets. Bugzilla Report 18046. +* New task sync that synchronizes two directory trees. + Changes from Ant 1.5.2 to Ant 1.5.3 === 1.143 +1 -0 ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties Index: defaults.properties === RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/defaults.properties,v retrieving revision 1.142 retrieving revision 1.143 diff -u -r1.142 -r1.143 --- defaults.properties 14 Mar 2003 00:42:04 - 1.142 +++ defaults.properties 25 Mar 2003 09:30:59 - 1.143 @@ -74,6 +74,7 @@ import=org.apache.tools.ant.taskdefs.ImportTask whichresource=org.apache.tools.ant.taskdefs.WhichResource subant=org.apache.tools.ant.taskdefs.SubAnt +sync=org.apache.tools.ant.taskdefs.Sync # optional tasks image=org.apache.tools.ant.taskdefs.optional.image.Image 1.1 ant/src/main/org/apache/tools/ant/taskdefs/Sync.java Index: Sync.java === /* * The Apache Software License, Version 1.1 * * Copyright (c) 2003 The Apache Software Foundation. All rights * reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright *notice, this list of conditions and the following disclaimer. * * 2. Redistributions in binary form must reproduce the above copyright *notice, this list of conditions and the following disclaimer in *the documentation and/or other materials provided with the *distribution. * * 3. The end-user documentation included with the redistribution, if *any, must include the following acknowlegement: * This product includes software developed by the *Apache Software Foundation (http://www.apache.org/). *Alternately, this acknowlegement may appear in the software itself, *if and wherever such third-party acknowlegements normally appear. * * 4. The names Ant and Apache Software *Foundation must not be used to endorse or promote products derived *from this software without prior written permission. For written *permission, please contact [EMAIL PROTECTED] * * 5. Products derived from this software may not be called Apache *nor may Apache appear in their names without prior written *permission of the Apache Group. * * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * * This software consists of voluntary contributions made by many * individuals on behalf of the Apache Software Foundation. For more * information on the Apache Software Foundation, please see * http://www.apache.org/. */ /* * This code is based on code Copyright (c) 2002, Landmark Graphics * Corp that has been kindly donated to the Apache Software * Foundation. */ package org.apache.tools.ant.taskdefs; import java.io.File; import java.util.Hashtable; import org.apache.tools.ant.BuildException; import
DO NOT REPLY [Bug 12632] - [PATCH] New lsync to synchronize a local directory from one or more filesets
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=12632. 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=12632 [PATCH] New lsync to synchronize a local directory from one or more filesets [EMAIL PROTECTED] changed: What|Removed |Added Status|ASSIGNED|RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 09:35 --- OK, I've added the task more or less as is (renamed the class, repackaged it and changed the formatting a little), but that's it. sync should be in nightly build 2003-03-26. Things that are missing: * documentation * tests Things I'd like to do before the 1.6 release: * revisit the need for MyCopy * maybe introduce some kind of plugin architecture that would allow using rsync instead of the built-in synchronization mechanism
DO NOT REPLY [Bug 18312] New: - [PATCH] New tokenfilter for filterchain
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=18312. 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=18312 [PATCH] New tokenfilter for filterchain Summary: [PATCH] New tokenfilter for filterchain Product: Ant Version: 1.6Alpha (nightly) Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: Other Component: Core tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] This filter tokenizes the input stream and embeds tokenhandlers to filter/modify the stream. some examples filterchain tokenfilter replaceregex pattern=([^/s]+) replace=[\1] flags=g/ /tokenfiter /filterchain Other examples are given in the html doc update to filterchain.
DO NOT REPLY [Bug 18312] - [PATCH] New tokenfilter for filterchain
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=18312. 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=18312 [PATCH] New tokenfilter for filterchain --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 11:20 --- Created an attachment (id=5493) The tokenfilter class (with embedded interfaces and classes)
DO NOT REPLY [Bug 18312] - [PATCH] New tokenfilter for filterchain
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=18312. 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=18312 [PATCH] New tokenfilter for filterchain --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 11:22 --- Created an attachment (id=5494) Patchs to current ant source to enable tokenfilter
DO NOT REPLY [Bug 18312] - [PATCH] New tokenfilter for filterchain
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=18312. 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=18312 [PATCH] New tokenfilter for filterchain --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 11:26 --- I have provided the implementation file in the first patch. The second patch is generated as a result of cvs diff -u [named files] at ant's top level directory. Three files are patched: src/main/org/apache/tools/ant/UnknownElement.java call set project on child classes if they have the method src/main/org/apache/tools/ant/types/FilterChain.java add tokenFilter to filterchain docs/manual/CoreTypes/filterchain.html update manual for tokenfilter Outstanding: unittests.
cvs commit: ant/xdocs antnews.xml index.xml
conor 2003/03/25 03:27:28 Modified:docs antnews.html index.html xdocsantnews.xml index.xml Log: Update website with 1.5.3 Beta 1 availability Remove Ant2 reference from front page Revision ChangesPath 1.59 +12 -0 ant/docs/antnews.html Index: antnews.html === RCS file: /home/cvs/ant/docs/antnews.html,v retrieving revision 1.58 retrieving revision 1.59 diff -u -w -u -r1.58 -r1.59 --- antnews.html 7 Mar 2003 11:32:18 - 1.58 +++ antnews.html 25 Mar 2003 11:27:26 - 1.59 @@ -211,6 +211,18 @@ /table br/ table class=nowrap border=0 cellspacing=0 cellpadding=2 width=100% +trtd bgcolor=#294563font color=#ffa name=Ant 1.5.3 Beta 1strongAnt 1.5.3 Beta 1/strong/a/font/td/tr + /table +h3March 25, 2003 - Ant 1.5.3 Beta 1 Available/h3 +pApache Ant 1.5.3 Beta 1 is now available for + a href=http://ant.apache.org/beta/;download/a. + Please download it and try it out. If you have any issues + please raise a bug on + a href=http://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant;BugZilla/a + or send an email to the Ant dev mailing list + /p + br/ + table class=nowrap border=0 cellspacing=0 cellpadding=2 width=100% trtd bgcolor=#294563font color=#ffa name=Ant 1.5.2strongAnt 1.5.2/strong/a/font/td/tr /table h3March 3, 2003 - Ant 1.5.2 Available!/h3 1.268 +8 -17 ant/docs/index.html Index: index.html === RCS file: /home/cvs/ant/docs/index.html,v retrieving revision 1.267 retrieving revision 1.268 diff -u -w -u -r1.267 -r1.268 --- index.html7 Mar 2003 11:32:19 - 1.267 +++ index.html25 Mar 2003 11:27:26 - 1.268 @@ -209,16 +209,15 @@ /table br/ table class=nowrap border=0 cellspacing=0 cellpadding=2 width=100% -trtd bgcolor=#294563font color=#ffa name=Ant Top Level Apache ProjectstrongAnt Top Level Apache Project/strong/a/font/td/tr +trtd bgcolor=#294563font color=#ffa name=Ant 1.5.3 Beta 1strongAnt 1.5.3 Beta 1/strong/a/font/td/tr /table -h3Ant Promoted to Top Level Apache Project/h3 -pOn November 18, 2002, the Apache board a href=mission.htmlcreated/a - the Apache Ant top level project. Ant has now migrated from the Jakarta - project into an Apache project of its own. This is primarily an - organizational change and will not affect the technical aspects of - the project. Ant retains a strong association with the Apache - Jakarta project. One effect of this change is that the Ant webpage - is now located at a href=http://ant.apache.org/;http://ant.apache.org//a +h3Ant 1.5.3 Beta 1 Available/h3 +pApache Ant 1.5.3 Beta 1 is now available for + a href=http://ant.apache.org/beta/;download/a. + Please download it and try it out. If you have any issues + please raise a bug on + a href=http://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant;BugZilla/a + or send an email to the Ant dev mailing list /p br/ table class=nowrap border=0 cellspacing=0 cellpadding=2 width=100% @@ -281,14 +280,6 @@ p If you wish to use the latest Ant features, you can try downloading a nightly build from a href=http://cvs.apache.org/builds/ant/nightly/;here/a -/p - br/ - table class=nowrap border=0 cellspacing=0 cellpadding=2 width=100% -trtd bgcolor=#294563font color=#ffa name=Towards Ant2strongTowards Ant2/strong/a/font/td/tr - /table -p -We are currently hashing out design details for Ant2. Please -read the latest a href=antnews.htmlAnt news/a for more details. /p br/ table class=nowrap border=0 cellspacing=0 cellpadding=2 width=100% 1.40 +12 -0 ant/xdocs/antnews.xml Index: antnews.xml === RCS file: /home/cvs/ant/xdocs/antnews.xml,v retrieving revision 1.39 retrieving revision 1.40 diff -u -w -u -r1.39 -r1.40 --- antnews.xml 7 Mar 2003 11:32:20 - 1.39 +++ antnews.xml 25 Mar 2003 11:27:27 - 1.40 @@ -9,6 +9,18 @@ /properties body + section name=Ant 1.5.3 Beta 1 +h3March 25, 2003 - Ant 1.5.3 Beta 1 Available/h3 +pApache Ant 1.5.3 Beta 1 is now available for + a href=http://ant.apache.org/beta/;download/a.
DO NOT REPLY [Bug 18312] - [PATCH] New tokenfilter for filterchain
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=18312. 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=18312 [PATCH] New tokenfilter for filterchain [EMAIL PROTECTED] changed: What|Removed |Added Severity|Normal |Enhancement --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 11:33 --- Changed severity to Enhancement. Also original example should be pattern=([^\s]+)
[ANN] Ant 1.5.3 Beta 1 Available for download
Ant 1.5.3 Beta 1 is available for download http://ant.apache.org/beta/ Please try this out and help us sort out any issues in the release. If you have any issues, please raise as a bug on BugZilla http://issues.apache.org/bugzilla/enter_bug.cgi?product=Ant Thanks -- Conor MacNeill Blog: http://codefeed.com/blog/
DO NOT REPLY [Bug 18290] - Need FilterReader for replacing RegExp
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=18290. 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=18290 Need FilterReader for replacing RegExp --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 11:43 --- I have made a patch (18312) that should fullfill this request. The following: (using patch (18166 - enchanched concat) concat (hello)-start line filterchain tokenfilter containsregex pattern=\((.*)\)-start replace=amp;\1/ /tokenfilter /filterchain /concat outputs: hello line Peter.
DO NOT REPLY [Bug 18318] - depends
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=18318. 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=18318 depends [EMAIL PROTECTED] changed: What|Removed |Added Status|RESOLVED|CLOSED
DO NOT REPLY [Bug 17721] - problem with wrapper shell script if $0 is a relative symlink
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=17721. 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=17721 problem with wrapper shell script if $0 is a relative symlink --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 14:45 --- The version from CVS HEAD gives me the same problem. Other parts of the script have changed, but the problematic test is the same. The problem is with the test at line 54 in HEAD: expr $link : '.*/.*' This is supposed to test if $link is an absolute path. However, what it actually tests is if $link contains a '/' character (rather than if it starts with a '/'). I also got it to work by changing this test to: expr $link : '^/.*' This is a smaller change than my other proposed fix. Here is an extract from the output of sh -x ~/bin/ant on Solaris 8 (sparc), with the script from HEAD: [...] PRG=/export/home/martin/bin/ant + basename /export/home/martin/bin/ant progname=ant + [ -h /export/home/martin/bin/ant ] + ls -ld /export/home/martin/bin/ant ls=lrwxrwxrwx 1 martin 22 Mar 25 14:18 /export/home/martin/bin/ant - ../install/ant/bin/ant + expr lrwxrwxrwx 1 martin 22 Mar 25 14:18 /export/home/martin/bin/ant - ../install/ant/bin/ant : .*- \(.*\)$ link=../install/ant/bin/ant + expr ../install/ant/bin/ant : .*/.* PRG=../install/ant/bin/ant + [ -h ../install/ant/bin/ant ] + dirname ../install/ant/bin/ant ANT_HOME=../install/ant/bin/.. + cd ../install/ant/bin/.. /export/home/martin/bin/ant: ../install/ant/bin/..: does not exist ANT_HOME= [...] I've also reproduced the bug on Linux (Cobalt Linux, which I think is based on RedHat 5 point something), again with the script from HEAD: [...] + PRG=/home/sites/home/users/martin/bin/ant ++ basename /home/sites/home/users/martin/bin/ant + progname=ant + [ -h /home/sites/home/users/martin/bin/ant ] ++ ls -ld /home/sites/home/users/martin/bin/ant + ls=lrwxrwxrwx 1 martin users 22 Mar 25 13:12 /home/sites/home/users/martin/bin/ant - ../install/ant/bin/ant ++ expr lrwxrwxrwx 1 martin users 22 Mar 25 13:12 /home/sites/home/users/martin/bin/ant - ../install/ant/bin/ant : .*- \(.*\)$ + link=../install/ant/bin/ant + expr ../install/ant/bin/ant : .*/.* + PRG=../install/ant/bin/ant + [ -h ../install/ant/bin/ant ] ++ dirname ../install/ant/bin/ant + ANT_HOME=../install/ant/bin/.. ++ cd ../install/ant/bin/.. /home/sites/home/users/martin/bin/ant: ../install/ant/bin/..: No such file or directory + ANT_HOME= [...] Setting ANT_HOME before running the script does work around the problem (because the test in question never gets run). Maybe this is why you can't reproduce it. Does env - ~/bin/ant work for you?
DO NOT REPLY [Bug 17721] - problem with wrapper shell script if $0 is a relative symlink
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=17721. 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=17721 problem with wrapper shell script if $0 is a relative symlink --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 15:01 --- You are right, unsetting ANT_HOME produces the same error for me, thanks. The FreeBSD manual page of expr says that : would implicitly anchor the expression, so the leading ^ wouldn't be needed. Do you know whether the same is true for Solaris (Linux seems to do the same).
DO NOT REPLY [Bug 17721] - problem with wrapper shell script if $0 is a relative symlink
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=17721. 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=17721 problem with wrapper shell script if $0 is a relative symlink --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 15:05 --- And more importantly, what would the change do to Cygwin? Uhm, not really more important, but, the Cygwin users tend to make more noise 8-)
Cygwin tester needed
Hi, please take a look at http://issues.apache.org/bugzilla/show_bug.cgi?id=17721. I can reprodice this bug, but I'm afraid that the proposed patch will break Cygwin - as I have no idea how it handles absolute paths. The change would be in line 54 of the ant wrapper script (CVS HEAD), instead of if expr $link : '.*/.*' /dev/null; then we'd use if expr $link : '^/.*' /dev/null; then Oh, to run into this code, you must not set ANT_HOME and the script you invoke must be a symlink (is this possible on Cygwin?) to the real script. Stefan
DO NOT REPLY [Bug 17721] - problem with wrapper shell script if $0 is a relative symlink
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=17721. 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=17721 problem with wrapper shell script if $0 is a relative symlink --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 15:24 --- The Solaris man page for expr doesn't seem to document whether it implicitly anchors the regex. However: $ expr foo : '/.*' /dev/null ; echo $? 1 $ expr /foo : '/.*' /dev/null ; echo $? 0 $ expr x/foo : '/.*' /dev/null ; echo $? 1 so it looks like it does. I don't know what this will do to Cygwin. It should be fine as long as it's still true that exactly those paths starting with '/' are absolute. I think this is the case (otherwise loads of software would break), but I don't really know Cygwin so I can't say for sure.
DO NOT REPLY [Bug 18322] - Jikes no longer supports the -encoding flag, causes an error if specified
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=18322. 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=18322 Jikes no longer supports the -encoding flag, causes an error if specified --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 15:47 --- Created an attachment (id=5499) Implemented the change I requested, against the 1.5.1 source (since I have it)
DO NOT REPLY [Bug 18324] New: - Global 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=18324. 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=18324 Global Tasks Summary: Global Tasks Product: Ant Version: unspecified Platform: All OS/Version: All Status: NEW Severity: Enhancement Priority: Other Component: Optional Tasks AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] It would be a great improvement to be able to create custom tasks that CAN be called globally, i.e. not forced to be used inside a target. Like the property task or the path type. In our case, it leads to weird patterns because we have to create useless target and add dependencies everywhere to be able to have cutom global initialization sections. I looked in ant's source code and it is hardcoded that only property, taskdef, target and path be recognized outside of a target. You could create a new interface that, when implemented, permits the use of those tasks globally.
DO NOT REPLY [Bug 18324] - Global 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=18324. 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=18324 Global Tasks [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 16:07 --- The Ant 1.6 codebase removes the restrictions you mention and all tasks can be used globally.
DO NOT REPLY [Bug 18322] - Jikes no longer supports the -encoding flag, causes an error if specified
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=18322. 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=18322 Jikes no longer supports the -encoding flag, causes an error if specified [EMAIL PROTECTED] changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Additional Comments From [EMAIL PROTECTED] 2003-03-25 16:26 --- *** This bug has been marked as a duplicate of 4230 ***
Re: ssh exec task...
Attached are updates for the SSHExec task and documentation as diffs. The updates fix the problem with output not always showing on the screen (or log). This task relies on jsch-0.1.3-rc1, available at http://www.jcraft.com/jsch/jsch-0.1.3-rc1.zip. Earlier versions of jsch will not work as one of the fixes to this version of jsch was implemented specifically for the SSHExec task. While I was at it, I fixed the timeout attribute so it actually does something, plus I added some attributes from the exec task that seemed appropriate: output write the output to a file append append to or overwrite the output file outputproperty store the output in a property Dale Anson Steve Loughran wrote: - Original Message - From: Dale Anson [EMAIL PROTECTED] To: Ant Developers List [EMAIL PROTECTED] Sent: Tuesday, March 18, 2003 14:57 Subject: Re: ssh exec task... How do I post changes to the optional/ssh files to cvs? Dale run cvs diff -u against the files to create .diff files that you post as patches, then keep reminding people till it gets taken up. Committers take the files, patch them and commit the changes. On this subject, who knows where I can get a copy of patch.exe that does not fail on a two-cpu winXP box, the way the wincvs version does. I am having to ftp files back to a unix server to patch right now. one extra caveat: I dont want to have to install cygwin. I just need a URL of an up to date port/build of the core Gnu unix command toolchain. -steve - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Index: SSHExec.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/SSHExec.java,v retrieving revision 1.1 diff -u -r1.1 SSHExec.java --- SSHExec.java11 Mar 2003 13:15:43 - 1.1 +++ SSHExec.java25 Mar 2003 16:32:13 - @@ -1,90 +1,94 @@ /* - * The Apache Software License, Version 1.1 - * - * Copyright (c) 2003 The Apache Software Foundation. All rights - * reserved. - * - * Redistribution and use in source and binary forms, with or without - * modification, are permitted provided that the following conditions - * are met: - * - * 1. Redistributions of source code must retain the above copyright - *notice, this list of conditions and the following disclaimer. - * - * 2. Redistributions in binary form must reproduce the above copyright - *notice, this list of conditions and the following disclaimer in - *the documentation and/or other materials provided with the - *distribution. - * - * 3. The end-user documentation included with the redistribution, if - *any, must include the following acknowlegement: - * This product includes software developed by the - *Apache Software Foundation (http://www.apache.org/). - *Alternately, this acknowlegement may appear in the software itself, - *if and wherever such third-party acknowlegements normally appear. - * - * 4. The names Ant and Apache Software - *Foundation must not be used to endorse or promote products derived - *from this software without prior written permission. For written - *permission, please contact [EMAIL PROTECTED] - * - * 5. Products derived from this software may not be called Apache - *nor may Apache appear in their names without prior written - *permission of the Apache Group. - * - * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED - * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES - * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE - * DISCLAIMED. IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR - * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, - * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT - * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF - * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND - * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, - * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT - * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF - * SUCH DAMAGE. - * - * - * This software consists of voluntary contributions made by many - * individuals on behalf of the Apache Software Foundation. For more - * information on the Apache Software Foundation, please see - * http://www.apache.org/. - */ - +* The Apache Software License, Version 1.1 +* +* Copyright (c) 2003 The Apache Software Foundation. All rights +* reserved. +* +* Redistribution and use in source and binary forms, with or without +* modification, are permitted provided that the following conditions +* are met: +* +* 1. Redistributions of source code must retain the above copyright +*notice, this list of
Re: ssh exec task...
On Tue, 25 Mar 2003, Dale Anson [EMAIL PROTECTED] wrote: Attached are updates for the SSHExec task and documentation as diffs. The updates fix the problem with output not always showing on the screen (or log). Thanks. I'll commit them after the release of jsch 0.1.3 final. While I was at it, I fixed the timeout attribute so it actually does something, 8-) plus I added some attributes from the exec task that seemed appropriate: output write the output to a file append append to or overwrite the output file outputproperty store the output in a property input and inputstring are additional candidates IMHO. Thanks! Stefan
Re: Request for downloadable Ant Manual in pdf Thank you
Stefan Bodewig wrote: Dear Mr. Gabor On Sun, 23 Mar 2003, Rene Gabor [EMAIL PROTECTED] wrote: Would you have an Ant Manual in pdf that we can download? Thank you very very much for your kindest assistance. Unfortunately there is no PDF version of the Ant manual. Ant's manual is currently created from static HTML pages, this may change in the future, but we are not there yet. I am sure we could probably do a PDF build from the xdocs stuff now, if we somehow create docbook content via XSLT, velocity, whatever. Please note that this is not the official documentation. When in doubt, please consult the online manual. then the source :) -steve
Adding 'setName' support to the xmljunitresultformatter.java
The xml result formatter does not support the setName method, unlike the plain text result formatter. This causes problems in various ways in reporting, and others have worked around it. I've decided to make the following changes to the source code, which I have compiled and tested successfully on my system. I don't know what the proper procedure is, but can someone from the dev group review the code, and check the changes in. You can diff the new file vs. the original 1.5.1 release to see the difference. XMLJUnitResultFormatter.java The main difference in the logic is to move the output in the end Test method, rather then in the smartest. By moving it to end Test, JUnitVersionHelper.getTestCaseName() actually pulls out the test name after the setName is invoked, which happened after the startTest was called. The change is low risk, but should go through a code review. Thanks! Leigh Ishikawa
Ant task and dirset/fileset
Has anyone ever thought about or tried to make the ant task accept a fileset or dirset? I have a use for such functionality but, before I go writing myself a custom version, or writing a patch, I thought I might ask if this has been tried, is being tried, or has be explicitly decided against? -Gus
RE: Ant task and dirset/fileset
Yes ;-) Me, and other people too. There is in Ant's BugZilla one task called subant that was recently added to the HEAD (slightly modified) on an experimental basis, and there's also a patch to ant along the same lines. There has been quite a bit of discussion about both (one vs. the other even) on ant-dev as well. You should look it all up. As the original author and user of subant, I can tell you it's working just fine for me. Here's one of my build files, for example. Should be familiar to Makefile writers (it does build C++ libraries after all ;-) ?xml version=1.0? project name=Gocad default=build taskdef resource=com/lgc/buildmagic/tasks.properties / typedef resource=com/lgc/buildmagic/types.properties / buildpath id=buildpath pathelement location=src/lib/utils/utils.xml / pathelement location=src/lib/math/math.xml / pathelement location=src/lib/geobase/geobase.xml / pathelement location=src/lib/lines/lines.xml / pathelement location=src/lib/surfaces/surfaces.xml / pathelement location=src/lib/volumes/volumes.xml / pathelement location=src/lib/tgobjs/tgobjs.xml / pathelement location=src/lib/appli/appli.xml / pathelement location=src/lib/ascii/ascii.xml / pathelement location=src/lib/archive/archive.xml / pathelement location=src/lib/gapi/gapi.xml / /buildpath target name=clean subant buildpathref=buildpath / /target target name=build subant buildpathref=buildpath / /target target name=reversion subant buildpathref=buildpath / /target target name=rebuild subant buildpathref=buildpath / /target /project -Original Message- From: Gus Heck [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:34 PM To: [EMAIL PROTECTED] Subject: Ant task and dirset/fileset Has anyone ever thought about or tried to make the ant task accept a fileset or dirset? I have a use for such functionality but, before I go writing myself a custom version, or writing a patch, I thought I might ask if this has been tried, is being tried, or has be explicitly decided against? -Gus
Re: Cygwin tester needed
Stefan Bodewig wrote: [rearranged] you invoke must be a symlink (is this possible on Cygwin?) Cygwin apparently has its own symlink mechanism. From my current installation, the content of /cygwin/bin/aclocal-1.7 is !symlink../autotool/devel/bin/aclocal-1.7 Note that there are also the .lnk files inherited from Win95, which are interpreted by Explorer components but probably not handled by Cygwin (I didn't try), and NTFS has also its own capability for symlinks, though I doubt this was ever used for production. Cygwin - as I have no idea how it handles absolute paths. The problem is that drive letter+colon combinations can be interpreted as a path, you can e.g. do ls c: and get the dir listing of your C drive. Valid drive letters can change dynamically both due to innvoking mount/umount commands and Windows drive mounts. Internally such names are mapped to path names like /cygdrive/c (prefix is configurable, so YMMV). It is possible that cygpath can be used to expand C: to /cygdrive/c in shell scripts, there ought to be a manual explaining this... J.Pietschmann
Re: Ant task and dirset/fileset
Ok I searched bugzilla and subant appears exactly once... but it says it is committed. Problem is I don't see it in the manual, where can I get some doc for it? (or do I need to go find that link to the xdocs that I forgot to bookmark?) -Gus Dominique Devienne wrote: Yes ;-) Me, and other people too. There is in Ant's BugZilla one task called subant that was recently added to the HEAD (slightly modified) on an experimental basis, and there's also a patch to ant along the same lines. There has been quite a bit of discussion about both (one vs. the other even) on ant-dev as well. You should look it all up. As the original author and user of subant, I can tell you it's working just fine for me. Here's one of my build files, for example. Should be familiar to Makefile writers (it does build C++ libraries after all ;-) ?xml version=1.0? project name=Gocad default=build taskdef resource=com/lgc/buildmagic/tasks.properties / typedef resource=com/lgc/buildmagic/types.properties / buildpath id=buildpath pathelement location=src/lib/utils/utils.xml / pathelement location=src/lib/math/math.xml / pathelement location=src/lib/geobase/geobase.xml / pathelement location=src/lib/lines/lines.xml / pathelement location=src/lib/surfaces/surfaces.xml / pathelement location=src/lib/volumes/volumes.xml / pathelement location=src/lib/tgobjs/tgobjs.xml / pathelement location=src/lib/appli/appli.xml / pathelement location=src/lib/ascii/ascii.xml / pathelement location=src/lib/archive/archive.xml / pathelement location=src/lib/gapi/gapi.xml / /buildpath target name=clean subant buildpathref=buildpath / /target target name=build subant buildpathref=buildpath / /target target name=reversion subant buildpathref=buildpath / /target target name=rebuild subant buildpathref=buildpath / /target /project -Original Message- From: Gus Heck [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:34 PM To: [EMAIL PROTECTED] Subject: Ant task and dirset/fileset Has anyone ever thought about or tried to make the ant task accept a fileset or dirset? I have a use for such functionality but, before I go writing myself a custom version, or writing a patch, I thought I might ask if this has been tried, is being tried, or has be explicitly decided against? -Gus - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]