浏览代码

fix #1186 add generatorList

Shinsuke Sugaya 8 年之前
父节点
当前提交
2561a5b359

+ 3 - 0
src/main/resources/fess_thumbnail.xml

@@ -112,6 +112,9 @@
 			"${url}",
 			"${outputFile}"]
 		</property>
+		<property name="generatorList">
+			["${path}/generate-thumbnail"]
+		</property>
 		<postConstruct name="addCondition">
 			<arg>"mimetype"</arg>
 			<arg>"application/postscript"

+ 3 - 0
src/main/webapp/WEB-INF/crawler/resources/crawler_thumbnail.xml

@@ -94,6 +94,9 @@
 	</component>
 	<component name="psThumbnailGenerator" class="org.codelibs.fess.thumbnail.impl.EmptyGenerator">
 		<property name="name">"psThumbnailGenerator"</property>
+		<property name="generatorList">
+			["${path}/generate-thumbnail"]
+		</property>
 		<postConstruct name="addCondition">
 			<arg>"mimetype"</arg>
 			<arg>"application/postscript"