At 03:45 PM 11/24/01 -0800, Steve Loughran wrote:

>Can you use FTP to only upload changed tasks instead, or are firewalls and
>things getting in the way?

Exactly. These are all highly secured networks and pretty well the only way 
in is with ssh. Since I have never run into an Ant scp task and I don't 
want to put passwords or passphrases in a script in any case, transferring 
the file will remain a manual task. What's more, I really want to get the 
speed benefits from compression.

In looking over the docs, I'm thinking that the <apply> tag could be forced 
to do what I want by calling an external zip program. I lose portability 
but it could work. The trouble then is that I need to guarantee that the 
timestamps of files won't change if I unzip them for the comparison. Again, 
I could guarantee this by calling an external unzip program with the same 
loss of portability. Or would specifying that the JVM has to be post 1.1 
guarantee that timestamps are maintained in the <unzip> task?

I guess I just find it kind of frustrating. Ant supports dependency 
checking all over the place (using SourceFileScanner), and in fact 
dependency checking is one of the basic reasons you'd want to use Ant. So 
why isn't this basic ability exposed in scripts? Why doesn't Mapper have a 
"dependdir" element, for example? For that matter, Ant knows how to work 
with ZIP filesets, so why isn't that available for dependency checking 
directly, as well?

Time to scratch an itch, perhaps.



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to