We have stuck is a scenario were we need to copy some property file to class path, when the file does not exists.
We are using maven to build and maven ant task to copy file.
We have used any copy task like below:
<copy file="src/systemConfig.properties" tofile="src/test/resources/systemConfig.properties" />
This copy task will copy the src file to dest when file does not exits or dest file is older than src file.
However i need to do the copy if and only if file does not exist.
Could you please help me?