|
80 | 80 | <property name="tomcat.dist" value="${tomcat.output}/dist"/> |
81 | 81 | <property name="tomcat.embed" value="${tomcat.output}/embed"/> |
82 | 82 | <property name="tomcat.embed.sources" value="${tomcat.output}/embed-src-jars"/> |
| 83 | + <property name="tomcat.i18n" value="${tomcat.output}/i18n"/> |
83 | 84 | <property name="tomcat.manifests" value="${tomcat.output}/manifests"/> |
84 | 85 | <property name="tomcat.release" value="${tomcat.output}/release"/> |
85 | 86 | <property name="tomcat.src.jars" value="${tomcat.output}/src-jars"/> |
|
237 | 238 | <path id="tomcat.test.classpath"> |
238 | 239 | <pathelement location="${test.basedir}/webapps/examples/WEB-INF/classes"/> |
239 | 240 | <pathelement location="${test.classes}"/> |
240 | | - <pathelement location="${tomcat.build}/i18n"/> |
| 241 | + <pathelement location="${tomcat.i18n}"/> |
241 | 242 | <pathelement location="${junit.jar}"/> |
242 | 243 | <pathelement location="${hamcrest.jar}"/> |
243 | 244 | <pathelement location="${easymock.jar}"/> |
|
791 | 792 | <mkdir dir="${tomcat.build}"/> |
792 | 793 | <mkdir dir="${tomcat.build}/bin"/> |
793 | 794 | <mkdir dir="${tomcat.build}/conf"/> |
794 | | - <mkdir dir="${tomcat.build}/i18n"/> |
795 | 795 | <mkdir dir="${tomcat.build}/lib"/> |
796 | 796 | <mkdir dir="${tomcat.build}/logs"/> |
797 | 797 | <mkdir dir="${tomcat.build}/temp"/> |
|
974 | 974 | after upgrading to Java 9+ as the minimum JRE and specifying the encoding |
975 | 975 | when loading the ResourceBundles --> |
976 | 976 | <native2ascii src="java" dest="${tomcat.classes}" includes="**/LocalStrings.properties,**/Messages*.properties" encoding="UTF-8"/> |
977 | | - <native2ascii src="java" dest="${tomcat.build}/i18n" includes="**/LocalStrings_*.properties" encoding="UTF-8"/> |
| 977 | + <native2ascii src="java" dest="${tomcat.i18n}" includes="**/LocalStrings_*.properties" encoding="UTF-8"/> |
978 | 978 |
|
979 | 979 | </target> |
980 | 980 |
|
|
1162 | 1162 | <!-- i18n JARs --> |
1163 | 1163 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-cs.jar" |
1164 | 1164 | manifest="${tomcat.manifests}/default.manifest"> |
1165 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1165 | + <fileset dir="${tomcat.i18n}"> |
1166 | 1166 | <include name="**/LocalStrings_cs.properties" /> |
1167 | 1167 | </fileset> |
1168 | 1168 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
1172 | 1172 | </jar> |
1173 | 1173 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-de.jar" |
1174 | 1174 | manifest="${tomcat.manifests}/default.manifest"> |
1175 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1175 | + <fileset dir="${tomcat.i18n}"> |
1176 | 1176 | <include name="**/LocalStrings_de.properties" /> |
1177 | 1177 | </fileset> |
1178 | 1178 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
1182 | 1182 | </jar> |
1183 | 1183 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-es.jar" |
1184 | 1184 | manifest="${tomcat.manifests}/default.manifest"> |
1185 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1185 | + <fileset dir="${tomcat.i18n}"> |
1186 | 1186 | <include name="**/LocalStrings_es.properties" /> |
1187 | 1187 | </fileset> |
1188 | 1188 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
1192 | 1192 | </jar> |
1193 | 1193 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-fr.jar" |
1194 | 1194 | manifest="${tomcat.manifests}/default.manifest"> |
1195 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1195 | + <fileset dir="${tomcat.i18n}"> |
1196 | 1196 | <include name="**/LocalStrings_fr.properties" /> |
1197 | 1197 | </fileset> |
1198 | 1198 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
1202 | 1202 | </jar> |
1203 | 1203 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-ja.jar" |
1204 | 1204 | manifest="${tomcat.manifests}/default.manifest"> |
1205 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1205 | + <fileset dir="${tomcat.i18n}"> |
1206 | 1206 | <include name="**/LocalStrings_ja.properties" /> |
1207 | 1207 | </fileset> |
1208 | 1208 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
1212 | 1212 | </jar> |
1213 | 1213 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-ko.jar" |
1214 | 1214 | manifest="${tomcat.manifests}/default.manifest"> |
1215 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1215 | + <fileset dir="${tomcat.i18n}"> |
1216 | 1216 | <include name="**/LocalStrings_ko.properties" /> |
1217 | 1217 | </fileset> |
1218 | 1218 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
1222 | 1222 | </jar> |
1223 | 1223 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-pt-BR.jar" |
1224 | 1224 | manifest="${tomcat.manifests}/default.manifest"> |
1225 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1225 | + <fileset dir="${tomcat.i18n}"> |
1226 | 1226 | <include name="**/LocalStrings_pt_BR.properties" /> |
1227 | 1227 | </fileset> |
1228 | 1228 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
1232 | 1232 | </jar> |
1233 | 1233 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-ru.jar" |
1234 | 1234 | manifest="${tomcat.manifests}/default.manifest"> |
1235 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1235 | + <fileset dir="${tomcat.i18n}"> |
1236 | 1236 | <include name="**/LocalStrings_ru.properties" /> |
1237 | 1237 | </fileset> |
1238 | 1238 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
1242 | 1242 | </jar> |
1243 | 1243 | <jar jarfile="${tomcat.build}/lib/tomcat-i18n-zh-CN.jar" |
1244 | 1244 | manifest="${tomcat.manifests}/default.manifest"> |
1245 | | - <fileset dir="${tomcat.build}/i18n"> |
| 1245 | + <fileset dir="${tomcat.i18n}"> |
1246 | 1246 | <include name="**/LocalStrings_zh_CN.properties" /> |
1247 | 1247 | </fileset> |
1248 | 1248 | <zipfileset file="${tomcat.manifests}/default.notice" |
|
0 commit comments