資源簡(jiǎn)介
商品后臺(tái)管理系統(tǒng),前端頁(yè)面,有需要的可以看看。。。。。。

代碼片段和文件信息
#!/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?‘a(chǎn)nt-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
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-11-28?08:55??鍟嗗搧綆$悊緋葷粺\
?????文件????????2882??2018-11-23?16:18??鍟嗗搧綆$悊緋葷粺\index.html
?????目錄???????????0??2018-12-19?16:17??__MACOSX\
?????目錄???????????0??2018-12-19?16:17??__MACOSX\鍟嗗搧綆$悊緋葷粺\
?????文件?????????176??2018-11-23?16:18??__MACOSX\鍟嗗搧綆$悊緋葷粺\._index.html
?????文件????????8196??2018-11-28?16:44??鍟嗗搧綆$悊緋葷粺\.DS_Store
?????文件?????????120??2018-11-28?16:44??__MACOSX\鍟嗗搧綆$悊緋葷粺\._.DS_Store
?????目錄???????????0??2018-08-01?16:09??鍟嗗搧綆$悊緋葷粺\main\
?????文件?????????589??2018-07-27?17:57??鍟嗗搧綆$悊緋葷粺\main\zjsp.html
?????文件????????1362??2018-08-01?16:09??鍟嗗搧綆$悊緋葷粺\main\dzlist.html
?????目錄???????????0??2018-12-19?16:17??__MACOSX\鍟嗗搧綆$悊緋葷粺\main\
?????文件?????????176??2018-08-01?16:09??__MACOSX\鍟嗗搧綆$悊緋葷粺\main\._dzlist.html
?????文件????????1415??2018-07-27?17:42??鍟嗗搧綆$悊緋葷粺\main\list.html
?????文件?????????176??2018-07-27?17:42??__MACOSX\鍟嗗搧綆$悊緋葷粺\main\._list.html
?????文件?????????963??2018-08-02?13:34??鍟嗗搧綆$悊緋葷粺\main\add.html
?????文件?????????176??2018-08-02?13:34??__MACOSX\鍟嗗搧綆$悊緋葷粺\main\._add.html
?????文件????????1218??2018-07-27?18:05??鍟嗗搧綆$悊緋葷粺\main\splb.html
?????文件?????????731??2018-11-23?16:13??鍟嗗搧綆$悊緋葷粺\main\zjzlb.html
?????文件??????????24??2014-05-22?10:26??鍟嗗搧綆$悊緋葷粺\main\test.html
?????文件?????????176??2014-05-22?10:26??__MACOSX\鍟嗗搧綆$悊緋葷粺\main\._test.html
?????目錄???????????0??2018-11-28?16:16??鍟嗗搧綆$悊緋葷粺\assets\
?????目錄???????????0??2018-11-28?16:16??鍟嗗搧綆$悊緋葷粺\assets\tools\
?????目錄???????????0??2018-08-01?16:05??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\
?????文件?????????126??2014-05-22?10:26??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\INSTALL
?????文件???????15289??2014-05-22?10:26??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\LICENSE
?????目錄???????????0??2018-08-01?16:05??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\bin\
?????文件????????9997??2014-05-22?10:26??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\bin\ant
?????文件????????2764??2014-05-22?10:26??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\bin\ant.cmd
?????文件????????3219??2014-05-22?10:26??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\bin\complete-ant-cmd.pl
?????文件????????1085??2014-05-22?10:26??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\bin\lcp.bat
?????文件????????4184??2014-05-22?10:26??鍟嗗搧綆$悊緋葷粺\assets\tools\ant\bin\envset.cmd
............此處省略161個(gè)文件信息
評(píng)論
共有 條評(píng)論