Hi Liwzh,
It's a syntax problem with the slice2freeze command:
Code:
C:\Users\bernard>slice2freeze -h
Usage: slice2freeze [options] file-base [slice-files...]
Options:
-h, --help Show this message.
-v, --version Display the Ice version.
The solution is to provide this 'file-base' parameter, e.g.:
Code:
slice2freeze --dict StringInfoMap,string,::Demo::Info PersistentStringInfoMap test.ice
With your command, slice2freeze mistakenly uses test.ice as your file-base and reads no .ice file. The .ice file parameters are optional since you can generate a persistent map of built-in types.
We'll check if we can improve the error message in this situation.
Cheers,
Bernard