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:
srowen 2009-08-04 08:54:02 +00:00
parent 95596de0d2
commit b6b9015a7c
2 changed files with 7 additions and 2 deletions

View file

@ -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"/>

View file

@ -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>