[SUBMIT] sshsession task

2007-08-08 Thread DJohnson
Sshsession is a container task which establishes an SSH connection, and optionally any number of local or remote tunnels over that connection, then executes any nested tasks before taking down the connection. My purpose in writing it is that we use cvs, and secure all access by only allowing cvs c

Re: componentdef

2007-08-08 Thread Stefan Bodewig
On Wed, 8 Aug 2007, Peter Reilly <[EMAIL PROTECTED]> wrote: > Hi, > I am ready to commit the componentdef patch > see: > http://marc.info/?t=11581423414&r=1&w=2 > and > http://issues.apache.org/bugzilla/show_bug.cgi?id=40511 +1 > This will allow removal of the ConditionBase#createDynamicEleme

DO NOT REPLY [Bug 43067] - Enhanced zipfileset to extract sub-path of zips

2007-08-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

DO NOT REPLY [Bug 43067] New: - Enhanced zipfileset to extract sub-path of zips

2007-08-08 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND· INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bu

Re: First-time contributor - advice needed

2007-08-08 Thread DJohnson
Steve Loughran said: >> I have a new task to contribute under optional/ssh, but when I do an "ant >> -f patch.xml" I get a lot of other files in the patch.tar.gz. I'm >> thinking it should only have my new class source and the patch to >> default.properties. Am I correct, and should I just manua

Re: Contribute: use zipfileset to extract sub-path of zips

2007-08-08 Thread Peter Reilly
Hi Michael, Can you make a bugzilla entry for your enhancement. Peter On 8/8/07, Michael Zhou <[EMAIL PROTECTED]> wrote: > Thank you for your reply. > > Yes, I can use unzip task to do the similar things, but my improved > zipfileset is more convenient and faster than simply unzip, copy and re-p

[AntUnit] Where to put a "dump all log messages" functionality?

2007-08-08 Thread Stefan Bodewig
Hi all, in order to debug the failing .NET Antlib build in Gump I'd really need to see the ouput of the nested Ant build (the one executing the test). My first reaction was to add a AntUnitListener which would dump all log messages created during the test on the endTest event, but this doesn't l

Re: Contribute: use zipfileset to extract sub-path of zips

2007-08-08 Thread Michael Zhou
Thank you for your reply. Yes, I can use unzip task to do the similar things, but my improved zipfileset is more convenient and faster than simply unzip, copy and re-pack approaches. I usually need to merge some WAR files into one big WAR -- to save memories, resources of app-server, and each war

Re: PropertyHelper breaks ant-contrib

2007-08-08 Thread Stefan Bodewig
On Tue, 7 Aug 2007, Matt Benson <[EMAIL PROTECTED]> wrote: > Okay, thanks for the triage! > > --- Peter Reilly <[EMAIL PROTECTED]> wrote: > >> The problem is that ComponentHelper checks if "task" >> classe are >> suitable for being ant classes: ... Thanks to both of you! Gump is happy with ant

Re: First-time contributor - advice needed

2007-08-08 Thread Peter Reilly
I would not use the patch.xml file. I would use svn add for the new files. and then svn status to show the files modied and added and not under source code control. (the ? character). svn diff will now produce a patch file containing the changes and the new files. Peter On 8/8/07, Steve Loughr

Re: First-time contributor - advice needed

2007-08-08 Thread Steve Loughran
[EMAIL PROTECTED] wrote: I have a new task to contribute under optional/ssh, but when I do an "ant -f patch.xml" I get a lot of other files in the patch.tar.gz. I'm thinking it should only have my new class source and the patch to default.properties. Am I correct, and should I just manually r

Re: Contribute: use zipfileset to extract sub-path of zips

2007-08-08 Thread Jeffrey E Care
Why bother to go through all that when you can just unzip the file in your copy case? Jeffrey E. (Jeff) Care [EMAIL PROTECTED] IBM WebSphere Application Server Systems Management Tools Architecture

Contribute: use zipfileset to extract sub-path of zips (with patch)

2007-08-08 Thread Michael Zhou
The mailling list seems not to allow attachment. So I paste the patch here. --- START PATCHING - Index: org/apache/tools/ant/taskdefs/Zip.java === --- org/apache/tools/ant/taskdefs/Zip.

Contribute: use zipfileset to extract sub-path of zips

2007-08-08 Thread Michael Zhou
I used to build a jar file (or any zip-format file: war, ear, etc.), which contents are extracted from other zip files. For instance, zip file src.zip contains: +---main | \---org | \---apache | Test.java | \---test I just want the subtree under "main" (not include main dir