mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-25 21:42:07 +01:00
made jar_wg and compile_wg targets...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@1947 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
dce8e1fb8f
commit
df316414da
1 changed files with 39 additions and 2 deletions
|
@ -15,6 +15,7 @@
|
|||
<!-- ======================================================================================= -->
|
||||
|
||||
<property name="compile.dir" value="${basedir}/classes" />
|
||||
<property name="compile_wg.dir" value="${basedir}/apps/workgroup/classes" />
|
||||
<property name="jar.dest.dir" value="${basedir}" />
|
||||
<property name="javadoc.dest.dir" value="${basedir}/javadoc" />
|
||||
<property name="build.lib.dir" value="${basedir}/build/lib" />
|
||||
|
@ -55,7 +56,6 @@
|
|||
</javac>
|
||||
</target>
|
||||
|
||||
|
||||
<!-- jar -->
|
||||
<!-- ======================================================================================= -->
|
||||
<target name="jar" depends="compile" unless="jar.uptodate" description="Produces smack.jar">
|
||||
|
@ -67,6 +67,41 @@
|
|||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- compile workgroup -->
|
||||
<!-- ======================================================================================= -->
|
||||
<target name="compile_wg" depends="jar" description="Compiles workgroup source.">
|
||||
<!-- make target dir -->
|
||||
<mkdir dir="${compile_wg.dir}" />
|
||||
<javac
|
||||
destdir="${compile_wg.dir}"
|
||||
includeAntRuntime="no"
|
||||
debug="on">
|
||||
<src path="${basedir}/apps/workgroup/source" />
|
||||
<classpath>
|
||||
<fileset dir="${jar.dest.dir}">
|
||||
<include name="smack.jar"/>
|
||||
</fileset>
|
||||
<fileset dir="${build.lib.dir}">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
<fileset dir="${merge.lib.dir}">
|
||||
<include name="*.jar"/>
|
||||
</fileset>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- jar workgroup -->
|
||||
<!-- ======================================================================================= -->
|
||||
<target name="jar_wg" depends="compile_wg" unless="jar.uptodate"
|
||||
description="Produces workgroup.jar">
|
||||
<jar destfile="${jar.dest.dir}/workgroup.jar"
|
||||
basedir="${compile_wg.dir}"
|
||||
includes="**/*.class"
|
||||
>
|
||||
</jar>
|
||||
</target>
|
||||
|
||||
<!-- javadoc -->
|
||||
<!-- ======================================================================================= -->
|
||||
<target name="javadoc" description="JavaDocs the Jive Forums source code">
|
||||
|
@ -118,7 +153,9 @@
|
|||
<target name="clean" description="Deletes all generated content.">
|
||||
<delete dir="${javadoc.dest.dir}" />
|
||||
<delete dir="${compile.dir}" />
|
||||
<delete dir="${compile_wg.dir}" />
|
||||
<delete file="${basedir}/smack.jar" />
|
||||
<delete file="${basedir}/workgroup.jar" />
|
||||
<delete dir="${basedir}/release" />
|
||||
</target>
|
||||
|
||||
|
|
Loading…
Reference in a new issue