Scp is this possible?

2006-05-09 Thread Kev Jackson
Hi all, I'm messing with a hideous integration project and part of the requirements involve aggregating log files from servers via a web interface. I'm using ant's scp task to try and grab the log files (as we are not allowed to install anything on the servers). What I want to do is to use

Re: Scp is this possible?

2006-05-09 Thread Steve Loughran
Kev Jackson wrote: Hi all, I'm messing with a hideous integration project and part of the requirements involve aggregating log files from servers via a web interface. I'm using ant's scp task to try and grab the log files (as we are not allowed to install anything on the servers). ah the

Re: Scp is this possible?

2006-05-09 Thread Kevin Jackson
ah the joy of a world where the ops team doesnt trust the developers. Which is why I'm hosting my current endpoint on a laptop at home -I am the ops team. In this case it's more like, the joys of being told to do the impossible (use http to transfer log files from servers running on the networ

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

2006-05-09 Thread mbenson
Author: mbenson Date: Tue May 9 07:12:17 2006 New Revision: 405440 URL: http://svn.apache.org/viewcvs?rev=405440&view=rev Log: fix typo Modified: ant/core/trunk/WHATSNEW Modified: ant/core/trunk/WHATSNEW URL: http://svn.apache.org/viewcvs/ant/core/trunk/WHATSNEW?rev=405440&r1=405439&r2=405

Re: Setting Xalan to junitreport

2006-05-09 Thread Matt Benson
Antoine: Does this put us back to needing a "scheme" to translate a string (attribute value) to a Resource? -Matt --- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote: > Hello Toby, > > it is not 100% straightforward. > > junitreport normally works by pulling the > stylesheets from ant.jar. >

Re: Setting Xalan to junitreport

2006-05-09 Thread Antoine Levy-Lambert
Hello Toby, it is not 100% straightforward. junitreport normally works by pulling the stylesheets from ant.jar. The task normally only works with plain files as stylesheets. So I will first process a bug report showing how to use a resource as the stylesheet in the task. Afterwards, if th

DO NOT REPLY [Bug 39532] New: - an implementation of sftp task

2006-05-09 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 39532] - an implementation of sftp task

2006-05-09 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: Setting Xalan to junitreport / bug report 39407

2006-05-09 Thread Antoine Levy-Lambert
Matt, I plan to use the bug report : . which contains an attachment where the resource is instantiated using the URL schemes. I did not test it though to make sure that it does work with a jar:file: URL (not sure what the exact syntax i

Re: Setting Xalan to junitreport / bug report 39407

2006-05-09 Thread Matt Benson
I can see that in this case since the resource in question is unique to the task, it should be sufficient to assume that a nested resource is a stylesheet. The real requirement that will necessitate the attribute syntax, as I see it, is enforcing that a single resource be specified as the output d

Re: Scp is this possible?

2006-05-09 Thread Atsuhiko Yamanaka
Hi, 2006/5/9, Kev Jackson <[EMAIL PROTECTED]>: 2 - any work arounds if it's impossible I have posted a patch[1] to implement sftp task. By using sftp task, you can do as follows, If you are interested in it, please try it. [1] http://issues.apache.org/bugzilla/show_bug.cgi?

DO NOT REPLY [Bug 39373] - scp task does not work for some sshd, which does not scp1 protocol.

2006-05-09 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 39532] - an implementation of sftp task

2006-05-09 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: Scp is this possible?

2006-05-09 Thread Martin Menzel Apache
Hi Kevin, with the ANT task I don't know how to solve your problem, but I have used Mindterms SSH library http://www.appgate.com/products/80_MindTerm/ or jsch http://www.jcraft.com/jsch/ and you can execute ssh or scp command from within your java application. If you think about to use rsync h

svn commit: r405523 - in /ant/core/trunk/src/main/org/apache/tools/ant: MagicNames.java PropertyHelper.java util/ClasspathUtils.java

2006-05-09 Thread stevel
Author: stevel Date: Tue May 9 13:23:03 2006 New Revision: 405523 URL: http://svn.apache.org/viewcvs?rev=405523&view=rev Log: Moving some magic names to a single file Modified: ant/core/trunk/src/main/org/apache/tools/ant/MagicNames.java ant/core/trunk/src/main/org/apache/tools/ant/Prope

svn commit: r405524 - in /ant/core/trunk/src: main/org/apache/tools/ant/taskdefs/Execute.java main/org/apache/tools/ant/taskdefs/rmic/ForkingSunRmic.java testcases/org/apache/tools/ant/taskdefs/Execut

2006-05-09 Thread stevel
Author: stevel Date: Tue May 9 13:25:48 2006 New Revision: 405524 URL: http://svn.apache.org/viewcvs?rev=405524&view=rev Log: Adding a new non-static method, isFailure() to Execute. As well as simplifying a common operation, it is a foundation for instance specific logic to decide if an execute

DO NOT REPLY [Bug 39536] New: - scp: protocol error: received directory without -r

2006-05-09 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

svn commit: r405557 - /ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java

2006-05-09 Thread stevel
Author: stevel Date: Tue May 9 15:31:51 2006 New Revision: 405557 URL: http://svn.apache.org/viewcvs?rev=405557&view=rev Log: javadoc Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java Modified: ant/core/trunk/src/main/org/apache/tools/ant/util/ResourceUtils.java

RE: # character causes problem parsing -lib paths

2006-05-09 Thread Paul.Mackay
Hello, I have tested an SVN snapshot of Ant with the fix in for parsing # in the path. It works using Java 1.4.2 but not Java 1.3.1. My understanding is that 1.3 is intended to be supported for Ant 1.7 based on this page http://wiki.apache.org/ant/Ant17/Planning. Is it possible to test this functi

Re: Scp is this possible?

2006-05-09 Thread Kevin Jackson
or jsch http://www.jcraft.com/jsch/ I'm already using this one (wrapped with the ant task). I decided to use the Ant task for two reasons 1) I can test certain things just using ant without having to deploy a full web application 2) The SSHExec and Scp tasks are well tested and well document

Re: Scp is this possible?

2006-05-09 Thread Kevin Jackson
I have posted a patch[1] to implement sftp task. Yes it was discussed yesterday on the dev list By using sftp task, you can do as follows, Assuming that the fileset operates on the remote side, that is exactly what I want - I will give it a try yes. If you are inter

DO NOT REPLY [Bug 39536] - scp: protocol error: received directory without -r

2006-05-09 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 39373] - scp task does not work for some sshd, which does not scp1 protocol.

2006-05-09 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: Scp is this possible?

2006-05-09 Thread Stefan Bodewig
On Wed, 10 May 2006, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Thanks, I will certainly try it and use it if it works. If you want to apply ymnk's patch, I committed everything except fpr the files starting with all uppercase SCP. Please let us know what you find. Stefan -

Re: svn commit: r405524 - in /ant/core/trunk/src: main/org/apache/tools/ant/taskdefs/Execute.java main/org/apache/tools/ant/taskdefs/rmic/ForkingSunRmic.java testcases/org/apache/tools/ant/taskdefs/Ex

2006-05-09 Thread Stefan Bodewig
On Tue, 09 May 2006, <[EMAIL PROTECTED]> wrote: > As well as simplifying a common operation, it is a foundation for > instance specific logic to decide if an execute failed, which could > be of use in VMS land. You better check with your contacts in the OpenVMS group for some of your changes. Th

Re: Scp is this possible?

2006-05-09 Thread Atsuhiko Yamanaka
Hi, 2006/5/10, Stefan Bodewig <[EMAIL PROTECTED]>: On Wed, 10 May 2006, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Thanks, I will certainly try it and use it if it works. If you want to apply ymnk's patch, I committed everything except fpr the files starting with all uppercase SCP. FYI, that

svn commit: r405626 - in /ant/core/trunk/src: main/org/apache/tools/ant/PropertyHelper.java main/org/apache/tools/ant/taskdefs/rmic/ForkingSunRmic.java testcases/org/apache/tools/ant/taskdefs/ExecuteW

2006-05-09 Thread bodewig
Author: bodewig Date: Tue May 9 21:19:31 2006 New Revision: 405626 URL: http://svn.apache.org/viewcvs?rev=405626&view=rev Log: 2006 Modified: ant/core/trunk/src/main/org/apache/tools/ant/PropertyHelper.java ant/core/trunk/src/main/org/apache/tools/ant/taskdefs/rmic/ForkingSunRmic.java

Re: Scp is this possible?

2006-05-09 Thread Kev Jackson
Atsuhiko Yamanaka wrote: Hi, 2006/5/10, Stefan Bodewig <[EMAIL PROTECTED]>: On Wed, 10 May 2006, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Thanks, I will certainly try it and use it if it works. If you want to apply ymnk's patch, I committed everything except fpr the files starting with al

Re: Scp is this possible?

2006-05-09 Thread Kev Jackson
Kev Jackson wrote: Atsuhiko Yamanaka wrote: Hi, 2006/5/10, Stefan Bodewig <[EMAIL PROTECTED]>: On Wed, 10 May 2006, Kevin Jackson <[EMAIL PROTECTED]> wrote: > Thanks, I will certainly try it and use it if it works. If you want to apply ymnk's patch, I committed everything except fpr the f

Re: Scp is this possible?

2006-05-09 Thread Atsuhiko Yamanaka
Hi, 2006/5/10, Kev Jackson <[EMAIL PROTECTED]>: Damnit! "selectors are not supported on remote filesets" Basically that's what I need, the ability to select the files based on the last modified - I don't want to pull back files if they are not within the search criteria :( By following task,

Re: Scp is this possible?

2006-05-09 Thread Kev Jackson
Atsuhiko Yamanaka wrote: Hi, 2006/5/10, Kev Jackson <[EMAIL PROTECTED]>: Damnit! "selectors are not supported on remote filesets" Basically that's what I need, the ability to select the files based on the last modified - I don't want to pull back files if they are not within the search crit

Re: Scp is this possible?

2006-05-09 Thread Kev Jackson
By itself this works fine, the problem is that i need In the SFTP code, there's mention of selectors not supported on remote filesystems. Why is taht? The SFTPDirectoryScanner inherits from the normal DirectoyScanner (which does support selectors), is there a problem with the SFTP pro