TG_004.TC_009 - codemetropolis/CodeMetropolis Wiki


Test rendering with overwrite when blocks.0.0.csv is open in Excel



  1. Run "java -jar rendering-1.4.0.jar -i placingToRendering.xml -w cm"

  2. Open the generated file "cm/TEMP/blocks.0.0.csv" with Excel

  3. Run again the very same command "java -jar rendering-1.4.0.jar -i placingToRendering.xml -w cm "

  4. When the prompt asks "Rendering: Another world with the same name might exist or being built right now. Do you want to overwrite? [Y/N]" hit "Y"

Expected result:

The tool exits normally, warning the user that the "blocks.0.0.csv" file in the target "cm" directory cannot be deleted and does not regenerate the world.