-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild-properties.xml
51 lines (42 loc) · 1.98 KB
/
build-properties.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?xml version="1.0" encoding="UTF-8"?>
<build>
<!--
Definitions for the Ant properties used in build.xml . When referenced,
properties look like this:
${toDir.base}
For more information, see https://ant.apache.org/manual/Tasks/xmlproperty.html
-->
<!-- This directory inside dhq-static will hold the static site's individual files
(but not the compressed site). -->
<context>dhq</context>
<!-- A regular expression mapping individual HTML pages in the repository to their
static site equivalents. You can add directories to the first group, or adjust
the file extensions in the second group. Note, however, that any file matched by
this regex will be transformed with XSLT, and so, should be XHTML. -->
<staticPages>
<from>^(about|contact|explore|news|people|submissions)/(.+\.html)</from>
<to>\1/\2</to>
</staticPages>
<toDir>
<!-- The base directory for storing static site content. The directory will be
placed at the same level as the git repository. -->
<base>dhq-static</base>
<!-- Within ${toDir.base}, the name of the directory which should be used to
store the publication-ready version of the DHQ site. This should be the same
value as ${context}. -->
<static>dhq</static>
<!-- Within ${toDir.base}, the name of the directory which should be used to
store the proofing-only version of DHQ. -->
<proofing>dhq-proofing</proofing>
</toDir>
<!-- The directory in which HTML articles are saved for previewing. Note that if
you change this value, you may also have to change the "assets-path" parameter
value in build.xml's "previewArticle" target, and/or add a new value to the
repository .gitignore file. -->
<previewDir>dhq-preview</previewDir>
<!-- The XSLT processor to use. -->
<processor>
<name>net.sf.saxon.BasicTransformerFactory</name>
<location>common${file.separator}lib${file.separator}saxon</location>
</processor>
</build>