ESI Tools Wiki
Brought to you by:
grahamshanks,
mpenkrot
The Change Block Generator command line tool moves all revisions of the change requests associated with a specified release (i.e a change block) into a new directory so that it can be zipped up and uploaded to the DIS EWG file library.
By using the -n option a report will be generated showing which files will be moved to the target directory (and whether there are any missing files)
ChangeBlockGenerator -f PathToStatusFile -k WorksheetName -s SourceDirectory -t TargetDirectory [-n]
| Parameter | Description |
|---|---|
| -h | Display help |
| -l | Display license |
| -f (..) | CR Status file name |
| -k (..) | Worksheet name |
| -n | No action (generates report only) |
| -s (..) | Source Directory |
| -t (..) | Target Directory (default "./temp") |
ChangeBlockGenerator -n -f "D:\esitools-code\CR Status.xlsx" -k v21 -s "D:\esitools-code\SISO-REF-010\CURRENT_FILES" -t "D:\ChangeBlocks\v21"
Change Block Generator - Copyright © 2012-2014 Graham C Shanks
D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1623 - IEEEWeaponschange.xls to be moved
D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653 - FORM14.DOC to be moved
D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653 - FORM14.xls to be moved
D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653A - FORM14.xlsx to be moved
D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653B - FORM14(1).xlsx to be moved
D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653C - FORM14(1).xlsx to be moved
D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653D - FORM14(1).xlsx to be moved
D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1677 - FORM38.DOC to be moved
...
ChangeBlockGenerator -n -f "D:\esitools-code\CR Status.xlsx" -k v21 -s "D:\esitools-code\SISO-REF-010\CURRENT_FILES" -t "D:\ChangeBlocks\v21"
Change Block Generator - Copyright © 2012-2014 Graham C Shanks
Moving D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1623 - IEEEWeaponschange.xls
Moving D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653 - FORM14.DOC
Moving D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653 - FORM14.xls
Moving D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653A - FORM14.xlsx
Moving D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653B - FORM14(1).xlsx
Moving D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653C - FORM14(1).xlsx
Moving D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1653D - FORM14(1).xlsx
Moving D:\esitools-code\SISO-REF-010\CURRENT_CRS\CR1677 - FORM38.DOC
...