第一次提交

This commit is contained in:
2025-09-12 17:26:30 +08:00
commit 802c988ddf
1929 changed files with 546710 additions and 0 deletions

77
.classpath Normal file
View File

@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="lib" path="lib/ASclientLib.jar"/>
<classpathentry kind="lib" path="lib/ASserverLib.jar" sourcepath="E:/EclipseWorkspace/src">
<attributes>
<attribute name="org.eclipse.jst.component.dependency" value="../"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/data.jar" sourcepath="E:/EclipseWorkspace/src">
<attributes>
<attribute name="org.eclipse.jst.component.dependency" value="../"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/im.jar" sourcepath="E:/EclipseWorkspace/src"/>
<classpathentry kind="lib" path="lib/jxl.jar" sourcepath="E:/EclipseWorkspace/src"/>
<classpathentry kind="lib" path="lib/sapidoc.jar" sourcepath="E:/EclipseWorkspace/src"/>
<classpathentry kind="lib" path="lib/sapidocjco.jar"/>
<classpathentry kind="lib" path="lib/sapjco2.1.7.jar"/>
<classpathentry kind="lib" path="lib/activation.jar"/>
<classpathentry kind="lib" path="lib/jsp-api.jar"/>
<classpathentry kind="lib" path="lib/commons-lang3-3.4.jar"/>
<classpathentry kind="lib" path="lib/commons-codec-1.9.jar"/>
<classpathentry kind="lib" path="lib/disruptor-3.3.4.jar"/>
<classpathentry kind="lib" path="lib/jackson-annotations-2.8.1.jar"/>
<classpathentry kind="lib" path="lib/jackson-core-2.8.1.jar"/>
<classpathentry kind="lib" path="lib/jackson-databind-2.8.1.jar"/>
<classpathentry kind="lib" path="lib/jcl-over-slf4j-1.7.18.jar"/>
<classpathentry kind="lib" path="lib/jul-to-slf4j-1.7.18.jar"/>
<classpathentry kind="lib" path="lib/log4j-api-2.5.jar"/>
<classpathentry kind="lib" path="lib/log4j-core-2.5.jar"/>
<classpathentry kind="lib" path="lib/log4j-slf4j-impl-2.5.jar"/>
<classpathentry kind="lib" path="lib/mail.jar"/>
<classpathentry kind="lib" path="lib/ojdbc14.jar"/>
<classpathentry kind="lib" path="lib/ojdbc6.jar"/>
<classpathentry kind="lib" path="lib/OPC.jar"/>
<classpathentry kind="lib" path="lib/slf4j-api-1.7.24.jar"/>
<classpathentry kind="lib" path="lib/slf4j-log4j12-1.7.24.jar"/>
<classpathentry kind="lib" path="lib/commons-httpclient-3.1.jar"/>
<classpathentry kind="lib" path="lib/http-sdk-1.0.4.2plus.jar"/>
<classpathentry kind="lib" path="lib/httpclient-4.5.3.jar"/>
<classpathentry kind="lib" path="lib/httpcore-4.4.6.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/ASserverLib.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/commons-codec-1.10.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/commons-codec-1.9.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/commons-discovery-0.2.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/commons-httpclient-3.1.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/commons-lang3-3.4.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/commons-logging-1.0.4.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/data.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/fastjson-1.2.41.jar"/>
<classpathentry kind="lib" path="tomcat/webapps/wcs/WEB-INF/lib/http-sdk-1.0.4.2plus.jar"/>
<classpathentry kind="lib" path="lib/crealib.jar"/>
<classpathentry excluding="**/*.bmp|**/*.psd|**/*.scc" kind="src" path="src"/>
<classpathentry exported="true" kind="lib" path="lib/wmcs.zip"/>
<classpathentry kind="lib" path="D:/tomcat/tomcat5.5/lib/comm.jar" sourcepath="E:/EclipseWorkspace/src"/>
<classpathentry kind="lib" path="D:/tomcat/tomcat5.5/lib/commons-fileupload-1.0.jar" sourcepath="E:/EclipseWorkspace/src"/>
<classpathentry kind="lib" path="D:/tomcat/tomcat5.5/lib/OPC.jar" sourcepath="E:/EclipseWorkspace/src"/>
<classpathentry kind="lib" path="D:/tomcat/tomcat5.5/lib/servlet-api.jar" sourcepath="C:/Users/hugo_niu/AppData/Local/Temp/.org.sf.feeling.decompiler1559134011696/source/servlet-api-2.4-sources-1559134200347.jar"/>
<classpathentry kind="lib" path="lib/webServerLib.jar"/>
<classpathentry kind="lib" path="lib/xmlschema-core-2.2.1.jar"/>
<classpathentry kind="lib" path="lib/minimal-json-0.9.4.jar"/>
<classpathentry kind="lib" path="lib/sun.misc.BASE64Decoder.jar"/>
<classpathentry kind="lib" path="lib/commons-codec-1.10.jar"/>
<classpathentry kind="lib" path="lib/commons-discovery-0.2.jar"/>
<classpathentry kind="lib" path="lib/commons-logging-1.0.4.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jre1.8.0_131">
<attributes>
<attribute name="owner.project.facets" value="java"/>
</attributes>
</classpathentry>
<classpathentry kind="lib" path="lib/poi-3.10.1-20140818.jar"/>
<classpathentry kind="lib" path="lib/axis.jar"/>
<classpathentry kind="lib" path="lib/jaxrpc.jar"/>
<classpathentry kind="lib" path="lib/dom4j-1.6.1.jar"/>
<classpathentry kind="lib" path="lib/fastjson-1.2.41.jar" sourcepath="C:/Users/hugo_niu/AppData/Local/Temp/.org.sf.feeling.decompiler1574216022313/source/fastjson-1.2.41-sources-1574218025095.jar"/>
<classpathentry kind="output" path="classes"/>
</classpath>

View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.ant.AntBuilderLaunchConfigurationType">
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AFTER_CLEAN_TARGETS" value="发布wcs服务程序,发布wms服务程序,"/>
<stringAttribute key="org.eclipse.ant.ui.ATTR_ANT_AUTO_TARGETS" value="发布wcs服务程序,发布wms服务程序,"/>
<booleanAttribute key="org.eclipse.ant.ui.ATTR_TARGETS_UPDATED" value="true"/>
<booleanAttribute key="org.eclipse.ant.ui.DEFAULT_VM_INSTALL" value="true"/>
<stringAttribute key="org.eclipse.debug.core.ATTR_REFRESH_SCOPE" value="${working_set:&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt;&#13;&#10;&lt;resources&gt;&#13;&#10;&lt;item path=&quot;/260青特铸造/tomcat/webapps/wmcs&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;item path=&quot;/260青特铸造/tomcat/webapps/wms&quot; type=&quot;2&quot;/&gt;&#13;&#10;&lt;/resources&gt;}"/>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/452半成品库"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="4"/>
</listAttribute>
<booleanAttribute key="org.eclipse.debug.core.capture_output" value="false"/>
<booleanAttribute key="org.eclipse.debug.ui.ATTR_CONSOLE_OUTPUT_ON" value="false"/>
<booleanAttribute key="org.eclipse.debug.ui.ATTR_LAUNCH_IN_BACKGROUND" value="false"/>
<stringAttribute key="org.eclipse.jdt.launching.CLASSPATH_PROVIDER" value="org.eclipse.ant.ui.AntClasspathProvider"/>
<booleanAttribute key="org.eclipse.jdt.launching.DEFAULT_CLASSPATH" value="true"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.8.0_131"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="org.eclipse.ant.internal.launching.remote.InternalAntRunner"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="009金鑫恒拓"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_LOCATION" value="${workspace_loc:/009金鑫恒拓/build.xml}"/>
<stringAttribute key="org.eclipse.ui.externaltools.ATTR_RUN_BUILD_KINDS" value="full,incremental,auto,"/>
<booleanAttribute key="org.eclipse.ui.externaltools.ATTR_TRIGGERS_CONFIGURED" value="true"/>
<stringAttribute key="process_factory_id" value="org.eclipse.ant.ui.remoteAntProcessFactory"/>
</launchConfiguration>

78
.project Normal file
View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>003天津JIG</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.ui.externaltools.ExternalToolBuilder</name>
<triggers>auto,full,incremental,</triggers>
<arguments>
<dictionary>
<key>LaunchConfigHandle</key>
<value>&lt;project&gt;/.externalToolBuilders/发布后台服务器程序.launch</value>
</dictionary>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
<filteredResources>
<filter>
<id>0</id>
<name></name>
<type>22</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-true-false-*.scc</arguments>
</matcher>
</filter>
<filter>
<id>0</id>
<name></name>
<type>22</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-true-false-*.psd</arguments>
</matcher>
</filter>
<filter>
<id>0</id>
<name></name>
<type>22</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-true-false-*.bmp</arguments>
</matcher>
</filter>
<filter>
<id>0</id>
<name>tomcat</name>
<type>9</type>
<matcher>
<id>org.eclipse.ui.ide.multiFilter</id>
<arguments>1.0-name-matches-false-false-webapps</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>

26
009金鑫恒拓WCS.launch Normal file
View File

@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<launchConfiguration type="org.eclipse.jdt.launching.javaApplet">
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
<listEntry value="/009金鑫恒拓/src/com/wxzd/wcs/Main.java"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
<listEntry value="1"/>
</listAttribute>
<listAttribute key="org.eclipse.debug.ui.favoriteGroups">
<listEntry value="org.eclipse.debug.ui.launchGroup.debug"/>
<listEntry value="org.eclipse.debug.ui.launchGroup.run"/>
</listAttribute>
<intAttribute key="org.eclipse.jdt.launching.APPLET_HEIGHT" value="200"/>
<stringAttribute key="org.eclipse.jdt.launching.APPLET_NAME" value="AS/RS"/>
<mapAttribute key="org.eclipse.jdt.launching.APPLET_PARAMETERS">
<mapEntry key="floor" value="2"/>
<mapEntry key="servletClass" value="servlet/server"/>
<mapEntry key="servletRoot" value="http://localhost:8080/wcs/"/>
<mapEntry key="showMenuBarOnStockPane" value="false"/>
<mapEntry key="viewRotation" value="0"/>
</mapAttribute>
<intAttribute key="org.eclipse.jdt.launching.APPLET_WIDTH" value="200"/>
<stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/jdk1.8.0_131"/>
<stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value="com.wxzd.wcs.Main"/>
<stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="009金鑫恒拓"/>
</launchConfiguration>

BIN
WEB-INF/lib/axis.jar Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
WEB-INF/lib/jaxrpc.jar Normal file

Binary file not shown.

BIN
WEB-INF/lib/saaj.jar Normal file

Binary file not shown.

BIN
WEB-INF/lib/wsdl4j.jar Normal file

Binary file not shown.

39
WEB-INF/web.xml Normal file
View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd" id="WebApp_ID">
<display-name>009金鑫恒拓</display-name>
<servlet>
<display-name>Apache-Axis Servlet</display-name>
<servlet-name>AxisServlet</servlet-name>
<servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>
</servlet>
<servlet>
<display-name>Axis Admin Servlet</display-name>
<servlet-name>AdminServlet</servlet-name>
<servlet-class>org.apache.axis.transport.http.AdminServlet</servlet-class>
<load-on-startup>100</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/servlet/AxisServlet</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>*.jws</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AxisServlet</servlet-name>
<url-pattern>/services/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>AdminServlet</servlet-name>
<url-pattern>/servlet/AdminServlet</url-pattern>
</servlet-mapping>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
<welcome-file>index.htm</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>default.html</welcome-file>
<welcome-file>default.htm</welcome-file>
<welcome-file>default.jsp</welcome-file>
</welcome-file-list>
</web-app>

272
build.xml Normal file
View File

@@ -0,0 +1,272 @@
<?xml version="1.0" encoding="utf-8"?>
<project name="ASRS" default="签名且打包">
<property name="app.sp" value="ASRS_ManagementSystem"/>
<property name="alias" value="${ant.project.name}"/>
<property name="app.kp" value="WuxiZhongdingWuliu"/>
<property name="common.resource.root" value="E:/WCSworkspace/"/>
<property name="keystore" value="${common.resource.root}wxzd.keystore"/>
<property name="signJar.dir" value="${basedir}/"/>
<property name="web.root" value="${basedir}/tomcat/webapps"/>
<property name="versionCommand" value="${common.resource.root}填充文件版本号.exe"/>
<property name="packPrefix" value=""/>
<property name="packCommand" value="D:/jdk/jdk1.8Win64/bin/pack200.exe"/>
<property name="pack.argument.1" value="--repack"/>
<property name="pack.argument.2" value="--segment-limit=-1"/>
<target name="签名且打包" depends="发布wcs服务程序,发布wms服务程序,填充版本号"
description="将系统程序打包成war文件该文件可以直接放到最终的发布路径下。对于tomcat就是webapps">
<war destfile="${signJar.dir}deploy/wms.war" basedir="${web.root}/wms/"
excludes="**/web.xml **/db.properties"
webxml="${basedir}/deploy/wms_web.xml"
compress="true">
<!-- <zipfileset file="${basedir}/deploy/db.properties" prefix="WEB-INF/classes/com/zcsoft/dbpool"/> -->
</war>
<war destfile="${signJar.dir}deploy/wcs.war" basedir="${web.root}/wcs/"
excludes="**/web.xml,*.log,*.fig"
webxml="${basedir}/deploy/wcs_web.xml"
compress="true">
</war>
<war destfile="${signJar.dir}deploy/sm.war" basedir="${web.root}/sm/"
excludes="**/db.properties"
compress="true">
<zipfileset file="${basedir}/deploy/db.properties" prefix="WEB-INF/classes/com/zcsoft/dbpool"/>
</war>
<!-- <war destfile="${signJar.dir}deploy/sm1.war" basedir="${web.root}/sm1/"
excludes="**/db.properties"
compress="true">
<zipfileset file="${basedir}/deploy/db.properties" prefix="WEB-INF/classes/com/zcsoft/dbpool"/>
</war>-->
</target>
<target name="发布wcs服务程序" description="发布监控系统后台服务程序到tomcat运行目录下">
<copy todir="${web.root}/wcs/WEB-INF/classes" preservelastmodified="true">
<fileset dir="${basedir}/classes"
excludes="*,resource/**,images/**,**/wms/**,**/wcs/client/**,**/wcs/*,com/zcsoft/**"/>
<zipfileset src="lib/wmcs.zip"
includes="**/stock/*,**/client/*,**/xml/*,**/util/*,**/comm/**
,com/wxzd/mcs/server/*,com/wxzd/mcs/data/*"
excludes="META-INF/MANIFEST.MF,**/stock/*Maker*,**/stock/StockMain*
,**/stock/*Pane*,**/stock/*Painter*,**/stock/*Icon*
,**/stock/FinishListener.class,*.fig,*.log,com/wxzd/mcs/client/*"/>
</copy>
<copy todir="${web.root}/wcs/WEB-INF/lib" preservelastmodified="true">
<fileset file="${basedir}/lib/ASserverLib.jar"/>
<fileset file="${basedir}/lib/data.jar"/>
</copy>
</target>
<target name="发布wms服务程序" description="发布管理系统后台服务程序到tomcat运行目录下">
<copy todir="${web.root}/wms/WEB-INF/classes" preservelastmodified="true">
<fileset dir="${basedir}/classes"
excludes="*,resource/**,images/**,**/wcs/**,**/client/**,**/gui/**
,**/util/Object*,**/util/Client*,**/util/Too*,**/util/Form*
,**/wms/App*,**/wms/Ent*,**/wms/Tre*"/>
<zipfileset src="lib/wmcs.zip"
includes="**/stock/Instruction.class,com/zcsoft/client/*,**/util/*
,**/stock/InstNoGenerator.class,com/zcsoft/comm/MessageHandler.class,com/zcsoft/comm/InvalidMessageException.class"
excludes="META-INF/MANIFEST.MF"/>
</copy>
<copy todir="${web.root}/wms/WEB-INF/lib" preservelastmodified="true">
<fileset file="${basedir}/lib/ASserverLib.jar"/>
<fileset file="${basedir}/lib/data.jar"/>
<fileset file="${basedir}/lib/sapjco2.1.7.jar"/>
<fileset file="${basedir}/lib/ojdbc6.jar"/>
<fileset file="${basedir}/lib/fastjson-1.2.41.jar"/>
<fileset file="${basedir}/lib/dom4j-1.6.1.jar"/>
</copy>
<!--signjar jar="E:/tomcat/common/lib/comm.jar" signedjar="${web.root}/wms/comm.jar"
keystore="${keystore}" storepass="${app.sp}" keypass="${app.kp}" alias="${alias}">
</signjar-->
</target>
<target name="发布sm服务程序" description="发布扫描系统后台服务程序到tomcat运行目录下">
<copy todir="${web.root}/sm/WEB-INF/classes/com/wxzd/wms/util" preservelastmodified="true">
<fileset file="${basedir}/classes/com/wxzd/wms/util/ServerUtil.class"/>
</copy>
<copy todir="${web.root}/sm/WEB-INF/classes/com/wxzd/wms/sys/data/" preservelastmodified="true">
<fileset file="${basedir}/classes/com/wxzd/wms/sys/data/ModuleConstant.class"/>
</copy>
<copy todir="${web.root}/sm/WEB-INF/classes/com/wxzd/wms/cpgl/data/" preservelastmodified="true">
<fileset file="${basedir}/classes/com/wxzd/wms/cpgl/data/WlRkzlItem.class"/>
</copy>
<copy todir="${web.root}/sm/WEB-INF/classes/com/wxzd/wms/cpgl/server/" preservelastmodified="true">
<fileset file="${basedir}/classes/com/wxzd/wms/cpgl/server/CprkglManager.class"/>
</copy>
<copy todir="${web.root}/sm/WEB-INF/classes/com/wxzd/wms/util/" preservelastmodified="true">
<fileset file="${basedir}/classes/com/wxzd/wms/util/SysConstant.class"/>
</copy>
<copy todir="${web.root}/sm/WEB-INF/lib" preservelastmodified="true">
<fileset file="${basedir}/lib/webServerLib.jar"/>
</copy>
<copy todir="${web.root}/sm/WEB-INF/classes" preservelastmodified="true">
<zipfileset src="lib/ASserverLib.jar"
includes="**/OperationInterface.class"
excludes="META-INF/MANIFEST.MF"/>
</copy>
</target>
<target name="填充版本号" description="替换文件中的$$version(?)内容"
depends="Pack.WMCS,Pack.WMS">
<exec executable="${versionCommand}" spawn="true">
<arg value="${basedir}/deploy/index.jnlp"/>
<arg value="${basedir}/deploy/index.jsp"/>
<arg value="${web.root}/wms/"/>
</exec>
<exec executable="${versionCommand}" spawn="true">
<arg value="${basedir}/deploy/wms_version.xml"/>
<arg value="${web.root}/wms/version.xml"/>
</exec>
<exec executable="${versionCommand}" spawn="true">
<arg value="${basedir}/deploy/wcs.jnlp"/>
<arg value="${web.root}/wcs/index.jnlp"/>
</exec>
<exec executable="${versionCommand}" spawn="true">
<arg value="${basedir}/deploy/wcs.jsp"/>
<arg value="${web.root}/wcs/index.jsp"/>
</exec>
<exec executable="${versionCommand}" spawn="true">
<arg value="${basedir}/deploy/wcs_version.xml"/>
<arg value="${web.root}/wcs/version.xml"/>
</exec>
</target>
<target name="Pack.WMCS" description="签名监控客户端的jar文件"
depends="build.wcs.jar" if="wcs.jar.shouldRepack">
<exec executable="${packCommand}">
<arg value="${pack.argument.1}"/>
<arg value="${pack.argument.2}"/>
<arg value="deploy/temp/wcsPack.jar"/>
<arg value="deploy/temp/wcs.jar"/>
</exec>
<signjar jar="deploy/temp/wcsPack.jar" signedjar="deploy/temp/${packPrefix}wcsSigned.jar"
keystore="${keystore}" storepass="${app.sp}" keypass="${app.kp}" alias="${alias}">
</signjar>
<exec executable="${packCommand}">
<arg value="${pack.argument.2}"/>
<arg value="${web.root}/wcs/WCS.jar.pack.gz"/>
<arg value="deploy/temp/${packPrefix}wcsSigned.jar"/>
</exec>
</target>
<target name="build.wcs.jar">
<zip zipfile="deploy/temp/wcs.jar" compress="false" update="true" duplicate="preserve" basedir="classes"
excludes="*.applet,*.html, images/*_fm.gif, **/server/**, package*/**, com/zcsoft/**, **/wms/**, Login*.class, resource/**, jsp*/**, Generated*/**">
<zipfileset src="lib/ASclientLib.jar" includes="**/**"
excludes="META-INF/MANIFEST.MF,resource/Ticket*.class,resource/Report*.class,
**/tools/*/client/**,**/picture/**,**/design/**"/>
<zipfileset src="lib/data.jar" includes="**/**"
excludes="META-INF/MANIFEST.MF,**/tm/**,
**/dbvisit/Case*,**/dbvisit/LV*,**/design/**"/>
<zipfileset src="lib/im.jar" includes="**/**"
excludes="META-INF/MANIFEST.MF,images/*Arrow.gif,images/align*.gif,
images/adjust*.gif,images/*Folder.gif,images/loading.gif,
images/finish.gif,images/saveasfile.gif,images/preview.gif,
images/copy.gif,images/paste.gif,images/newfile.gif,
images/arrow.gif,images/print.gif,images/label.gif,
images/modify.gif,images/refresh.gif,images/query.gif,
images/label.gif,images/savefile.gif,images/openfile.gif"/>
<zipfileset src="lib/wmcs.zip" includes="com/zcsoft/image/*,com/zcsoft/stock/*,com/zcsoft/xml/E*
,com/zcsoft/xml/A*,com/wxzd/mcs/client/*,com/wxzd/mcs/data/*,**/client/RemoteAccesser.class"
excludes="META-INF/MANIFEST.MF"/>
</zip>
<condition property="wcs.jar.shouldRepack">
<or>
<not>
<available file="${web.root}/wcs/WCS.jar.pack.gz"/>
</not>
<not>
<available file="deploy/temp/wcsPack.jar"/>
</not>
<uptodate srcfile="deploy/temp/wcsPack.jar" targetfile="deploy/temp/wcs.jar"/>
</or>
</condition>
</target>
<target name="Pack.WMS" description="签名管理客户端的jar文件"
depends="build.wms.jar" if="wms.jar.shouldRepack">
<exec executable="${packCommand}">
<arg value="${pack.argument.1}"/>
<arg value="${pack.argument.2}"/>
<arg value="deploy/temp/wmsPack.jar"/>
<arg value="deploy/temp/wms.jar"/>
</exec>
<signjar jar="deploy/temp/wmsPack.jar" signedjar="deploy/temp/${packPrefix}wmsSigned.jar"
keystore="${keystore}" storepass="${app.sp}" keypass="${app.kp}" alias="${alias}">
</signjar>
<exec executable="${packCommand}">
<arg value="${pack.argument.2}"/>
<arg value="${web.root}/wms/WMS.jar.pack.gz"/>
<arg value="deploy/temp/${packPrefix}wmsSigned.jar"/>
</exec>
</target>
<target name="build.wms.jar">
<zip zipfile="deploy/temp/wms.jar" compress="false" update="true" basedir="classes"
excludes="*.applet,*.html,**/server/**, package*/**, com/zcsoft/**
, **/wcs/**, images/**, jsp*/**, Generated*/**
, **/base/client/Gys*.class
, **/base/client/Kh*.class
, **/base/client/Phxx*.class
, **/bbgl/client/CpSfcbb*.class
, **/bbgl/client/CpXsckFhtj*.class
, **/bbgl/client/Cw*.class
, **/bbgl/client/Djjq*.class
, **/bbgl/client/Jgfx*.class
, **/bbgl/client/Mxfx*.class
, **/jkgl/client/J**">
<zipfileset src="lib/ASclientLib.jar" includes="**/**"/>
<zipfileset src="lib/data.jar" includes="**/**" excludes="META-INF/MANIFEST.MF"/>
<zipfileset src="lib/jxl.jar" includes="**/**" excludes="META-INF/MANIFEST.MF"/>
<zipfileset excludes="META-INF/MANIFEST.MF" includes="**/client/RemoteAccesser.class" src="lib/wmcs.zip"/>
<zipfileset src="lib/im.jar" includes="**/**"
excludes="META-INF/MANIFEST.MF,images/leftArrow.gif,images/rightArrow.gif"/>
<zipfileset src="lib/wmcs.zip" includes="**/stock/Instruction.class
,**/stock/StockMaintain.class,**/stock/CellNoPane*
,**/stock/Device.class,**/stock/Chain.class
,com/zcsoft/scanner/**,com/zcsoft/comm/InvalidMessageException.class"/>
</zip>
<condition property="wms.jar.shouldRepack">
<or>
<not>
<available file="${web.root}/wms/WMS.jar.pack.gz"/>
</not>
<not>
<available file="deploy/temp/wmsPack.jar"/>
</not>
<uptodate srcfile="deploy/temp/wmsPack.jar" targetfile="deploy/temp/wms.jar"/>
</or>
</condition>
</target>
<target name="genkey">
<exec executable="${java.home}/bin/keytool"
input="${common.resource.root}wxzd_keytoolArgs.txt">
<arg value="-genkey"/>
<arg value="-alias"/>
<arg value="${ant.project.name}"/>
<arg value="-keystore"/>
<arg value="${keystore}"/>
<arg value="-storepass"/>
<arg value="${app.sp}"/>
<arg value="-keypass"/>
<arg value="${app.kp}"/>
<arg value="-validity"/>
<arg value="3660"/>
</exec>
</target>
</project>

BIN
classes/LoginApplet.class Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More