Feature Request: Main Files references to on-disk directories
Are you missing a feature? Request its implementation here.
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Feature Request: Main Files references to on-disk directories
Post by chrispitude »
We share a common Oxygen .xpr file across multiple Git repositories. We try to avoid placing group-specific information in the .xpr file, so that this single .xpr file can be centrally updated and shared across all repos.
Currently, Main Files support on-disk file references, but not on-disk directory references. Main Files file references have the following drawbacks:
This would allow the Oxygen .xpr file to include standardized Main Files directory locations, with the contents of those directories varying from repo to repo. The .xpr file remains static, writers can add/modify/remove DITA-OT project files (and their referenced ditamaps) as much as they want, and Main Files adapts to the updates automatically:
Some aspects to be considered are:
EXM-50611 Link to an entire folder in the "Main Files" folder
in the following discussion thread:
feature-request/topic24311.html
but I created a separate post here to untangle the discussions.
Radu also mentioned that the .xpr file could possibly contain a path from which to obtain Main Files. I think I might prefer the original solution because (1) it readily supports multiple directories, and (2) there is no "action-at-a-distance" where something is included in Main Files that is not explicitly shown in the Project view, but perhaps this could be addressed with an .xpr-based solution too.
A testcase is included:
Currently, Main Files support on-disk file references, but not on-disk directory references. Main Files file references have the following drawbacks:
- The .xpr file must be modified to add/remove individual file references, but writers are not permitted to modify the .xpr file.
- An .xpr file cannot be shared across multiple repos when individual file references are repo-specific.
oxygen_main_files_directories.png
This would allow the Oxygen .xpr file to include standardized Main Files directory locations, with the contents of those directories varying from repo to repo. The .xpr file remains static, writers can add/modify/remove DITA-OT project files (and their referenced ditamaps) as much as they want, and Main Files adapts to the updates automatically:
Some aspects to be considered are:
- Should the inclusion recurse into subdirectories? (I think it should, or maybe it could be specifiable somehow.)
- If there are multiple file types in the directory, does Main Files ignore types that aren't relevant to its analysis?
EXM-50611 Link to an entire folder in the "Main Files" folder
in the following discussion thread:
feature-request/topic24311.html
but I created a separate post here to untangle the discussions.
Radu also mentioned that the .xpr file could possibly contain a path from which to obtain Main Files. I think I might prefer the original solution because (1) it readily supports multiple directories, and (2) there is no "action-at-a-distance" where something is included in Main Files that is not explicitly shown in the Project view, but perhaps this could be addressed with an .xpr-based solution too.
A testcase is included:
oxygen_main_files_directories.zip
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Feature Request: Main Files references to on-disk directories
Hi Chris,
Thanks, I added the extra details on the internal issue. Looking at our code this would not seem hard to implement.
Regards,
Radu
Thanks, I added the extra details on the internal issue. Looking at our code this would not seem hard to implement.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Site Admin
- Posts: 125
- Joined: Wed Dec 12, 2018 5:33 pm
Re: Feature Request: Main Files references to on-disk directories
Post by Cosmin Duna »
Hi Chris,
Oxygen XML Editor 25.0 is out now and contains the improvement you requested in this post.
Best regards,
Cosmin
Oxygen XML Editor 25.0 is out now and contains the improvement you requested in this post.
Best regards,
Cosmin
Cosmin Duna
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 922
- Joined: Thu May 02, 2019 2:32 pm
Re: Feature Request: Main Files references to on-disk directories
Post by chrispitude »
Hi Cosmin,
This feature provides exactly what we needed. Thank you!
This feature provides exactly what we needed. Thank you!
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service