These are the steps I used on Linux:
- Copy the repository
cp -r repo-prod repo-dev - Edit the index.properties file in repo-dev and change the name property to give it a different name than the original.
- Change the data source name to match the development one in each xaction file
find . -name '*.xaction' | xargs sed -i 's/data-prod/data-dev/g'
- Change the repository name in xaction files that have sub-actions
find . -name '*.xaction' | xargs sed -i 's/repo-prod/repo-dev/g'
- Change the image paths in the report design .xml files. cd into the directory first
find . -name '*.xml' |xargs sed -i 's|/old/prefix/|/new/prefix/|'
No comments:
Post a Comment