<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Super. I suggest that the documentation be clarified to show the
use of wild cards for this use.<br>
</p>
<div class="moz-signature">Best,<br>
Kris<br>
<br>
Kristen James Eberlein<br>
Chair, OASIS DITA Technical Committee<br>
Principal consultant, Eberlein Consulting<br>
<a class="moz-txt-link-abbreviated" href="http://www.eberleinconsulting.com">www.eberleinconsulting.com</a><br>
+1 919 622-1501; kriseberlein (skype)<br>
<br>
</div>
<div class="moz-cite-prefix">On 2/6/2020 2:24 AM, Oxygen XML Editor
Support (Radu Pisoi) wrote:<br>
</div>
<blockquote type="cite"
cite="mid:ca6a660c-ffc3-a1b3-c8ed-4c3bd6c49f4a@oxygenxml.com">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi,</p>
<p>You can use the template resource<sup>[1]</sup> section from
publishing template descriptor to specify a directory that will
be copied to the output folder. The <i>resources/fileset</i>
element allow you to define one or more sets of additional
resources to be copied to the output folder.</p>
<p> </p>
<blockquote type="cite">
<pre class="pre codeblock language-xml" style="box-sizing: border-box; font-family: monospace; font-size: 12.25px; margin: 0.5em 0px 0.5em 0.5em; overflow: auto; display: block; color: rgb(33, 37, 41); padding: 0.5em; background-color: rgb(238, 238, 238); max-height: 600px; border-radius: 7px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"><strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><publishing-template></strong>
...
<strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><webhelp></strong>
...
<strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><resources></strong>
<strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><fileset></strong>
<strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><include</strong> <span class="hl-attribute" style="box-sizing: border-box; color: rgb(255, 121, 53);">name</span>=<span class="hl-value" style="box-sizing: border-box; color: rgb(153, 51, 0);">"common/**/*"</span><strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);">/></strong>
<strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><include</strong> <span class="hl-attribute" style="box-sizing: border-box; color: rgb(255, 121, 53);">name</span>=<span class="hl-value" style="box-sizing: border-box; color: rgb(153, 51, 0);">"JS/**/*"</span><strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);">/></strong>
<strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);"><exclude</strong> <span class="hl-attribute" style="box-sizing: border-box; color: rgb(255, 121, 53);">name</span>=<span class="hl-value" style="box-sizing: border-box; color: rgb(153, 51, 0);">"**/*.svn"</span><strong class="hl-tag" style="box-sizing: border-box; font-weight: bolder; color: rgb(0, 0, 150);">/></strong></pre>
</blockquote>
Please note that all relative paths specified in the descriptor
file are relative to the template root folder.
<p>The resources specified in the template descriptor are copied
to the following output folder: <i>[WebHelp_OUTPUT_DIR]/oxygen-webhelp/template</i>.
If you want to refer them from HTML fragments you can use the <i>oxygen-webhelp-template-dir<sup>[2]</sup></i>
macro:<br>
</p>
<p> </p>
<blockquote type="cite"><link rel="stylesheet"
href="${oxygen-webhelp-template-dir}/custom-resources/custom.css"
/></blockquote>
----------------------------
<p>[1] - <a moz-do-not-send="true"
href="https://www.oxygenxml.com/doc/versions/21.1/ug-webhelp-responsive/topics/whr_publishing_template_contents.html#ariaid-title3">Template
Resources</a><br>
</p>
<p>[2] - <a moz-do-not-send="true"
href="https://www.oxygenxml.com/doc/versions/21.1/ug-webhelp-responsive/topics/whr_publishing_template_contents.html#ariaid-title7">WebHelp
Responsive Macros</a><br>
</p>
<pre class="moz-signature" cols="72">Regards,
Radu
--
Radu Pisoi
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
<a class="moz-txt-link-freetext" href="http://www.oxygenxml.com" moz-do-not-send="true">http://www.oxygenxml.com</a></pre>
<div class="moz-cite-prefix">On 2/5/2020 4:26 PM, Kristen James
Eberlein wrote:<br>
</div>
<blockquote type="cite"
cite="mid:75c5ee88-2778-8575-8981-ec95ee4d5a6d@eberleinconsulting.com">Hi,
<br>
<br>
We need to include an entire directory of CSS and JavaScript
files in the Web Help output: 317 files, too many to reference
by individual <include> elements in the template
descriptor file. <br>
<br>
How can we best do this? <br>
<br>
Previously, the team managed this by simply hacking the
com.oxygenxml.webhelp.responsive/oxygen-webhelp/lib directory to
add their directory; I very much do NOT want to do that. <br>
<br>
Obviously, we could handle this by a copy operation in our
automated build, but then we would have differences between the
results of the automated build and any local builds from within
oXygen. <br>
<br>
</blockquote>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
</body>
</html>