thisOldDave
07/27/2022, 10:57 AMinvalid component definition, can't find component [mxunit.framework.TestCase]
. its fine if I run the generate command in a server with an /mxunit (pointing to /testbox/system/compat
of course š ) mapping but I am running this as a box docbox generate...
is there any way I can supply the mapping to box.exe?bdw429s
07/27/2022, 3:32 PMdocbox Generate ?
bdw429s
07/27/2022, 3:34 PMdocbox generate mappings:mxunit=testbox/system/compat
bdw429s
07/27/2022, 3:35 PMthisOldDave
07/28/2022, 8:39 AMthisOldDave
07/28/2022, 9:36 AMbdw429s
07/28/2022, 3:28 PMthanks Brad I assume that is not going to create docs for testbox@thisOldDave Can you explain what you mean? Are you wanting to create docs for TestBox itself or for your test suites?
thisOldDave
07/28/2022, 3:30 PMbdw429s
07/28/2022, 3:35 PMbdw429s
07/28/2022, 3:36 PMextends
or implements
keywords.bdw429s
07/28/2022, 3:37 PMsource
param is what controls the files that have docs generated for themthisOldDave
07/28/2022, 3:42 PMbox docbox generate \
mappings:mxunit=${mxunitpath} \
mappings:testbox=${testboxpath} \
mappings:icm.conf.model=$(pwd)/src/main/webapp/icm/conf/model \
mappings:icm.health.model=$(pwd)/src/main/webapp/icm/health/model \
mappings:icm.admin.cfc=$(pwd)/src/main/webapp/icm/admin/cfc \
mappings:tests.conf=$(pwd)/src/test/cfml/conf \
mappings:tests.ext=$(pwd)/src/test/cfml/ext \
strategy-outputDir=$(pwd)/target/site/icmdocs \
strategy-projectTitle="Component Documentation" \
excludes="(mxunit|testbox)"
I have been using mappings= rather than source as I only want to scan certain paths
from the docs
Arguments:
⢠strategy
- The strategy class to use to generate the docs.
⢠source
- The directory containing the CFML source.
⢠mapping
- The base mapping for the source folder.
⢠excludes
- A regex that will be applied to the input source to exclude from the docs.
⢠mappings:*
- One or more dynamic parameters defining source and mapping. This argument will override source
and mapping
if provided.bdw429s
07/28/2022, 3:49 PMsource
param does thatbdw429s
07/28/2022, 3:49 PMbdw429s
07/28/2022, 3:50 PMthisOldDave
07/28/2022, 3:55 PMthisOldDave
07/28/2022, 3:55 PMmappings:*
- One or more dynamic parameters defining source and mapping. This argument will override source
and mapping
if provided.bdw429s
07/28/2022, 3:56 PMbdw429s
07/28/2022, 3:56 PMbdw429s
07/28/2022, 3:56 PMbdw429s
07/28/2022, 3:57 PMbdw429s
07/28/2022, 3:57 PMbdw429s
07/28/2022, 3:57 PMbdw429s
07/28/2022, 3:57 PMbdw429s
07/28/2022, 3:57 PMbdw429s
07/28/2022, 3:58 PMbdw429s
07/28/2022, 3:58 PMbdw429s
07/28/2022, 4:00 PMthisOldDave
07/28/2022, 4:00 PMbdw429s
07/28/2022, 4:00 PMbdw429s
07/28/2022, 4:00 PMbdw429s
07/28/2022, 4:01 PMthisOldDave
07/28/2022, 4:01 PMbdw429s
07/28/2022, 4:02 PM/
mapping in Lucee (plus it would break a bunch of stuff) so this entire feature is bunk now šbdw429s
07/28/2022, 4:02 PMthisOldDave
07/28/2022, 4:04 PM