For development, am I missing anything by testing with "src/main/bin/dita"? #4025
-
|
In a cloned DITA-OT repository, after I run the following commands: there is a .zip file built at the following path:
The DITA-OT in this .zip file includes both the native and bundled plugins: but the When I was testing a fix for #4017, I found that I previously thought that Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
You can either Use a fresh worktree for distribution builds, or install each of the bundled plug-ins manually via If you install the bundled plug-ins this way, they'll appear in your local clone as untracked files You can add them to a local # Ignore entries for 'bundled' external plugins per `build.gradle`
# https://github.com/dita-ot/dita-ot/blob/develop/build.gradle#L181-L191
# These are installed into distribution builds when `gradle dist` runs, but no longer included in the repo
# For local use with `src/main/bin/dita`, each must be installed with `dita install`
src/main/plugins/org.dita.eclipsehelp
src/main/plugins/org.lwdita
src/main/plugins/org.dita.normalize
src/main/plugins/org.dita.specialization.dita11
src/main/plugins/org.oasis-open.dita.v1_2
src/main/plugins/org.oasis-open.dita.v2_0
src/main/plugins/org.oasis-open.dita.techcomm.v2_0
src/main/plugins/org.oasis-open.xdita.*
src/main/plugins/org.dita.index
src/main/plugins/org.dita.pdf2.axf
src/main/plugins/org.dita.pdf2.xepDetails on
See git-scm.com/docs/gitignore:
|
Beta Was this translation helpful? Give feedback.
You can either Use a fresh worktree for distribution builds, or install each of the bundled plug-ins manually via
src/main/bin/dita install <plug-in>to test in your local clone without running the distribution build.If you install the bundled plug-ins this way, they'll appear in your local clone as untracked files
— which should not be committed.
You can add them to a local
excludefile with entries like this: