Hi Nicolas,
Here is build script.
Initially i was using below SCP ant task to copy database files to remote
machine.
<scp todir="[EMAIL PROTECTED]:/apps/oracle <[EMAIL PROTECTED]:/apps/oracle>"
password="ca0build1"
trust="true"
failonerror="true">
<fileset dir="/ccdata/database/oracle">
<include name="**/*.*"/>
</fileset>
</scp>
But above one is not preserving time stamps..
So i am using below one.
<exec dir="." executable="scp">
<arg line="-p -r /ccdata/oracle /apps/oracle"/>
</exec>
This is also not preserving time stamp for all files and folders but not for
all.
Cheers
Prasad.
On 10/24/07, Bizard Nicolas (KIRO 41) <[EMAIL PROTECTED]>
wrote:
>
> Hi
> can you describe a bit more, show some code (the fileset part for
> instance) ?
> Cheers
>
> -----Original Message-----
> From: venkata prasad [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, October 24, 2007 2:13 PM
> To: [email protected]
> Subject: SCP task to preserve exact time stamp
>
> Hi All,
>
> I have a requirement like when ever i do build, i need to copy all
> database files/folders from build machine to UNIX machine.
>
> Right now i am uasing SCP Ant task for secure copy. But it is not
> preserving time stamp for all files and folder.
>
> So i went for 'scp' unix command in exec -ant task . It is preserving
> time
> stamp for some files and folders only.
>
> Could some body help me, in preserving time stamps for all folders and
> files.
>
> Thanks in advance,
>
> Prasad U V.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>