mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-12-06 13:11:08 +01:00
Smack 1.5.1 + SMACK-73. Branch generated to include TLS support in HEAD.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2716 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
ca9c6aea93
commit
171af4b325
276 changed files with 40441 additions and 0 deletions
42
CopyOftrunk/apps/webchat/build/ant
Normal file
42
CopyOftrunk/apps/webchat/build/ant
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
#! /bin/sh
|
||||
|
||||
# //--------------------------------------------------------------------------//
|
||||
# // $RCSfile$
|
||||
# // $Revision$
|
||||
# // $Date$
|
||||
# //
|
||||
# // Standard Jive Software ant file. Do not change this file. If you do,
|
||||
# // you will have seven years of bad luck and bad builds.
|
||||
# //--------------------------------------------------------------------------//
|
||||
|
||||
# //--------------------------------------------------------------------------//
|
||||
# // Uncomment the following lines if you wish to set JAVA_HOME in this script
|
||||
# //--------------------------------------------------------------------------//
|
||||
# JAVA_HOME=
|
||||
# EXPORT JAVA_HOME
|
||||
|
||||
# //--------------------------------------------------------------------------//
|
||||
# // Check for the JAVA_HOME environment variable //
|
||||
# //--------------------------------------------------------------------------//
|
||||
if [ "$JAVA_HOME" != "" ] ; then
|
||||
# //----------------------------------------------------------------------//
|
||||
# // Create Ant's classpath //
|
||||
# //----------------------------------------------------------------------//
|
||||
CP=$JAVA_HOME/lib/tools.jar:../../../build/ant.jar
|
||||
|
||||
# //----------------------------------------------------------------------//
|
||||
# // Run ant //
|
||||
# //----------------------------------------------------------------------//
|
||||
$JAVA_HOME/bin/java -classpath $CP -Dant.home=. org.apache.tools.ant.Main $@
|
||||
else
|
||||
# //----------------------------------------------------------------------//
|
||||
# // No JAVA_HOME error message //
|
||||
# //----------------------------------------------------------------------//
|
||||
echo "Jive Forums Build Error:"
|
||||
echo ""
|
||||
echo "The JAVA_HOME environment variable is not set. JAVA_HOME should point"
|
||||
echo "to your java directory, ie: /usr/local/bin/jdk1.3. You can set"
|
||||
echo "this via the command line like so:"
|
||||
echo " export JAVA_HOME=/usr/local/bin/jdk1.3"
|
||||
fi
|
||||
|
||||
52
CopyOftrunk/apps/webchat/build/ant.bat
Normal file
52
CopyOftrunk/apps/webchat/build/ant.bat
Normal file
|
|
@ -0,0 +1,52 @@
|
|||
@echo off
|
||||
|
||||
rem //------------------------------------------------------------------------//
|
||||
rem // $RCSfile$
|
||||
rem // $Revision$
|
||||
rem // $Date$
|
||||
rem //
|
||||
rem // Standard Jive Software ant.bat file. Do not change this file. If you do,
|
||||
rem // you will have seven years of bad luck and bad builds.
|
||||
rem //------------------------------------------------------------------------//
|
||||
|
||||
rem //------------------------------------------------------------------------//
|
||||
rem // Uncomment the following if you wish to set JAVA_HOME in this bat file:
|
||||
rem //------------------------------------------------------------------------//
|
||||
rem SET JAVA_HOME=
|
||||
|
||||
rem //------------------------------------------------------------------------//
|
||||
rem // Check for the JAVA_HOME environment variable
|
||||
rem //------------------------------------------------------------------------//
|
||||
if "%JAVA_HOME%" == "" goto noJavaHome
|
||||
|
||||
rem //------------------------------------------------------------------------//
|
||||
rem // Make the correct classpath (should include the java jars and the
|
||||
rem // Ant jars)
|
||||
rem //------------------------------------------------------------------------//
|
||||
SET CP=%JAVA_HOME%\lib\tools.jar;..\..\..\build\ant.jar
|
||||
|
||||
rem //------------------------------------------------------------------------//
|
||||
rem // Run Ant
|
||||
rem // Note for Win 98/95 users: You need to change "%*" in the following
|
||||
rem // line to be "%1 %2 %3 %4 %5 %6 %7 %8 %9"
|
||||
rem //------------------------------------------------------------------------//
|
||||
|
||||
%JAVA_HOME%\bin\java -Xms32m -Xmx128m -classpath %CP% -Dant.home=. org.apache.tools.ant.Main %*
|
||||
goto end
|
||||
|
||||
rem //------------------------------------------------------------------------//
|
||||
rem // Error message for missing JAVA_HOME
|
||||
rem //------------------------------------------------------------------------//
|
||||
:noJavaHome
|
||||
echo.
|
||||
echo Jive Forums Build Error:
|
||||
echo.
|
||||
echo The JAVA_HOME environment variable is not set. JAVA_HOME should point to
|
||||
echo your java directory, ie: c:\jdk1.3.1. You can set this via the command
|
||||
echo line like so:
|
||||
echo SET JAVA_HOME=c:\jdk1.3
|
||||
echo.
|
||||
goto end
|
||||
|
||||
:end
|
||||
|
||||
91
CopyOftrunk/apps/webchat/build/build.xml
Normal file
91
CopyOftrunk/apps/webchat/build/build.xml
Normal file
|
|
@ -0,0 +1,91 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<!--
|
||||
$RCSfile$
|
||||
$Revision$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<project name="WebChat" default="all" basedir="..">
|
||||
|
||||
<property file="${basedir}/build/webchat-build.properties" />
|
||||
<property name="smack.home" value="${basedir}/../../../smack" />
|
||||
<property name="compile.dir" value="${basedir}/build/temp" />
|
||||
<property name="jar.dest.dir" value="${basedir}/build/WEB-INF/lib" />
|
||||
<property name="jar.name" value="webchat" />
|
||||
<property name="war.dest.dir" value="${basedir}" />
|
||||
<property name="war.name" value="webchat" />
|
||||
|
||||
|
||||
<path id="dependencies">
|
||||
<!-- build jars -->
|
||||
<fileset dir="${smack.home}" includes="smack.jar" />
|
||||
<fileset dir="${basedir}/build/lib" includes="*.jar" />
|
||||
</path>
|
||||
|
||||
|
||||
<patternset id="web.filetypes">
|
||||
<include name="**/*.jsp" />
|
||||
<include name="**/*.js" />
|
||||
<include name="**/*.html" />
|
||||
<include name="**/*.gif" />
|
||||
<include name="**/*.css" />
|
||||
</patternset>
|
||||
|
||||
|
||||
<target name="init">
|
||||
<mkdir dir="${compile.dir}" />
|
||||
<mkdir dir="${jar.dest.dir}" />
|
||||
<!-- call smack jar process -->
|
||||
<ant antfile="build/build.xml" dir="${smack.home}" target="jar" inheritAll="false" />
|
||||
</target>
|
||||
|
||||
|
||||
<target name="clean">
|
||||
<delete dir="${compile.dir}" />
|
||||
<delete dir="${jar.dest.dir}" />
|
||||
<!-- call smack jar process -->
|
||||
<ant antfile="build/build.xml" dir="${smack.home}" target="clean" inheritAll="false" />
|
||||
</target>
|
||||
|
||||
|
||||
<target name="compile" depends="init">
|
||||
<javac
|
||||
destdir="${compile.dir}"
|
||||
includeAntRuntime="no"
|
||||
debug="on"
|
||||
classpathref="dependencies"
|
||||
>
|
||||
<src path="${basedir}/source/java" />
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="jar" depends="compile">
|
||||
<jar destfile="${jar.dest.dir}/${jar.name}.jar"
|
||||
basedir="${compile.dir}"
|
||||
includes="**/*.class"
|
||||
/>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="war" depends="jar">
|
||||
<war warfile="${war.dest.dir}/${war.name}.war"
|
||||
webxml="${basedir}/source/config/WEB-INF/web.xml"
|
||||
>
|
||||
<lib dir="${jar.dest.dir}" includes="*.jar" />
|
||||
<lib dir="${smack.home}" includes="smack.jar" />
|
||||
<zipfileset dir="${basedir}/source/web">
|
||||
<patternset refid="web.filetypes" />
|
||||
</zipfileset>
|
||||
</war>
|
||||
</target>
|
||||
|
||||
|
||||
<target name="deploywar" depends="war">
|
||||
<copy todir="${deploy.war.dir}" overwrite="${overwrite}">
|
||||
<fileset dir="${war.dest.dir}" includes="${war.name}.war" />
|
||||
</copy>
|
||||
</target>
|
||||
|
||||
</project>
|
||||
BIN
CopyOftrunk/apps/webchat/build/lib/servlet.jar
Normal file
BIN
CopyOftrunk/apps/webchat/build/lib/servlet.jar
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue