question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Something about Ant

See original GitHub issue
  1. Perhaps it makes sense to add Ant if/unless namespaces to the build project root. Since DITA-OT Ant version is 1.9.7, these namespaces automacally open the possibility to use if and unless attributes on tasks and inner elements. Also Ant itself can be upgraded (http://ant.apache.org/antnews.html) (release notes https://archive.apache.org/dist/ant/).

  2. Despite the fact that there is preprocess.mapref.skip property, we have no chance to skip mapref resolution. Because the keyref task contains its own mapref resolution pipeline (do we really need to resolve them twice?), and that one does not respond to preprocess.mapref.skip. It doesn’t affect the result of full preprocessing, but mapref resolution is likely to break ditamap validation in some cases. So for partial preprocessing it may be useful to have a possibilty to switch it off. With (1) it is quite simple:

<pipeline message="Resolve mapref in ditamap" taskname="mapref" unless:set="preprocess.mapref.skip">
  1. The BranchFilterModule gives birth to a new (filtered) topics, which are added to the .job.xml. But the branch-filter task doesn’t rewrite file lists, they are rewritten later - in the chunk task. The chunk task execution depends on preprocess.chunk.skip property and can be skipped, then these new topics will never be exploded and processed. I think it would be useful to add the following lines to the end of the branch-filter task.
<job-helper file="fullditatopic.list" property="fullditatopiclist"/>
<job-helper file="fullditamapandtopic.list" property="fullditamapandtopiclist"/>

(2) и (3) will reduce the number of dependencies between tasks, so they can be easily switched off without breaking the output. It’s concered with this discussion.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
jelovirtcommented, May 8, 2017
  1. File lists are deprecated and obsolete, they will be removed in 3.0. (Historical not, 3.0 was supposed to be released in 2016, but we pushed it back because we felt we didn’t have enough features for 3.0. It’s all PR, really.)
1reaction
jelovirtcommented, May 8, 2017
  1. While we have a property to skip mapref processing, it’s retained for historical reasons. Many parts of preprocessing rely on mapref processing, and if you want to disable it, then you have to disable also e.g. keyref processing.
Read more comments on GitHub >

github_iconTop Results From Across the Web

10 Interesting Facts About Ants - Western Exterminator
1. Ants have superhuman strength! · 2. Ants don't have lungs · 3. Ants don't have ears · 4. There are a lot...
Read more >
Fun Facts about Ants & Ant Information for Kids
There are more than 12,000 species of ants all over the world. · An ant can lift 20 times its own body weight....
Read more >
10 cool facts about ants! - National Geographic Kids
1. There are over 12,000 ant species worldwide · 2. The bullet ant is said to have the most painful sting in the...
Read more >
8 Interesting Facts About Ants - PestWorld.org
Ants are very social insects, and they divide jobs among different types of ants in each colony. The queen or queens have only...
Read more >
Ants | National Geographic
Ants are common insects, but they have some unique capabilities. More than 10,000 known ant species occur around the world. They are especially...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found