整理一个ANT在J2EE项目中的应用,含预编译JSP和…

2008-02-23 09:19:59来源:互联网 阅读 ()

新老客户大回馈,云服务器低至5折


verbose="9"
uriroot
="${dir.project.web_module}"
outputDir
="${dir.project.compile.jspcache}"
webXmlFragment
="${dir.project.compile.jspcache}/generated-web.xml" />
</target>

<!--// for OC4J 9.0.4
<target name="jsp_src_generate" depends="src_compile">
<java classname="oracle.jsp.tools.Jspc" fork="yes" failonerror="true">
<classpath refid="CLASSPATH"/>
<arg line="-extend com.orionserver.http.OrionHttpJspPage"/>
<arg line="-srcdir ${dir.project.compile.jspcache}"/>
<arg line="-appRoot ${dir.project.web_module}"/>
<arg line="-noCompile"/>
<arg line="-debug"/>
<arg line="-verbose"/>
<arg line="${dir.project.web}/*.jsp"/>
</java>
</target>
//-->


<target name="jsp_src_compile">
<javac srcdir="${dir.project.compile.jspcache}"
destdir
="${dir.project.compile.jspcache}"
encoding
="${opt.compile.encoding}"
source
="${opt.compile.source}"
target
="${opt.compile.source}"
deprecation
="${opt.compile.deprecation}"
debug
="${opt.compile.debug}"
optimize
="{opt.compile.optimize}" >
<classpath refid="CLASSPATH"/>
<

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:成功修改netbeans的外观

下一篇:java简单的获取windows系统网卡mac地址