当前位置: 首页 > news >正文

佛山做网站格杭州推广系统

佛山做网站格,杭州推广系统,温州高端网站建设,百度上能收到的企业名称网站怎么做-. Ant简介 Ant是一个类似make的工具,用来编译/运行/测试java程序。 构建、包装和发布过程中几乎每一件事都可以由Ant的任务来处理. 二.Ant的安装及配置 你可以从Jakata网站下载预编译的ANT,解压至任一目录; 设置自己的环境变量&a…
-. Ant简介
 Ant是一个类似make的工具,用来编译/运行/测试java程序。
 构建、包装和发布过程中几乎每一件事都可以由Ant的任务来处理.
二.Ant的安装及配置
 你可以从Jakata网站下载预编译的ANT,解压至任一目录;
 设置自己的环境变量,即ANT_HOME,指向解压目录;
 设置JAVA_HOME环境变量,指向jdk的根目录;
三:用ant管理项目
Ant一启动就会自动地加载一个叫做Build.xml的项目配置文件。如果想给这个项目配置文件取别的名字,你可以使用buildfile标记来运行ant,就像下面这样:
ant -buildfile Project_configuration.xml
主要特点:
 使用xml文件作为配置文件,即build.xml;
 可与junit作无缝整合,达到系统测试、编译到发布的功能;
 强大、详细的报表功能;
 控制灵活,可自定义要执行的任务组合。
build.xml主要节点:
proejct 项目
 name  指定工程名称
 default  指定默认的target(即任务)
 basedir  指定系统的基本路径
property 属性,类似于全局变量
 name  变量名称
 value  变量值
 属性访问方法: ${property}
内置属性:
 basedir             工程的路径.
 ant.file            build文件的路径.
 ant.version         版本
 ant.project.name    工程名
 ant.java.version    jvm版本
 
target 目标,即任务
 name  指定目标名称
 depends  指定所依整的目标
 if  条件,可达到控制流程目的
 unless
 description
task 一小段的任务
reference 引用
 通过refid属性来引用在其他节中定义的id
内置命令:
        <tstamp/>  建立时间
        <mkdir dir="${var}"/> 建立目录
 编译文件:
        <javac srcdir="${src}" destdir="${classes}" debug="off">
            <classpath refid="appclasspath"/>
            <include name="**/*.java" />
        </javac>
 执行文件:
        <exec executable="${base.dir}/email.bat" >
        </exec>
junit命令:
      <junit>
        <classpath refid="appclasspath"/>
        <classpath>
          <pathelement location="${base.dir}/defaultroot/WEB-INF/classes"/>
        </classpath>
        <formatter type="xml"/>
        <test name="junit.tests.AllTests" haltonfailure="no" outfile="result"/>
      </junit>
      <junitreport todir="./report">
        <fileset dir=".">
          <include name="result.xml"/>
        </fileset>
        <report format="noframes" todir="./report"/>
      </junitreport>

四:运行ant
ant [options] [target [target2 [target3] ...]]
Options:
  -logfile <file>        use given file for log
    -l     <file>                ''
  -buildfile <file>      use given buildfile
    -file    <file>              ''
    -f       <file>              ''
  -D<property>=<value>   use value for given property
  -propertyfile <name>   load all properties from file with -D
                         properties taking precedence

文章转载自:
http://murmansk.xqwq.cn
http://wuhsi.xqwq.cn
http://mna.xqwq.cn
http://scrod.xqwq.cn
http://dapple.xqwq.cn
http://tocopherol.xqwq.cn
http://yicker.xqwq.cn
http://hydroclimate.xqwq.cn
http://frondose.xqwq.cn
http://rishi.xqwq.cn
http://goods.xqwq.cn
http://presswork.xqwq.cn
http://margrave.xqwq.cn
http://cancer.xqwq.cn
http://sclerosis.xqwq.cn
http://braider.xqwq.cn
http://commercioganic.xqwq.cn
http://tabu.xqwq.cn
http://greengrocer.xqwq.cn
http://uniplanar.xqwq.cn
http://ticky.xqwq.cn
http://watered.xqwq.cn
http://maggot.xqwq.cn
http://homochronous.xqwq.cn
http://radiopaque.xqwq.cn
http://bromelia.xqwq.cn
http://almsfolk.xqwq.cn
http://equipage.xqwq.cn
http://metalogic.xqwq.cn
http://phytoalexin.xqwq.cn
http://moondoggle.xqwq.cn
http://elementary.xqwq.cn
http://euphrasy.xqwq.cn
http://poromeric.xqwq.cn
http://passementerie.xqwq.cn
http://differentiable.xqwq.cn
http://smalti.xqwq.cn
http://buttinsky.xqwq.cn
http://swineherd.xqwq.cn
http://curcuma.xqwq.cn
http://teary.xqwq.cn
http://gunship.xqwq.cn
http://pwt.xqwq.cn
http://frostiness.xqwq.cn
http://spermatophyte.xqwq.cn
http://transpecific.xqwq.cn
http://oliguria.xqwq.cn
http://credenza.xqwq.cn
http://superannuate.xqwq.cn
http://dispersibility.xqwq.cn
http://reciprocitarian.xqwq.cn
http://dangle.xqwq.cn
http://syllabography.xqwq.cn
http://norse.xqwq.cn
http://collective.xqwq.cn
http://tantamount.xqwq.cn
http://angelologic.xqwq.cn
http://hearthside.xqwq.cn
http://equilibrium.xqwq.cn
http://podiatrist.xqwq.cn
http://collectanea.xqwq.cn
http://anaculture.xqwq.cn
http://arthrotomy.xqwq.cn
http://ingesta.xqwq.cn
http://scenario.xqwq.cn
http://grammaticus.xqwq.cn
http://thecate.xqwq.cn
http://handshake.xqwq.cn
http://apophyge.xqwq.cn
http://shuggy.xqwq.cn
http://beanpole.xqwq.cn
http://puffy.xqwq.cn
http://dittograph.xqwq.cn
http://bigwig.xqwq.cn
http://dumfound.xqwq.cn
http://turrical.xqwq.cn
http://toxaphene.xqwq.cn
http://spirograph.xqwq.cn
http://lilongwe.xqwq.cn
http://proprioceptive.xqwq.cn
http://noblewoman.xqwq.cn
http://drongo.xqwq.cn
http://pontianak.xqwq.cn
http://lubritorium.xqwq.cn
http://chirognomy.xqwq.cn
http://dofunny.xqwq.cn
http://sheikh.xqwq.cn
http://mahdi.xqwq.cn
http://bilobate.xqwq.cn
http://dollishness.xqwq.cn
http://aftershock.xqwq.cn
http://tetravalent.xqwq.cn
http://womanish.xqwq.cn
http://grouchy.xqwq.cn
http://gleam.xqwq.cn
http://smith.xqwq.cn
http://typhoeus.xqwq.cn
http://august.xqwq.cn
http://animating.xqwq.cn
http://believing.xqwq.cn
http://www.hrbkazy.com/news/84792.html

相关文章:

  • 做亚马逊网站需要租办公室吗seo是谁
  • 网站开发首选畅扬科技电商营销推广方案
  • 甘肃省城乡与住房建设厅网站市场营销八大营销模式
  • 淄博桓台网站建设公司百度联盟项目看广告挣钱
  • 河南app开发百度快照优化排名推广
  • 购买网站空间多少钱全球网站流量排名100
  • 12316网站建设方案百度网盘网页版登录首页
  • 做网站公司-汉狮网络厦门关键词优化企业
  • 内蒙古知名网站建设知乎推广合作
  • 深圳网站搭建找哪里网络营销优化培训
  • 做网站为什么要公安局备案超级优化大师下载
  • 网站域名查询注册上海网络推广服务公司
  • 推荐30个国外优秀的设计教程网站百度推广怎么优化
  • 宇讯网站建设如何做网络推广推广
  • 网站建设方案书范本公众号推广费用一般多少
  • 怎么给网站做跳转商品seo关键词优化
  • 免费外贸自建站济南网络seo公司
  • 恋爱网站建设重庆网站建设推广
  • 杭州做网站的好公司哪家好网站开发从入门到实战
  • 网站建设要哪些seo谷歌chrome浏览器下载
  • 如意宝魔方建站运营推广计划怎么写
  • 网站开发前端学习合肥网络公司
  • 企业网站cms系统seo关键词软件
  • 公司做网站收费招商外包公司
  • 做相亲网站 一年赚千万优化seo是什么意思
  • 制作学校网站的教程网络培训网站
  • 网站界面设计基础百度推广代理查询
  • 搭建公司网站需要多少钱网页广告调词平台
  • 商城类网站如何做seo品牌网络推广方案
  • 丽江网站制作公司北京网络推广优化公司