RE: File Includer

2004-06-11 Thread Rami Ojares
> The way to resolve your requirement is providing > a different task (useful on its own right) that > given a fileset it adjust the lastmodified of a target > file to be the latest date of the files in the fileset. > > Do you think this two things will solve your problem? I will have a shot at

File Includer

2004-06-10 Thread Rami Ojares
want the lastModified time of the resulting file to be set to the latest lastModified time of any of the source files (srcFile or any of the included files). I would like to get some comments of whether such task/type is considered useful and if so how to go about integrating it to ant. - Rami

SSH patching

2004-04-12 Thread Rami Ojares
Hi Stefan, Here is a patch to add localFile, remoteFile, localTodir and remoteTodir attributes to scp. Also included is a patch to add the corresponding documentation. - rami Index: Scp.java === RCS file: /home/cvspublic/ant/src/mai

SSH documenting

2004-04-08 Thread Rami Ojares
> A patch that describes the verbose attribute to > docs/manual/OptionalTasks/scp.html would be a good start ;-) See below. Also I expanded the range of tested versions up to 0.1.14 because that is the version I have used. However I have not done any exhaustive testing so you might want to remove

SSH RemoteUri bug

2004-04-08 Thread Rami Ojares
Hi, isRemoteUri() method in Scp.java is seriously flawed. private boolean isRemoteUri(String uri) { boolean isRemote = true; int indexOfAt = uri.indexOf('@'); if (indexOfAt < 0) { isRemote = false; } return isRemote; } A local file path can very well on windows and un

Re: SSH tracking - Take 4

2004-04-07 Thread Rami Ojares
> Thanks, I've committed the patch with some (minor) modifications. The pleasure is mine. > What we need now, are docs. Yep, I think also Jsch would need some docs and an API that does not need one to write bytes by hand but that is another story. I can help of course with the docs (but slowly :

Re: SSH tracking - Take 3

2004-04-07 Thread Rami Ojares
Here are answers to your questions + new patches. Q: I don't see you using SSHBase in AbstractSshMessage at all, so you don't need to add it as an attribute. The subclasses only need to know whether verbose output has been requested, so they don't need a reference to sshbase either, just th

Re: SSH tracking

2004-04-06 Thread Rami Ojares
> I'd like to see your patch modified so that you'll only see a progress > report when the (new) attribute verbose has been set to true. Just > like does today. Have a look at this patch Stefan. (It's patch from the whole directory) I added verbose attribute and rearranged things a little. cvs

Re: SSH tracking

2004-04-05 Thread Rami Ojares
I noticed that the attachment somehow disappeared from my posting so here it is inline: Index: ScpToMessage.java === RCS file: /home/cvspublic/ant/src/main/org/apache/tools/ant/taskdefs/optional/ssh/ScpT oMessage.java,v retrieving rev

SSH tracking

2004-04-05 Thread Rami Ojares
be larger then progress for every percent would be shown.   Whoever is maintaining ant-jsch package could comment and if this is approved I could send similar changes for file ScpFromMessage.   - rami ojares - To unsubscribe, e