ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Miller" <mark.o.mil...@gmail.com>
Subject Re: Overwrite files at the remote site.
Date Mon, 14 May 2007 22:35:17 GMT
assuming you can ssh to the host, sshexec should work for you. There is a
bit of effort involved in getting the required libraries that ant does not
ship. I assume you got all the pieces. As it has worked for me, that's the
only solution I could point to. good luck.

On 5/14/07, Chun Ji <CJi@pro-unlimited.com> wrote:
>
>
> Thank you for the tips. But it does not work for this case. I am getting a
> "Connection refused" exceptions. Anything else you could think about ?
>
>
> Chun
>
>
>
>
>
> -----Original Message-----
> From: Mark Miller [mailto:mark.o.miller@gmail.com]
> Sent: Monday, May 14, 2007 2:19 PM
> To: Ant Users List
> Subject: Re: Overwrite files at the remote site.
> Importance: Low
>
>
> how about sshexec?
> http://ant.apache.org/manual/OptionalTasks/sshexec.html
>
> On 5/14/07, Chun Ji <CJi@pro-unlimited.com> wrote:
> >
> >
> > Hi there,
> > I am using the "FTP" task in ANT to update a group of files at a remote
> > site, but sometimes, some files at the remote site are read-only, and my
> ANT
> > will fail because of that. Is that any way I can do a chmod of these
> > read-only files.
> >
> >
> >
> > thanks a lot
> >
> >
> >
> >
> >
> > Chun
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message