Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom project helper #4456

Draft
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

jelovirt
Copy link
Member

@jelovirt jelovirt commented Mar 29, 2024

Description

Add custom Ant project helper that is able to handle DITA-OT extensions in build scripts.

Motivation and Context

The end goal is to remove integration step that processes template files and extension points can be processes at run-time.

How Has This Been Tested?

Type of Changes

  • New feature (non-breaking change which adds functionality)

Documentation and Compatibility

  • What documentation changes are needed for this feature?
    (Provide links to existing documentation topics that will require updates)
  • Will this change affect backwards compatibility or other users' overrides?

@jelovirt jelovirt added feature New feature or request ant Plug-in configuration with Ant internal Internal refactoring of unreleased code or tests (no docs required) labels Mar 29, 2024
@jelovirt jelovirt self-assigned this Mar 29, 2024
@raducoravu
Copy link
Member

What would be the end benefit? Would this mean that plugins would no longer need to be "installed" in order to work?

Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
@jelovirt jelovirt force-pushed the feature/refactor-ant-projecthelper branch from 5367806 to bb1b7ea Compare May 5, 2024 13:56
Signed-off-by: Jarno Elovirta <jarno@elovirta.com>
@jelovirt jelovirt force-pushed the feature/refactor-ant-projecthelper branch from bb1b7ea to e75b355 Compare May 31, 2024 12:48
@jelovirt
Copy link
Member Author

jelovirt commented Jun 1, 2024

@raducoravu yes, the integration phase for *_template.* is no longer needed. Plug-in files can just use the extension points and they will be resolved at run-time before parsed by Ant or Saxon. In the long run, this will enable running DITA-OT and plug-ins from JAR files directly.

This functionality will not be enabled by default for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ant Plug-in configuration with Ant feature New feature or request internal Internal refactoring of unreleased code or tests (no docs required)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants