dp:copy only works with upload new files

33 views
Skip to first unread message

jw@dpbuddy

unread,
Feb 23, 2012, 5:02:16 PM2/23/12
to DataPower Buddy
I have a case where one of the configuration xml file is updated
frequently. I used dp:copy as the following

<dp:copy domain="${target.dp.domain}" flatten="false">
<dpFileset dir="${config.files}" includes="**/*" />
</dp:copy>

However this only works for new file upload. Once the file is in, it
never gets refreshed with new deploys. What else can be used to solve
this issue?

Thanks in advance,

Alexander 'Sasha' Ananiev

unread,
Feb 24, 2012, 6:48:23 PM2/24/12
to jw@dpbuddy, DataPower Buddy
Hello,
So does the modified timestamp get changed when you run dp:copy or does it remain the same? 
-Alexander

Jane

unread,
Feb 24, 2012, 7:01:50 PM2/24/12
to Alexander 'Sasha' Ananiev, DataPower Buddy
It remain the same.

Jane

Alexander 'Sasha' Ananiev

unread,
Feb 24, 2012, 7:36:25 PM2/24/12
to Jane, DataPower Buddy
OK, please run Ant with -v and send me the log.
In the meantime, is using cleanDirectories="true" an option for you?
Reply all
Reply to author
Forward
0 new messages