笔记整理
Posted Mr-yuenkin
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了笔记整理相关的知识,希望对你有一定的参考价值。
Build.xml
<project name="build yqxt" default="compile"
basedir=".">
<property name="dest" value="dist" />
<property name="src.dir" value="src" />
<property name="bin.dir" value="WebContent/WEB-INF/classes" />
<property name="servletJars" value="/usr/local/apache-tomcat-7.0.41_3/lib" />
<target name="compile">
<delete dir="$bin.dir" />
<mkdir dir="$bin.dir" />
<javac srcdir="$src.dir" destdir="$bin.dir" deprecation="off"
debug="on" source="1.5" target="1.5" encoding="utf-8">
<classpath>
<pathelement path="$classpath" />
<fileset dir="WebContent/WEB-INF/lib">
<include name="*.jar"/>
</fileset>
<fileset dir="$servletJars">
<include name="*.jar"/>
</fileset>
</classpath>
</javac>
<copy todir="$bin.dir">
<fileset dir="$src.dir">
<include name="**/*" />
<exclude name="**/*.java" />
</fileset>
</copy>
</target>
</project>
restartTomcat.sh
/usr/local/apache-tomcat-7.0.41_3/bin/catalina.sh stop
sleep 8
/usr/local/apache-tomcat-7.0.41_3/bin/catalina.sh start
redeploy.sh
/usr/local/apache-tomcat-7.0.41_3/bin/catalina.sh stop
svn update
ant
sleep 10
/usr/local/apache-tomcat-7.0.41_3/bin/catalina.sh start
以上是关于笔记整理的主要内容,如果未能解决你的问题,请参考以下文章