mirror of
https://github.com/zxing/zxing.git
synced 2025-03-05 20:48:51 -08:00
Disable email-based decoding -- won't be able to support it soon and it is very rarely used by anyone. Leaving code in for future reference though.
git-svn-id: https://zxing.googlecode.com/svn/trunk@1030 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
95596de0d2
commit
b6b9015a7c
|
@ -69,11 +69,13 @@
|
|||
<pathelement location="${tomcat-home}/lib/servlet-api.jar"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
<copy file="web/WEB-INF/web.xml.template" tofile="web/WEB-INF/web.xml" overwrite="true">
|
||||
<!--
|
||||
<copy file="web/WEB-INF/web.xml" tofile="web/WEB-INF/web.xml" overwrite="true">
|
||||
<filterset>
|
||||
<filter token="EMAIL_PASSWORD" value="${emailPassword}"/>
|
||||
</filterset>
|
||||
</copy>
|
||||
-->
|
||||
<war warfile="zxingorg.war" webxml="web/WEB-INF/web.xml">
|
||||
<lib dir="web/WEB-INF/lib">
|
||||
<include name="*.jar"/>
|
||||
|
@ -93,7 +95,6 @@
|
|||
</target>
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="web/WEB-INF/web.xml"/>
|
||||
<delete dir="web/WEB-INF/classes"/>
|
||||
<delete file="web/WEB-INF/lib/core.jar"/>
|
||||
<delete file="web/WEB-INF/lib/javase.jar"/>
|
||||
|
|
|
@ -28,10 +28,13 @@
|
|||
<listener>
|
||||
<listener-class>org.apache.commons.fileupload.servlet.FileCleanerCleanup</listener-class>
|
||||
</listener>
|
||||
<!--
|
||||
<listener>
|
||||
<listener-class>com.google.zxing.web.DecodeEmailListener</listener-class>
|
||||
</listener>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<context-param>
|
||||
<param-name>emailAddress</param-name>
|
||||
<param-value>w@zxing.org</param-value>
|
||||
|
@ -40,6 +43,7 @@
|
|||
<param-name>emailPassword</param-name>
|
||||
<param-value>@EMAIL_PASSWORD@</param-value>
|
||||
</context-param>
|
||||
-->
|
||||
|
||||
<servlet>
|
||||
<servlet-name>DecodeServlet</servlet-name>
|
Loading…
Reference in a new issue