openmainframeproject/cobol-check

[REQUEST] Define documentation describing absolute bare-minimum setup

axtens opened this issue · 7 comments

I'm setting up a gnucobol track on Exercism.org. I'm currently trying to establish the absolute bare-minimum setup so that I can create completely self-contained tasks. Granted, the gnucobol compiler itself won't be part of the container but I'm considering including the cobol-check binary and relatively-pathed configuration files.

Where do I begin?

My present folder structure, for the hello-world task, is

Folder PATH listing for volume OS
Volume serial number is 14F0-1FA8
C:.
|   cobolcheck
|   cobolcheck.cmd
|   config.properties
|   
+---.docs
|       instructions.md
|       
+---.meta
|       config.json
|       
+---bin
|       cobol-check-0.1.0.jar
|       
+---scripts
|       linux_gnucobol_run_tests
|       windows_gnucobol_run_tests.cmd
|       
+---src
|       hello-world.cbl
|       
\---test
        hello-world

Also find attached a config.properties that doesn't work and I haven't figured out yet why

config.properties.txt

Hi @axtens thank you for your interest in Cobol Check. I have described the smallest setup you can currently have with Cobol Check here, do let me know, if something isn't clear. The problem with your setup is that your test-file is required to be inside a folder, with a name matching your source program. So inside your test folder, should be a folder named 'hello-world' and inside that folder you may have all your tests for that program, named whatever you want.

Also; I'd like to know where you got your distribution, as it's only very outdated distributions you can get online

Your hello-world folder should be inside your src folder. That should fix it.

Hi Bruce

I have now made it clear in the wiki, that the configurations shown in the guide, is only the three values that you have to change, as we discussed - so I consider this issue closed.

Have a great day