xiaohenxun
此项目描述的是 Jive(J道版)是在Jive 2.1版本基础上改编而成,增加一些功能,更加实用,本下载包中包括源程序,你可以修改为你自己的网站定制。 学习Jive源程序,可以更好的理解和应用设计模式,学习Java必须读懂两套源代码,第一个就是Jive 第二个是Sun的宠物店Pet Store. Jive论坛的优点是由于采用缓冲机制,可以承受巨大访问量,同时能保持快速反应,在国外站点采用很多。
应用介绍
<?xml version="1.0"?>
-<project basedir="." default="dist">
-<target name="init">
<tstamp/>
<property name="Name" value="Jive"/>
<property name="name" value="jive"/>
<property name="version" value="0.1.1"/>
<property name="year" value="2002"/>
<echo message="----------- ${Name} ${version} [${year}] ------------"/>
<property name="build.compiler" value="classic"/>
<property name="debug" value="true"/>
<property name="optimize" value="on"/>
<property name="deprecation" value="on"/>
<property name="src.dir" value="./src"/>
<property name="lib.dir" value="./lib"/>
<property name="webapp.home" value="D:/laneasy/tomcat/webapps"/>
<property name="build.dir" value="./classes"/>
<property name="build.src" value="./src"/>
<property name="build.jsp" value="./application"/>
<property name="build.classes" value="./classes"/>
<property name="build.javadocs" value="./docs"/>
<property name="dist.root" value="./dist"/>
<property name="dist.dir" value="${dist.root}/${name}-${version}"/>
<property name="dist.lib" value="./application/WEB-INF/lib"/>
<filter value="${year}" token="year"/>
<filter value="${version}" token="version"/>
<filter value="${debug}" token="debug"/>
<filter value="${TODAY}" token="date"/>
<filter value="true" token="log"/>
<filter value="true" token="verbose"/>
<filter value="${java.version}" token="java-version"/>
-<path id="project.class.path">
-<fileset dir="${lib.dir}">
<include name="*.jar"/>
</fileset>
<pathelement path="${build.classes}"/>
</path>
</target>
-<target name="help" depends="init">
<echo message=""/>
<echo message=""/>
<echo message="${Name} ${version} Build file"/>
<echo message="-------------------------------------------------------------"/>
<echo message=""/>
<echo message=" available targets are:"/>
<echo message=""/>
<echo message=" package --> generates the ${name}.jar file"/>
<echo message=" compile --> compiles the source code (default)"/>
<echo message=" javadoc --> generates the API documentation"/>
<echo message=" clean --> cleans up the directory"/>
<echo message=""/>
<echo message=" See the comments inside the build.xml file for more details."/>
<echo message="-------------------------------------------------------------"/>
<echo message=""/>
<echo message=""/>
</target>
-<target name="prepare" depends="init">
<mkdir dir="${build.dir}"/>
<mkdir dir="${build.classes}"/>
</target>
-<target name="compile" depends="prepare">
-<javac deprecation="${deprecation}" optimize="${optimize}" debug="${debug}" destdir="${build.classes}">
<classpath refid="project.class.path"/>
<src path="${build.src}"/>
</javac>
</target>
-<target name="package" depends="compile">
<jar basedir="${build.classes}" includes="com/**" jarfile="${dist.lib}/${name}.jar"/>
</target>
-<target name="dist" depends="package">
-<copy todir="${webapp.home}/cowork/forum">
-<fileset dir="${build.jsp}">
<include name="**/*.jsp"/>
<include name="**/*.css"/>
<include name="**/*.gif"/>
<exclude name="english/**/*"/>
<exclude name="WEB-INF/**/*"/>
</fileset>
</copy>
-<copy todir="${webapp.home}/cowork/WEB-INF/lib">
-<fileset dir="${dist.lib}">
<include name="${name}.jar"/>
</fileset>
</copy>
<copy todir="${webapp.home}/cowork/WEB-INF/classes" file="jiveHome/jive_init.properties"/>
<copy todir="${webapp.home}/cowork/WEB-INF/var/forum" file="jiveHome/jive_config.xml"/>
<copy todir="${webapp.home}/cowork/WEB-INF/var/forum" file="jiveHome/jive_filters.xml"/>
<mkdir dir="${webapp.home}/cowork/WEB-INF/var/forum/logs"/>
<mkdir dir="${webapp.home}/cowork/WEB-INF/var/forum/search"/>
</target>
-<target name="javadoc" depends="prepare">
<mkdir dir="${build.javadocs}"/>
-<javadoc destdir="${build.javadocs}" bottom="Copyright All Rights Reserved." doctitle="${Name}" windowtitle="${Name} API" noindex="false" splitindex="true" use="true" version="true" author="true" sourcepath="${build.src}" packagenames="org.jetic.*">
<classpath refid="project.class.path"/>
</javadoc>
</target>
-<target name="clean" depends="init">
<echo message="Deleting ${build.dir} ..."/>
<delete dir="${build.dir}"/>
</target>
</project>
©版权声明:本文内容由互联网用户自发贡献,版权归原创作者所有,本站不拥有所有权,也不承担相关法律责任。如果您发现本站中有涉嫌抄袭的内容,欢迎发送邮件至: [email protected] 进行举报,并提供相关证据,一经查实,本站将立刻删除涉嫌侵权内容。
转载请注明出处: apollocode » xiaohenxun
文件列表(部分)
名称 | 大小 | 修改日期 |
---|---|---|
jivejdon | 0.00 KB | 2002-10-24 |
.cvsignore | 0.05 KB | 2002-09-09 |
application | 0.00 KB | 2002-12-21 |
account.jsp | 2.20 KB | 2002-09-30 |
accountSuccess.jsp | 0.83 KB | 2002-09-26 |
admin | 0.00 KB | 2002-10-27 |
cache.jsp | 2.71 KB | 2002-09-09 |
colorPicker.jsp | 1.30 KB | 2002-09-09 |
createForum.jsp | 2.12 KB | 2002-09-09 |
createGroup.jsp | 1.57 KB | 2002-09-09 |
createUser.jsp | 2.25 KB | 2002-09-09 |
CVS | 0.00 KB | 2002-09-10 |
Entries | 0.46 KB | 2002-09-10 |
Repository | 0.03 KB | 2002-09-09 |
Root | 0.04 KB | 2002-09-09 |
data.jsp | 1.74 KB | 2002-09-09 |
database.jsp | 0.99 KB | 2002-09-09 |
editCache.jsp | 2.77 KB | 2002-09-09 |
editForum.jsp | 1.59 KB | 2002-09-09 |
editGroup.jsp | 1.23 KB | 2002-09-09 |
editRewards.jsp | 0.92 KB | 2002-09-09 |
editUser.jsp | 2.03 KB | 2002-09-09 |
editWatches.jsp | 1.72 KB | 2002-09-09 |
error.jsp | 0.40 KB | 2002-09-30 |
filters.jsp | 4.93 KB | 2002-09-09 |
footer.jsp | 0.12 KB | 2002-09-09 |
forumContent.jsp | 1.91 KB | 2002-09-09 |
forumContent_delete.jsp | 1.86 KB | 2002-09-09 |
forumContent_prefs.jsp | 0.50 KB | 2002-09-09 |
forumContent_thread.jsp | 1.48 KB | 2002-09-09 |
发表评论 取消回复