LightGuard / asciidoc-splitter

A splitter utility for helping create modular docs from chapter files.
BSD 2-Clause "Simplified" License
8 stars 8 forks source link

Unknown issue in `titles-enterprise` during split #54

Closed sterobin closed 4 years ago

sterobin commented 4 years ago

Current behavior

The splitter doesn't handle the titles-enterprise folder and produces the following error when run:

sterobin@sterobin ~/repos/asciidoc-splitter  (master) $ java -jar target/asciidoc-splitter-1.0-SNAPSHOT.jar -s /home/sterobin/splitter-testing/splitter-te-source/doc-content/kogito-docs/src/main/asciidoc -o /tmp/splitter-testing/splitter-test-target
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.headius.backport9.modules.Modules (file:/home/sterobin/repos/asciidoc-splitter/target/asciidoc-splitter-1.0-SNAPSHOT.jar) to method sun.nio.ch.NativeThread.signal(long)
WARNING: Please consider reporting this to the maintainers of com.headius.backport9.modules.Modules
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
ERROR: null: /home/sterobin/splitter-testing/splitter-test-source/doc-content/kogito-docs/src/main/asciidoc/../titles-enterprise
Found 1 issues. 1 Errors.

Desired behavior

Take the test-enterprise source example, copy over as is, but make the following two changes, as shown in the test-enterprise target example: