Changeset 3259
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r3247 r3259 255 255 It will be included in the 'doc' target in the future." 256 256 /> 257 258 <target259 name="helptext"260 depends="dev.init, doc.helptext"261 description="Generate import file with helptexts from the docbook documentation."262 />263 264 257 265 258 <!-- init targets --> … … 1025 1018 <target 1026 1019 name="doc.docbook.html" 1027 depends="dev.init,doc.init "1020 depends="dev.init,doc.init,xsltprocessor" 1028 1021 > 1029 1022 <mkdir dir="${doc}/docbook/html" /> … … 1065 1058 <fileset dir="${doc}/docbook/html" defaultexcludes="no" /> 1066 1059 </delete> 1060 <delete file="data/helptexts.xml" /> 1067 1061 <ant antfile="${lib}/docbook/ant-build-docbook.xml" inheritall="false" target="html.chunked"> 1068 1062 <property name="ant.docbook.styler.dir" location="${lib}/docbook" /> … … 1073 1067 <property name="base.version" value="${base.version}"/> 1074 1068 </ant> 1069 1070 <property name="catalog.location" location="${lib}/docbook/preprocess/catalog.xml" /> 1071 <path id="ant-extensions"> 1072 <fileset dir="${lib}/docbook/ant-extensions" includes="**/*.jar" /> 1073 <pathelement path="${lib}/docbook/ant-extensions" /> 1074 </path> 1075 1076 <xmlcatalog id="dtdcatalog"> 1077 <catalogpath> 1078 <fileset file="${catalog.location}"/> 1079 </catalogpath> 1080 </xmlcatalog> 1081 1082 <style 1083 in = "${build}/docbook/docbook-ready-file.tmp" 1084 style = "${lib}/docbook/preprocess/webclient_helptext.xsl" 1085 out = "data/helptexts.xml" 1086 processor = "${xslt.processor}" 1087 > 1088 <xmlcatalog refid="dtdcatalog"/> 1089 <classpath refid="ant-extensions" /> 1090 1091 <param name="xsltproc.catalog" expression="${catalog.location}" /> 1092 <param name="xsltproc.option.--nonet" expression="" /> 1093 </style> 1094 1095 <replaceregexp 1096 file="data/helptexts.xml" 1097 match="<(?!/?name|/?description|/?helpitem|/?helptexts)(/?([a-z]+)[^>]*)>" 1098 replace="&lt;\$1&gt;" 1099 flags="sg" 1100 /> 1075 1101 </target> 1076 1102 … … 1106 1132 </copy> 1107 1133 </target> 1108 1109 <target 1110 name="doc.helptext" 1111 depends="doc.docbook.html, xsltprocessor" 1112 description="Generate a import file with helptexts for the webclient" 1113 > 1114 <delete file="${build}/docbook/helptext_docbook.xml"/> 1115 <property name="catalog.location" location="${lib}/docbook/preprocess/catalog.xml" /> 1116 <path id="ant-extensions"> 1117 <fileset dir="${lib}/docbook/ant-extensions" includes="**/*.jar" /> 1118 <pathelement path="${lib}/docbook/ant-extensions" /> 1119 </path> 1120 1121 <xmlcatalog id="dtdcatalog"> 1122 <catalogpath> 1123 <fileset file="${catalog.location}"/> 1124 </catalogpath> 1125 </xmlcatalog> 1126 1127 <style 1128 in = "${build}/docbook/docbook-ready-file.tmp" 1129 style = "${lib}/docbook/preprocess/webclient_helptext.xsl" 1130 out = "${build}/docbook/helptext_docbook.xml" 1131 processor = "${xslt.processor}" 1132 > 1133 <xmlcatalog refid="dtdcatalog"/> 1134 <classpath refid="ant-extensions" /> 1135 1136 <param name="xsltproc.catalog" expression="${catalog.location}" /> 1137 <param name="xsltproc.option.--nonet" expression="" /> 1138 </style> 1139 1140 <replaceregexp 1141 file="${build}/docbook/helptext_docbook.xml" 1142 match="<(?!/?name|/?description|/?helpitem|/?helptexts)(/?([a-z]+)[^>]*)>" 1143 replace="&lt;\$1&gt;" 1144 flags="sg" 1145 /> 1146 1147 </target> 1148 1134 1149 1135 <target name="xsltprocessor"> 1150 1136 <property environment="env"/> -
trunk/data
-
Property
svn:ignore
set to
helptexts.xml
-
Property
svn:ignore
set to
Note: See TracChangeset
for help on using the changeset viewer.