• 大小: 48.19M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-07-09
  • 语言: 其他
  • 标签: 其他  

资源简介

雷顿网络验证.rar

资源截图

代码片段和文件信息

#!/usr/bin/python
# Licensed to the Apache Software Foundation (ASF) under one or more
#  contributor license agreements.  See the NOTICE file distributed with
#  this work for additional information regarding copyright ownership.
#  The ASF licenses this file to You under the Apache License Version 2.0
#  (the “License“); you may not use this file except in compliance with
#  the License.  You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
#  Unless required by applicable law or agreed to in writing software
#  distributed under the License is distributed on an “AS IS“ BASIS
#  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND either express or implied.
#  See the License for the specific language governing permissions and
#  limitations under the License.
#

“““

 runant.py

    This script is a translation of the runant.pl written by Steve Loughran.
    It runs ant with/out arguments it should be quite portable (thanks to
    the python os library)
    This script has been tested with Python2.0/Win2K

 created:         2001-04-11
 author:          Pierre Dittgen pierre.dittgen@criltelecom.com

 Assumptions:

 - the “java“ executable/script is on the command path
“““
import os os.path string sys

# Change it to 1 to get extra debug information
debug = 0

#######################################################################

# If ANT_HOME is not set default to script‘s parent directory
if os.environ.has_key(‘ANT_HOME‘):
    ANT_HOME = os.environ[‘ANT_HOME‘]
else:
    ANT_HOME = os.path.dirname(os.path.dirname(os.path.abspath(sys.argv[0])))

# set ANT_LIB location
ANT_LIB = os.path.join(ANT_HOME ‘lib‘)

# set JAVACMD (check variables JAVACMD and JAVA_HOME)
JAVACMD = None
if not os.environ.has_key(‘JAVACMD‘):
    if os.environ.has_key(‘JAVA_HOME‘):
        if not os.path.exists(os.environ[‘JAVA_HOME‘]):
            print “Warning: JAVA_HOME is not defined correctly.“
        else:
            JAVACMD = os.path.join(os.environ[‘JAVA_HOME‘] ‘bin‘ ‘java‘)
    else:
        print “Warning: JAVA_HOME not set.“
else:
    JAVACMD = os.environ[‘JAVACMD‘]
if not JAVACMD:
    JAVACMD = ‘java‘

launcher_jar = os.path.join(ANT_LIB ‘ant-launcher.jar‘)
if not os.path.exists(launcher_jar):
    print ‘Warning: Unable to locate ant-launcher.jar. Expected to find it in %s‘ % \
        ANT_LIB

# Build up standard classpath (LOCALCLASSPATH)
LOCALCLASSPATH = launcher_jar
if os.environ.has_key(‘LOCALCLASSPATH‘):
    LOCALCLASSPATH += os.pathsep + os.environ[‘LOCALCLASSPATH‘]

ANT_OPTS = ““
if os.environ.has_key(‘ANT_OPTS‘):
    ANT_OPTS = os.environ[‘ANT_OPTS‘]

OPTS = ““
if os.environ.has_key(‘JIKESPATH‘):
    OPTS = ‘-Djikes.class.path=\“%s\“‘ % os.environ[‘JIKESPATH‘]

ANT_ARGS = ““
if os.environ.has_key(‘ANT_ARGS‘):
    ANT_ARGS = os.environ[‘ANT_ARGS‘]

CLASSPATH = ““
if os.environ.has_key(‘CLASSPATH‘):
    CLASSPATH = “-lib “ + os.environ[‘CLASSPATH‘]

# Builds the commandline
cmdline = (‘%s %s -classpath %s -D

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件     614754  2016-08-30 13:28  雷顿网络验证\工具\MD5值查看器.exe

     文件     602112  2014-07-12 10:40  雷顿网络验证\工具\通讯密匙 生成工具.exe

     文件     618496  2014-07-12 10:41  雷顿网络验证\工具\附加数据查看器.exe

     文件    1441792  2016-05-07 15:44  雷顿网络验证\工具\雷盾VM点提取工具.exe

     文件       3690  2000-07-29 19:15  雷顿网络验证\授权协议.txt

     文件     481771  2016-01-22 23:44  雷顿网络验证\易语言源文件\DLL验证模版.e

     文件     608851  2016-04-17 00:22  雷顿网络验证\易语言源文件\g.ec

     文件    3198976  2016-05-08 14:39  雷顿网络验证\易语言源文件\ldyz.yz

     文件     552864  2016-04-23 20:57  雷顿网络验证\易语言源文件\程序界面.e

     文件       3587  2016-05-08 14:41  雷顿网络验证\更新内容.txt

     文件        210  2016-01-02 04:26  雷顿网络验证\网页文件\.htaccess

     文件       2176  2016-04-03 01:25  雷顿网络验证\网页文件\admin.php

     文件          1  2016-05-08 14:40  雷顿网络验证\网页文件\app\Common\Common\index.html

     文件       1753  2016-05-08 14:40  雷顿网络验证\网页文件\app\Common\Conf\config.php

     文件          1  2016-05-08 14:40  雷顿网络验证\网页文件\app\Common\Conf\index.html

     文件          1  2016-05-08 14:40  雷顿网络验证\网页文件\app\Common\index.html

     文件          1  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\Common\index.html

     文件       1731  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\Conf\config.php

     文件          1  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\Conf\index.html

     文件          1  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\Controller\index.html

     文件     105015  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\Controller\IndexController.class.php

     文件          1  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\index.html

     文件          1  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\Model\index.html

     文件        811  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\View\admin\aboutus.html

     文件       3710  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\View\admin\addcard.html

     文件      10107  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\View\admin\adddaili.html

     文件      10417  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\View\admin\addproduct.html

     文件       2292  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\View\admin\adduser.html

     文件       1437  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\View\admin\adminpass.html

     文件       9962  2016-05-08 14:40  雷顿网络验证\网页文件\app\Home\View\admin\agentlist.html

............此处省略2197个文件信息

评论

共有 条评论