在jbuilder中用ant部署J2EE应用程序的构件文件

原创 2004年07月15日 14:01:00

大笑微笑生气吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头吐舌头生气微笑大笑


偷笑我爱北京天安门偷笑


偷笑天安门上太阳升偷笑


偷笑伟大领袖毛主席偷笑


偷笑指引我们向前进偷笑

偷笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑大笑偷笑

<p><span style="FONT-SIZE: 10.5pt; FONT-FAMILY: 宋体; mso-bidi-font-size: 12.0pt; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'; mso-font-kerning: 1.0pt; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA; mso-bidi-font-family: 'Times New Roman'"><span lang="EN"><font face="Times New Roman">&lt;?xml version=&quot;1.0&quot;?&gt;</font></span></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman">&lt;project name=&quot;Jasmine's EAR Ant Buildfile&quot; default=&quot;package&quot; basedir=&quot;.&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;src&quot; value=&quot;src&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;build&quot; value=&quot;build&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;build.archives&quot; value=&quot;${build}/archives&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;build.classes&quot; value=&quot;${build}/classes&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;temp&quot; value=&quot;${build.archives}/temp&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;temp.ejb.jar&quot; value=&quot;${build.archives}/temp/ejb-jar&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;temp.war&quot; value=&quot;${build.archives}/temp/war&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;temp.ear&quot; value=&quot;${build.archives}/temp/ear&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><span style="mso-spacerun: yes"><font face="Times New Roman">&nbsp; </font></span></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;!--ejb</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录</span><span lang="EN"><font face="Times New Roman">--&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;ejb.dir&quot; value=&quot;JasmineEJB&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;!--web</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录</span><span lang="EN"><font face="Times New Roman">--&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;web.dir&quot; value=&quot;JasmineWAR&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;!--ear</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">目录</span><span lang="EN"><font face="Times New Roman">--&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;property name=&quot;ear.dir&quot; value=&quot;JasmineEAR&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;target name=&quot;init&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;tstamp/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${build}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span><span style="mso-spacerun: yes">&nbsp;&nbsp;</span>&lt;mkdir dir=&quot;${build.archives}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${build.classes}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${temp}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;/target&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman">&nbsp;<o:p></o:p></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;target name=&quot;compile&quot; depends=&quot;init&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;javac srcdir=&quot;${src}&quot; destdir=&quot;${build.classes}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;/target&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman">&nbsp;<o:p></o:p></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;target name=&quot;package&quot; description = &quot;Package the application for deployment&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;delete dir=&quot;${build.archives}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;antcall target=&quot;package.ejb.jar&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;antcall target=&quot;package.web.war&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;antcall target=&quot;package.app.ear&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;/target&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman">&nbsp;<o:p></o:p></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;!-- </font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">打包</span><span lang="EN"><font face="Times New Roman">ejb</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件</span><span lang="EN"><font face="Times New Roman"> --&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;target name=&quot;package.ejb.jar&quot; depends=&quot;compile&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${temp.ejb.jar}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${temp.ejb.jar}/META-INF&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;copy todir=&quot;${temp.ejb.jar}&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;fileset dir=&quot;${build.classes}&quot; includes=&quot;jasmine/&quot; excludes=&quot;jasmine/servlet/&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;/copy&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;copy file=&quot;${ejb.dir}/META-INF/ejb-jar.xml&quot; todir=&quot;${temp.ejb.jar}/META-INF&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;!--mkdir dir=&quot;${build.archives}/temp&quot;/--&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;jar jarfile=&quot;${build.archives}/jasmineEJB.jar&quot;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-tab-count: 1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><span style="mso-spacerun: yes">&nbsp; </span>basedir=&quot;${temp.ejb.jar}&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;/jar&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;/target&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman">&nbsp;<o:p></o:p></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;!-- </font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">打包</span><span lang="EN"><font face="Times New Roman">war</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件</span><span lang="EN"><font face="Times New Roman">--&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;target name=&quot;package.web.war&quot; depends=&quot;compile&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${temp.war}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${temp.war}/WEB-INF/classes&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${temp.war}/WEB-INF/lib&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;copy todir=&quot;${temp.war}/WEB-INF/classes&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;fileset dir=&quot;${build.classes}/jasmine/servlet&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;/copy&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;copy file=&quot;${web.dir}/WEB-INF/web.xml&quot; todir=&quot;${temp.war}/WEB-INF&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;copy todir=&quot;${temp.war}&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;fileset dir=&quot;${web.dir}&quot; excludes=&quot;WEB-INF/**&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;/copy&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;jar jarfile=&quot;${build.archives}/jasmineWAR.war&quot; basedir=&quot;${temp.war}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;/target&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman">&nbsp;<o:p></o:p></font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;!--</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">打包</span><span lang="EN"><font face="Times New Roman">ear</font></span><span style="FONT-FAMILY: 宋体; mso-ascii-font-family: 'Times New Roman'; mso-hansi-font-family: 'Times New Roman'">文件</span><span lang="EN"><font face="Times New Roman">--&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;target name=&quot;package.app.ear&quot; depends=&quot;package.web.war,package.ejb.jar&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${temp.ear}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;mkdir dir=&quot;${temp.ear}/META-INF&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;copy file=&quot;${ear.dir}/META-INF/application.xml&quot; todir=&quot;${temp.ear}/META-INF&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;copy todir=&quot;${temp.ear}&quot;&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>&lt;fileset dir=&quot;${build.archives}&quot; includes=&quot;*.jar,*.war&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;/copy&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </span>&lt;jar jarfile=&quot;${build.archives}/jasmineEAR.ear&quot; basedir=&quot;${temp.ear}&quot;/&gt;</font></span></p><p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt; LINE-HEIGHT: 12pt"><span lang="EN"><font face="Times New Roman"><span style="mso-spacerun: yes">&nbsp; </span>&lt;/target&gt;</font></span></p><p><span lang="EN" style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-fareast-font-family: 宋体; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA">&lt;/project&gt;</span></p><p><span lang="EN" style="FONT-SIZE: 10.5pt; FONT-FAMILY: 'Times New Roman'; mso-bidi-font-size: 12.0pt; mso-font-kerning: 1.0pt; mso-fareast-font-family: 宋体; mso-ansi-language: EN-US; mso-fareast-language: ZH-CN; mso-bidi-language: AR-SA"></span>&nbsp;</p>

Ant中build.xml详细部署

ANT build.xml文件详解 Ant的优点 跨平台性。Ant是用Java语言编写的,所示具有很好的跨平台性。 操作简单。Ant是由一个内置任务和可选任务组成的。 Ant运行时...
  • chajinglong
  • chajinglong
  • 2015年11月18日 15:53
  • 3676

Weblogic 应用部署

详细介绍Weblogic应用部署方式。
  • Fortyone41
  • Fortyone41
  • 2014年04月07日 00:29
  • 2913

jenkins+ant配置自动化任务全过程

1、首先,你需要写UI自动化测试,本地运行无误 2、利用按天
  • zzzghj
  • zzzghj
  • 2014年08月29日 14:02
  • 6284

使用Maven构建和部署J2EE应用程序的EAR文件

这篇文章,主要是技术上的整理,用来mark一下,用的时候参考。 一、新建项目 新建一个空的Maven Project项目 二、放入依赖 注:ear部署时如果里面有enti...
  • shan9liang
  • shan9liang
  • 2014年05月20日 20:49
  • 7100

深入浅出J2EE架构——应用程序设计与部署的原理.part1

  • 2007年07月09日 12:31
  • 9.77MB
  • 下载

深入浅出J2EE架构——应用程序设计与部署的原理.part3

  • 2007年07月09日 12:35
  • 2.78MB
  • 下载

深入浅出J2EE架构——应用程序设计与部署的原理.part2

  • 2007年07月09日 12:34
  • 9.77MB
  • 下载

websphere8 从安装到部署 测试集群应用程序 安装j2ee程序(非常详细)

目录 1. 准备安装文件 2. 安装Installation Manager 3. 为Installation Manager指定安装资源库 4. 创建部署管理器概要文件 5. 创建定制概要...
  • haitaofeiyang
  • haitaofeiyang
  • 2015年10月12日 14:18
  • 2306

一个用于J2EE应用程序的异常处理框架

在大多数Java项目中,大部分代码都是样板代码。异常处理就属于此类代码。即使业务逻辑只有3到4行代码,用于异常处理的代码也要占10到20行。本文将讨论如何让异常处理保持简单和直观,使开发人员可以专心于...
  • peterwanghao
  • peterwanghao
  • 2014年11月05日 11:22
  • 631

Spring是轻量级的J2EE应用程序框架【转载】

Spring的核心是个轻量级容器(container),实现了IoC(Inversion of Control)模式的容器,Spring的目标是实现一个全方位的整合框架,在Spring框架下实现多个子...
  • qq_22520587
  • qq_22520587
  • 2017年03月16日 22:19
  • 613
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:在jbuilder中用ant部署J2EE应用程序的构件文件
举报原因:
原因补充:

(最多只允许输入30个字)