Script to load AutoMap with documents from specified Subversion URL
Specify the Subversion URL to retrieve documents from with <SVN-URL>.
The Subversion location contents will be copied to the AutoMap job file directory. Then the "dir" command is used to build a list of filenames with the proper filename extension (*.fm), each of which will be included in the AutoMap publication.
svn checkout http://<SVN-URL>/ docs dir docs\*.fm,*.doc /S /B > "${FileListPath}"
Script steps explained:
SVN "checkout" command is used to retrieve the latest contents of the module specified with <SVN-URL>.
- The "dir" command is used to create a list of all the files in the job directory that have the ".fm" extension.