ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject AW: SCP support in ANT 1.5
Date Fri, 04 Mar 2005 13:01:19 GMT
You could TRY to <taskdef> the sc-family tasks with a classpath pointing
to 1.6 ant-jsch.jar and it´s 3rd party lib.
The oata/taskdefs/default.properties lists:
  scp=org.apache.tools.ant.taskdefs.optional.ssh.Scp
  sshexec=org.apache.tools.ant.taskdefs.optional.ssh.SSHExec

But it´s only a try!

Jan


> -----Ursprüngliche Nachricht-----
> Von: Jacob Kjome [mailto:hoju@visi.com]
> Gesendet am: Donnerstag, 3. März 2005 23:37
> An: Ant Users List
> Betreff: Re: SCP support in ANT 1.5
> 
> 
> Use a native SCP client and do something like this....
> 
> <exec dir="." executable="${scp}" failonerror="true">
>     <arg path="${file}"/>
>     <arg value="${username}@someserver.com:/path/to/dir"/>
> </exec>
> 
> I have a global .build.properties that I import in all build 
> files that is
> stored in my user.home directory which has "scp=pscp".  The 
> "pscp" program is
> an SCP client is from the Putty project (yes, I'm using 
> Windows).  In any case,
> no matter the platform, you can always specify whichever SCP 
> client you want by
> changing the property.  Don't forget to put the directory 
> containing the
> specified SCP client in your system path.
> 
> Jake
> 
> 
> Quoting "Balasinorwala, Murtuza J." <mbalasinorwa@trilegiant.com>:
> 
> > Hello,
> >      Does ANT 1.5 support scp task? Is there a jar 
> available that I can use
> > to implement the scp task in my existing scripts.
> >
> > Thanks
> >
> > 
> ---------------------------------------------------------------------
> > 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