ant 脚本命令
编程技术  /  houtizong 发布于 3年前   60
<available property="prefix" value="${basedir}/.." file="${basedir}/../build/jetty-build.xml"/>
<condition property="prefix" value="${basedir}"> <not> <isset property="prefix"/> </not> </condition>
<javac source="${JAVAC_SOURCE}" target="${JAVAC_TARGET}" executable="${JAVAC_EXE}" fork="yes" destdir="classes" classpath="${outDir}" classpathref="libraries" optimize="off" verbose="off" debug="on" memoryInitialSize="256M" memoryMaximumSize="512M"> <src path="${srcDir}"/> <include name="**/*.java"/> </javac>
<nbjpdastart name="My application" addressproperty="jpda.address2" transport="dt_socket"> <sourcepath> <pathelement path="src"/> </sourcepath> </nbjpdastart>
<java jar="start.jar" fork="yes" dir="bin" failonerror="true" jvm="${java.executable}"> <jvmarg value="-Xdebug"/> <jvmarg value="-mx256M"/> <jvmarg value="-Xnoagent"/> <jvmarg value="-Djetty.home=."/> <jvmarg value="-Djava.compiler=none"/> <jvmarg value="-Xrunjdwp:transport=dt_socket,address=${jpda.address2}"/> <jvmarg value="-DSTOP.PORT=-1"/> <jvmarg value="-Xverify:none"/> <jvmarg value="-Xbootclasspath/a:${jettyOutDir}\\ext\\mail.jar"/》 <jvmarg value="-Dprimary.address=10.123.146.10"/> <jvmarg value="-Dprimary.port=8080"/> </java>
<for param="fileName"> <path> ... </path> <sequential> <echo>@{filename}</echo> </sequential> </for>
<mxmlc file="@{filename}" keep-generated-actionscript="true"><source-path path-element="flex/locale"/><compiler.include-libraries dir="${FLEX_HOME}/frameworks/libs"><include name="automation.swc"/><include name="automation_agent.swc"/><include name="automation_charts.swc"/></compiler.include-libraries><compiler.include-libraries dir="flex/lib"><include name="graphLayout.swc"/><include name="unComponentToolbox.swc"/><include name="PrimitiveIcons.swc"/></compiler.include-libraries><compiler.include-libraries dir="${rftBinDir}"><include name="rft.swc"/><include name="rftProp.swc"/></compiler.include-libraries></mxmlc>
<sequential> <mkdir ... /> <copy ... /> <nbjpdastart ... /> </sequential>
<echo message="Fire crews" /> <echo>Fire crews</echo> <echo file="containment.txt" append="false">Fire crews</echo> <echo message="Fire crews" file="containment.txt" append="false" /> <echo level="debug">Are hoping</echo>
<signjar jar="crew.jar" alias="containment" storepass="123456" keystore="cert.p12" storetype="pkcs12" />
<project name="WebApplication" default="init" basedir="."></project>
<jar update="true" compress="true" jarfile="${outDir}/tag-1.0.jar"><manifest><attribute name="Build-User" value="John"/></manifest><metainf dir="${srcDir}/META-INF/"><include name="**/*.xml" /></metainf><fileset dir="${outDir}"><include name="**/*.class" /></fileset></jar>
<path id="build.classpath"><fileset dir="${outDir}"><include name="**/*.class" /></fileset><pathelement location="${basedir}\..\encryption\build" /></path>
<taskdef name="wlst" classname="weblogic.ant.taskdefs.management.WLSTTask"> <classpath> <pathelement location="${weblogic.jar.location}"/> </classpath></taskdef><wlst debug="true" failonerror="true" filename="${weblogicscriptlocation}"> <classpath> <pathelement location="${weblogic.jar.location}"/> </classpath></wlst>
请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!
技术博客集 - 网站简介:
前后端技术:
后端基于Hyperf2.1框架开发,前端使用Bootstrap可视化布局系统生成
网站主要作用:
1.编程技术分享及讨论交流,内置聊天系统;
2.测试交流框架问题,比如:Hyperf、Laravel、TP、beego;
3.本站数据是基于大数据采集等爬虫技术为基础助力分享知识,如有侵权请发邮件到站长邮箱,站长会尽快处理;
4.站长邮箱:[email protected];
文章归档
文章标签
友情链接