|
From: Mike H. <he...@us...> - 2003-09-30 21:08:59
|
Update of /cvsroot/jolo/jolo
In directory sc8-pr-cvs1:/tmp/cvs-serv29674
Added Files:
.classpath .project build.properties build.xml
Log Message:
Initial add.
--- NEW FILE: .classpath ---
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="output" path=".eclipse"/>
</classpath>
--- NEW FILE: .project ---
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>Jolo</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>
--- NEW FILE: build.properties ---
#
# Jolo Build properties file.
#
# $Id: build.properties,v 1.1 2003/09/30 21:08:56 heathm Exp $
#
# --- Directories used by the build system ---
output=${basedir}/output
classes=${output}/classes
src=${basedir}/src
src.java=${src}/java
conf=${basedir}/conf
# --- Compile options ---
compile.debug=yes
compile.optimize=no
compile.deprecation=yes
# --- Jolo Server Service properties ---
jolo.server.file=jolo-server.sar
jolo.server.sar=${output}/${jolo.server.file}
conf.jolo.server.sar=${conf}/jolo-server.sar
--- NEW FILE: build.xml ---
<!--
Jolo build script.
$Id: build.xml,v 1.1 2003/09/30 21:08:56 heathm Exp $
-->
<project basedir="." name="Jolo" default="all">
<target name="init">
<!-- Load Jolo build properties -->
<property name="build.properties.file" value="${basedir}/build.properties" />
<property file="${build.properties.file}" />
<!-- Define Jolo Class Path -->
<path id="classpath">
</path>
</target>
<target name="compile" depends="init" description="Compiles all Jolo sources.">
<mkdir dir="${classes}" />
<javac
srcdir="${src.java}"
destdir="${classes}"
debug="${compile.debug}"
optimize="${compile.optimize}"
deprecation="${compile.deprecation}"
>
<classpath refid="classpath" />
</javac>
</target>
<target name="package" depends="init, compile" description="Package all sources into their appropriate archives.">
<!-- Create server Service Archive (SAR) -->
<jar
jarfile="${jolo.server.sar}"
>
<fileset dir="${conf.jolo.server.sar}">
<include name="**/**"/>
</fileset>
<fileset dir="${classes}">
<include name="**/jmx/**"/>
</fileset>
</jar>
</target>
<target name="clean" depends="init" description="Remove files created by build.">
</target>
<target name="all" depends="init, compile, package" description="Builds Jolo distribution." />
<target name="full" depends="init, clean, all" description="Runs 'clean' target and then 'all' target." />
</project>
|