directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 1358 - incubator/directory/ldap/trunk/server
Date Fri, 05 Dec 2003 03:57:10 GMT
Author: akarasulu
Date: Thu Dec  4 19:57:09 2003
New Revision: 1358

Added:
   incubator/directory/ldap/trunk/server/gump.xml
Modified:
   incubator/directory/ldap/trunk/server/build.xml
Log:
ant and gump stuff

Modified: incubator/directory/ldap/trunk/server/build.xml
==============================================================================
--- incubator/directory/ldap/trunk/server/build.xml	(original)
+++ incubator/directory/ldap/trunk/server/build.xml	Thu Dec  4 19:57:09 2003
@@ -1,699 +1,139 @@
-<?xml version="1.0"?>
-<project name="ldapd-server" default="main" basedir=".">
-
-	<!-- ============================================================
-
-
-							PROPERTY SETUP
-
-
-     ================================================================ -->
-
-	<!-- set up properties -->
-	<property file="${user.home}/build.properties"/>
-	<property file="${user.home}/.ant.properties"/>
-	<property file="${basedir}/ant.properties"/>
-	<property file="${basedir}/../ant.properties"/>
-	<property file="${basedir}/default.properties"/>
-	<property file="${basedir}/../default.properties"/>
-	<property file="${basedir}/../cocoon.properties"/>
-
-	<!-- Set the properties for intermediate directory -->
-	<property name="build.dir" value="build"/>
-	<property name="build.snacc" value="build/snacc"/>
-	<property name="build.lib" value="${build.dir}/lib"/>
-	<property name="build.xdoclet" value="${build.dir}/xdoclet"/>
-	<property name="build.src" value="${build.dir}/src"/>
-	<property name="build.classes" value="${build.dir}/classes"/>
-	<property name="build.javadocs" value="${build.dir}/javadocs"/>
-	<property name="build.docs" value="${build.dir}/docs"/>
-	<property name="build.context" value="${build.dir}/documentation"/>
-	<property name="build.xdocs" value="${build.context}/content/xdocs"/>
-
-	<!-- Set the properties for source directories -->
-	<property name="src.dir" value="src"/>
-	<property name="java.dir" value="${src.dir}/java"/>
-	<property name="manifest.dir" value="${src.dir}/manifest"/>
-	<property name="conf.dir" value="${src.dir}/conf"/>
-	<property name="context.dir" value="${avalon.home}/src/documentation"/>
-	<property name="xdocs.dir" value="${src.dir}/xdocs"/>
-	<property name="tools.dir" location="${avalon.home}/tools"/>
-	<property name="dist.base" value="distributions"/>
-
-
-	<property name="ldapd-common.jar" 
-		value="${maven.repo}/ldapd-common/jars/ldapd-common-SNAPSHOT.jar"/>
-	<property name="commons-collections.jar" 
-		value="${maven.repo}/commons-collections/jars/commons-collections-2.1.jar"/>
-	<property name="snacc.jar" 
-		value="${maven.repo}/snacc4j/jars/snacc-2.3.jar"/>
-	<property name="antlr.jar" 
-		value="${maven.repo}/antlr/jars/antlr-2.7.2.jar"/>
-	<property name="avalon-framework-api.jar" 
-		value="${maven.repo}/avalon-framework/jars/avalon-framework-api-SNAPSHOT.jar"/>
-	<property name="avalon-framework-impl.jar" 
-		value="${maven.repo}/avalon-framework/jars/avalon-framework-impl-SNAPSHOT.jar"/>
-	<property name="jakarta-regexp-1.2.jar" 
-		value="${maven.repo}/regexp/jars/regexp-1.2.jar"/>
-	<property name="ldapd-snacc-provider.jar"
-		value="${maven.repo}/ldapd-snacc-provider/jars/ldapd-snacc-provider-SNAPSHOT.jar"/>
-	<property name="oro.jar"
-		value="${maven.repo}/oro/jars/oro-2.0.7.jar"/>
-	<property name="cornerstone-threads-api.jar"
-		value="${maven.repo}/cornerstone-threads/jars/cornerstone-threads-api-SNAPSHOT.jar" />
-	<property name="cornerstone-threads-impl.jar"
-		value="${maven.repo}/cornerstone-threads/jars/cornerstone-threads-impl-SNAPSHOT.jar" />
-	<property name="phoenix-client.jar" 
-		value="${maven.repo}/avalon-phoenix/jars/avalon-phoenix-client-4.0.jar"/>
-	<property name="excalibur-thread.jar" 
-		value="${maven.repo}/excalibur-thread/jars/excalibur-thread-1.1.1.jar"/>
-
-	<!-- Set some class paths -->
-	<path id="project.class.path">
-		<pathelement path="${java.class.path}"/>
-		<pathelement path="${build.classes}"/>
-		<pathelement path="${ldapd-common.jar}"/>
-		<pathelement path="${snacc.jar}"/>
-		<pathelement path="${antlr.jar}"/>
-		<pathelement path="${avalon-framework-api.jar}"/>
-		<pathelement path="${avalon-framework-impl.jar}"/>
-		<pathelement path="${commons-collections.jar}"/>
-		<pathelement path="${jakarta-regexp-1.2.jar}"/>
-		<pathelement path="${oro.jar}"/>
-		<pathelement path="${cornerstone-threads-api.jar}"/>
-		<pathelement path="${cornerstone-threads-impl.jar}"/>
-		<pathelement path="${phoenix-client.jar}"/>
-		<pathelement path="${excalibur-thread.jar}"/>
-	</path>
-
-	<path id="tools.class.path">
-		<path refid="project.class.path"/>
-		<pathelement location="${phoenix-client.jar}"/>
-	</path>
-
-	<!-- Taskdef to generate Server ARchives -->
-	<taskdef name="sar" classname="org.apache.avalon.phoenix.tools.tasks.Sar">
-		<classpath refid="tools.class.path"/>
-	</taskdef>
-
-	<!--
-	<taskdef name="anakia" classname="org.apache.velocity.anakia.AnakiaTask">
-		<classpath refid="tools.class.path"/>
-	</taskdef>
-	-->
-
-
-	<!-- ======================================================
-
-
-			       T A R G E T S
-
-
-	======================================================= -->
-
-
-	<!-- ======================================================
-			    C O M P I L A T I O N
-	======================================================= -->
-
-	
-	<target name="grammars">
-		<antlr target="src/antlr/schema.g" 
-			   outputdirectory="src/java/ldapd/server/schema">
-			<classpath refid="project.class.path"/>
-		</antlr>
-	</target>
-
-
-	<target name="compile" depends="grammars">
-		<mkdir dir="${build.classes}"/>
-
-		<javac srcdir="${java.dir}"
-        	   destdir="${build.classes}"
-               debug="${build.debug}"
-               optimize="${build.optimize}"
-               deprecation="${build.deprecation}">
-			<classpath refid="project.class.path"/>
-		</javac>
-
-		<copy todir="${build.classes}">
-			<fileset dir="${java.dir}">
-				<exclude name="**/test/**"/>
-				<exclude name="**/*.java"/>
-			</fileset>
-		</copy>
-	</target>
-
-
-	<!-- ======================================================
-	X I N F O   A N D   M A N I F E S T   G E N E R A T I O N 
-	======================================================= -->
-	
-	<target name="test-xdoclet">
-		<available classname="xdoclet.XDocletMain"
-        		   classpathref="project.class.path"
-                   property="xdoclet.present"/>
-	</target>
-	
-	<target name="phoenix-xdoclet" depends="compile" if="xdoclet.present">
-		<mkdir dir="${build.xdoclet}"/>
-		<taskdef
-            name="phoenix-blocks"
-        	classname="org.apache.avalon.phoenix.tools.xdoclet.PhoenixXDoclet"
-            classpathref="project.class.path"/>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/event/protocol/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/jndi/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/input/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/output/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/encoder/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/security/auth/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/protocol/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/decoder/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/client/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/schema/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/listener/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-
-		<phoenix-blocks destdir="${build.xdoclet}">
-			<fileset dir="${java.dir}">
-				<include name="ldapd/server/backend/*.java"/>
-			</fileset>
-			<blockinfo/>
-			<mxinfo/>
-		</phoenix-blocks>
-	</target>
-
-
-	<!-- Make .xinfo and manifest automatically for blocks -->
-	<target name="no-phoenix-xdoclet" depends="compile" unless="xdoclet.present">
-		<mkdir dir="${build.xdoclet}"/>
-		<unzip src="${src.dir}/generated-by-xdoclet.zip" dest="${build.xdoclet}"/>
-	</target>
-
-
-	<!-- ======================================================
-					P R O J E C T    J A R S 
-	======================================================= -->
-
-	<target name="jars" depends="test-xdoclet, phoenix-xdoclet, no-phoenix-xdoclet">
-		<mkdir dir="${build.lib}"/>
-
-		<!-- Just jars the individual block packages not the required set of classes 
-			 the core classes need to be jared into a separate core.jar.
-		-->
-
-		<jar jarfile="${build.lib}/core.jar" basedir="${build.classes}">
-			<!-- Include entire package -->
-			<include name="ldapd/**"/>
-
-			<!-- Exclude the blocks jared below -->
-			<exclude name="ldapd/server/input/*"/>
-			<exclude name="ldapd/server/output/*"/>
-			<exclude name="ldapd/server/encoder/*"/>
-			<exclude name="ldapd/server/event/protocol/*"/>
-			<exclude name="ldapd/server/security/auth/*"/>
-			<exclude name="ldapd/server/protocol/*"/>
-			<exclude name="ldapd/server/decoder/*"/>
-			<exclude name="ldapd/server/client/*"/>
-			<exclude name="ldapd/server/schema/*"/>
-			<exclude name="ldapd/server/listener/*"/>
-			<exclude name="ldapd/server/backend/*"/>
-		</jar>
-
-		<jar jarfile="${build.lib}/event.jar" basedir="${build.classes}">
-			<include name="ldapd/server/event/protocol/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/event/protocol/*.xinfo"/>
-				<include name="ldapd/server/event/protocol/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/jndi.jar" basedir="${build.classes}">
-			<include name="ldapd/server/jndi/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/jndi/*.xinfo"/>
-				<include name="ldapd/server/jndi/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/input.jar" basedir="${build.classes}">
-			<include name="ldapd/server/input/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/input/*.xinfo"/>
-				<include name="ldapd/server/input/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/output.jar" basedir="${build.classes}">
-			<include name="ldapd/server/output/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/output/*.xinfo"/>
-				<include name="ldapd/server/output/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/encoder.jar" basedir="${build.classes}">
-			<include name="ldapd/server/encoder/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/encoder/*.xinfo"/>
-				<include name="ldapd/server/encoder/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/authman.jar" basedir="${build.classes}">
-			<include name="ldapd/server/security/auth/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/security/auth/*.xinfo"/>
-				<include name="ldapd/server/security/auth/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/protocol.jar" basedir="${build.classes}">
-			<include name="ldapd/server/protocol/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/protocol/*.xinfo"/>
-				<include name="ldapd/server/protocol/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/decoder.jar" basedir="${build.classes}">
-			<include name="ldapd/server/decoder/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/decoder/*.xinfo"/>
-				<include name="ldapd/server/decoder/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/client.jar" basedir="${build.classes}">
-			<include name="ldapd/server/client/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/client/*.xinfo"/>
-				<include name="ldapd/server/client/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/listener.jar" basedir="${build.classes}">
-			<include name="ldapd/server/listener/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/listener/*.xinfo"/>
-				<include name="ldapd/server/listener/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/schema.jar" basedir="${build.classes}">
-			<include name="ldapd/server/schema/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/schema/*.xinfo"/>
-				<include name="ldapd/server/schema/*.mxinfo"/>
-			</fileset>
-		</jar>
-
-		<jar jarfile="${build.lib}/backend.jar" basedir="${build.classes}">
-			<include name="ldapd/server/backend/*"/>
-			<fileset dir="${build.xdoclet}">
-				<include name="ldapd/server/backend/*.xinfo"/>
-				<include name="ldapd/server/backend/*.mxinfo"/>
-			</fileset>
-		</jar>
-	</target>
-
-
-	<!-- ======================================================
-					C O R E    T A R G E T S 
-	======================================================= -->
-
-	<target name="main" 
-		depends="sars" 
-		description="Default target to generate build products minus docs"/>
-
-	<target name="all" 
-		depends="main,docs" 
-		description="Generate build products including docs"/>
-
-	<target name="sars" depends="jars">
-	    <copy file="${avalon-framework-api.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${avalon-framework-impl.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${commons-collections.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${jakarta-regexp-1.2.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${ldapd-common.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${ldapd-snacc-provider.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${snacc.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${oro.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${cornerstone-threads-api.jar}" 
-		      todir="${build.lib}" />
-
-	    <copy file="${cornerstone-threads-impl.jar}" 
-		      todir="${build.lib}" />
-		      
-		<copy file="${phoenix-client.jar}"
-			todir="${build.lib}"/>
-
-		<copy file="${excalibur-thread.jar}"
-			todir="${build.lib}"/>
-
-	      <sar sarfile="${build.lib}/ldapd-server.sar" 
-			config="${conf.dir}/config.xml" 
-			environment="${conf.dir}/environment.xml" 
-			assembly="${conf.dir}/assembly.xml">
-
-			<lib dir="src">
-				<include name="schema/**.schema"/>
-			</lib>
-
-			<lib dir="${build.lib}/">
-				<include name="antlr-2.7.2.jar"/>
-				<include name="ldapd-common-SNAPSHOT.jar"/>
-				<include name="excalibur-thread-1.1.1.jar"/>
-				<include name="avalon-phoenix-client-4.0.jar"/>
-				<include name="cornerstone-threads-api-SNAPSHOT.jar"/>
-				<include name="cornerstone-threads-impl-SNAPSHOT.jar"/>
-				<include name="oro-2.0.7.jar"/>
-				<include name="snacc-2.3.jar"/>
-				<include name="ldapd-snacc-provider-SNAPSHOT.jar"/>
-				<include name="regexp-1.2.jar"/>
-				<include name="commons-collections-2.1.jar"/>
-				<include name="avalon-framework-api-SNAPSHOT.jar"/>
-				<include name="avalon-framework-impl-SNAPSHOT.jar"/>
-
-				<include name="core.jar"/>
-				<include name="schema.jar"/>
-				<include name="event.jar"/>
-				<include name="jndi.jar"/>
-				<include name="backend.jar"/>
-				<include name="listener.jar"/>
-				<include name="client.jar"/>
-				<include name="decoder.jar"/>
-				<include name="protocol.jar"/>
-				<include name="encoder.jar"/>
-				<include name="authman.jar"/>
-				<include name="input.jar"/>
-				<include name="output.jar"/>
-			</lib>
-		</sar>
-
-		<mkdir dir="dist"/>
-		<copy todir="dist">
-			<fileset dir="${build.lib}">
-				<include name="*.sar"/>
-			</fileset>
-		</copy>
-
-		<echo message="done with sars"/>
-	</target>
-
-
-	<!-- ======================================================
-				  I N S T A L L     D E P L O Y
-	======================================================= -->
-
-	<target name="install" depends="main,uninstall" description="Installs into Phoenix">
-		<echo message="Installing to ${install.dir}"/>
-		<copy todir="${install.dir}">
-			<fileset dir="${build.lib}">
-				<include name="ldapd-server.sar"/>
-			</fileset>
-		</copy>
-		<delete dir="${install.dir}/ldapd-server/**"/>
-	</target>
-
-	<target name="uninstall" description="Uninstalls from Phoenix">
-		<delete dir="${install.dir}/ldapd-server/"/>
-		<delete file="ldapd-server.sar" dir="${install.dir}"/>
-	</target>
-
-	<target name="clean" description="Cleans up artifacts from build process">
-		<delete dir="${build.dir}"/>
-		<delete dir="${dist.dir}"/>
-		<delete dir="test"/>
-		<delete>
-			<fileset dir="." includes="**/*~" defaultexcludes="no"/>
-		</delete>
-		<delete>
-			<fileset dir="src/java/ldapd/server/schema" 
-				includes="antlr*.*" defaultexcludes="no"/>
-		</delete>
-	</target>
-
-	<target name="cleanall" depends="clean" 
-		description="Cleans up all generated files and directories">
-		<delete dir="${bin.dist.dir}"/>
-		<delete dir="${dist.base}"/>
-		<delete dir="target"/>
-	</target>
-
-
-	<!-- ======================================================
-			   B U I L D    D I S T R I B U T I O N
-	======================================================= -->
-
-	<!-- Completely build all dists -->
-	<target name="dist" depends="sars" description="Generates the distribution">
-		<property name="dist.name" value="${Name}-${version}"/>
-		<mkdir dir="${dist.base}"/>
-		<antcall target="bin-dist" inheritAll="false">
-			<param name="bin.dist.dir" value="${dist.name}"/>
-		</antcall>
-		<zip zipfile="${dist.base}/${dist.name}-bin.zip" basedir="${dist.name}/.." includes="${dist.name}/**"/>
-		<tar longfile="gnu" tarfile="${dist.base}/${dist.name}-bin.tar">
-			<tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
-				<include name="${dist.name}/**"/>
-			</tarfileset>
-		</tar>
-		<gzip zipfile="${dist.base}/${dist.name}-bin.tar.gz" src="${dist.base}/${dist.name}-bin.tar"/>
-		<delete file="${dist.base}/${dist.name}-bin.tar"/>
-		<delete dir="${dist.name}"/>
-		<antcall target="src-dist" inheritAll="false">
-			<param name="src.dist.dir" value="${dist.name}"/>
-		</antcall>
-		<zip zipfile="${dist.base}/${dist.name}-src.zip" basedir="${dist.name}/.." includes="${dist.name}/**">
-			<fileset dir="..">
-				<include name="${avalon.apps.lib}/avalon-*"/>
-				<include name="${avalon.apps.lib}/cornerstone.jar"/>
-				<include name="${avalon.apps.lib}/phoenix-*"/>
-			</fileset>
-		</zip>
-		<tar longfile="gnu" tarfile="${dist.base}/${dist.name}-src.tar">
-			<tarfileset dir="${dist.name}/.." mode="755" username="avalon" group="avalon">
-				<include name="${dist.name}/build.sh"/>
-			</tarfileset>
-			<tarfileset dir="${dist.name}/.." username="avalon" group="avalon">
-				<include name="${dist.name}/**"/>
-				<exclude name="${dist.name}/build.sh"/>
-			</tarfileset>
-			<tarfileset dir=".." username="avalon" group="avalon">
-				<include name="${avalon.apps.lib}/avalon-*"/>
-				<include name="${avalon.apps.lib}/cornerstone.jar"/>
-				<include name="${avalon.apps.lib}/phoenix-*"/>
-			</tarfileset>
-		</tar>
-		<gzip zipfile="${dist.base}/${dist.name}-src.tar.gz" src="${dist.base}/${dist.name}-src.tar"/>
-		<delete file="${dist.base}/${dist.name}-src.tar"/>
-		<delete dir="${dist.name}"/>
-	</target>
-
-
-	<!-- Creates all the .sar files -->
-	<target name="bin-dist" depends="all">
-		<!-- bin.dist.dir usually set before this target is called -->
-		<property name="bin.dist.dir" value="dist"/>
-		<property name="bin.dist.lib" value="${bin.dist.dir}/lib"/>
-		<property name="bin.dist.docs" value="${bin.dist.dir}/docs"/>
-		<mkdir dir="${bin.dist.docs}"/>
-		<copy todir="${bin.dist.docs}">
-			<fileset dir="${build.docs}"/>
-		</copy>
-		<!-- Not allowed to distribute glue thus no soapdemo jar -->
-		<copy file="${build.lib}/avalon-demo.sar" tofile="${bin.dist.dir}/avalon-demo-${version}.sar"/>
-		<copy file="${build.lib}/avalon-altrmidemo.sar" tofile="${bin.dist.dir}/avalon-altrmidemo-${version}.sar"/>
-		<copy file="${build.lib}/avalon-altrmidemo-tester.jar" tofile="${bin.dist.dir}/avalon-altrmidemo-tester-${version}.jar"/>
-		<chmod dir="${bin.dist.dir}" perm="go-rwx"/>
-	</target>
-
-
-	<target name="src-dist" depends="docs">
-		<!-- src.dist.dir has usually already been set -->
-		<property name="src.dist.dir" value="dist-src"/>
-		<property name="src.dist.src" value="${src.dist.dir}/src"/>
-		<property name="src.dist.docs" value="${src.dist.dir}/docs"/>
-		<mkdir dir="${src.dist.docs}"/>
-		<copy todir="${src.dist.docs}">
-			<fileset dir="${build.docs}"/>
-		</copy>
-		<copy todir="${src.dist.src}">
-			<fileset dir="${src.dir}"/>
-		</copy>
-		<zip zipfile="${src.dist.src}/generated-by-xdoclet.zip" basedir="${build.xdoclet}"/>
-		<copy todir="${src.dist.dir}">
-			<fileset dir=".">
-				<include name="build.xml"/>
-			</fileset>
-		</copy>
-		<mkdir dir="${src.dist.dir}/lib"/>
-		<copy todir="${src.dist.dir}/lib">
-			<fileset dir="lib">
-				<include name="**"/>
-			</fileset>
-		</copy>
-		<fixcrlf srcdir="${src.dist.src}/java" includes="**/*.java" eol="lf"/>
-		<chmod dir="${src.dist.dir}" perm="go-rwx"/>
-	</target>
-
-
-	<!-- ======================================================
-				D O C U M E N T     G E N E R A T I O N
-	======================================================= -->
-
-	<!--
-    <property name="docs.src" value="./xdocs"/>
-    <property name="docs.dest" value="./docs"/>
-
-	
-
-    <target name="xdocs">
-        <anakia basedir="${docs.src}" destdir="${docs.dest}/"
-             extension=".html" style="./site.vsl"
-             projectFile="stylesheets/project.xml"
-             excludes="**/stylesheets/** empty.xml"
-             includes="**/*.xml"
-             lastModifiedCheck="true"
-             velocityPropertiesFile="${docs.src}/velocity.properties">
-        </anakia>
-
-        <copy todir="${docs.dest}/images" filtering="no">
-            <fileset dir="${docs.src}/images">
-                <include name="**/*.gif"/>
-                <include name="**/*.jpeg"/>
-                <include name="**/*.jpg"/>
-            </fileset>
-        </copy>
-    </target>  
-  	-->
-
-	<!-- Creates all docs -->
-	<target name="docs" depends="html-docs, javadocs" description="generates all the documentation"/>
-
-	<!-- copy docs to site dir -->
-	<target name="site" depends="docs" description=" Places docs ready for hosting on website">
-		<mkdir dir="../site/build/docs/apps/${dir-name}"/>
-		<copy todir="../site/build/docs/apps/${dir-name}">
-			<fileset dir="${build.docs}">
-				<include name="**"/>
-			</fileset>
-		</copy>
-	</target>
-
-	<!-- Creates javadocs -->
-	<target name="javadocs" depends="compile" description="Generates the javadocs" unless="skip.javadocs">
-		<mkdir dir="${build.javadocs}"/>
-		<javadoc packagenames="org.apache.*" sourcepath="${java.dir}" destdir="${build.javadocs}">
-			<classpath refid="project.class.path"/>
-			<doclet name="com.sun.tools.doclets.standard.Standard">
-				<param name="-author"/>
-				<param name="-version"/>
-				<param name="-doctitle" value="${Name}"/>
-				<param name="-windowtitle" value="${Name} API"/>
-				<param name="-link" value="http://java.sun.com/j2se/1.4/docs/api/"/>
-				<param name="-link" value="http://java.sun.com/j2ee/sdk_1.3/techdocs/api/"/>
-				<param name="-link" value="http://jakarta.apache.org/avalon/api/"/>
-				<param name="-bottom" value="&quot;Copyright &#169; ${year} Apache Jakarta
Project. All Rights Reserved.&quot;"/>
-			</doclet>
-		</javadoc>
-	</target>
-
-	<target name="html-docs" description="generates the xdocs-based documentation">
-		<!-- we call the build.xml target common to all of avalon-apps. This builds our html
site -->
-		<ant antfile="${basedir}/../cocoonbuild.xml"/>
-	</target>
-</project>
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!--
+  build.xml generated by maven from project.xml version SNAPSHOT
+  on date December 4 2003, time 2253
+-->
+
+<project default="jar" name="eve" basedir=".">
+  <property name="defaulttargetdir" value="target">
+  </property>
+  <property name="libdir" value="target/lib">
+  </property>
+  <property name="classesdir" value="target/classes">
+  </property>
+  <property name="testclassesdir" value="target/test-classes">
+  </property>
+  <property name="testreportdir" value="target/test-reports">
+  </property>
+  <property name="distdir" value="dist">
+  </property>
+  <property name="javadocdir" value="dist/docs/api">
+  </property>
+  <property name="final.name" value="eve-SNAPSHOT">
+  </property>
+  <target name="init" description="o Initializes some properties">
+    <mkdir dir="${libdir}">
+    </mkdir>
+    <condition property="noget">
+      <equals arg2="only" arg1="${build.sysclasspath}">
+      </equals>
+    </condition>
+  </target>
+  <target name="compile" description="o Compile the code" depends="get-deps">
+    <mkdir dir="${classesdir}">
+    </mkdir>
+    <javac destdir="${classesdir}" deprecation="true" debug="true" optimize="false" excludes="**/package.html">
+      <src>
+        <pathelement location="./src/java">
+        </pathelement>
+      </src>
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+      </classpath>
+    </javac>
+  </target>
+  <target name="jar" description="o Create the jar" depends="compile,test">
+    <jar jarfile="target/${final.name}.jar" excludes="**/package.html" basedir="${classesdir}">
+    </jar>
+  </target>
+  <target name="clean" description="o Clean up the generated directories">
+    <delete dir="${defaulttargetdir}">
+    </delete>
+    <delete dir="${distdir}">
+    </delete>
+  </target>
+  <target name="dist" description="o Create a distribution" depends="jar, javadoc">
+    <mkdir dir="dist">
+    </mkdir>
+    <copy todir="dist">
+      <fileset dir="${defaulttargetdir}" includes="*.jar">
+      </fileset>
+      <fileset dir="${basedir}" includes="LICENSE*, README*">
+      </fileset>
+    </copy>
+  </target>
+  <target name="test" description="o Run the test cases" if="test.failure" depends="internal-test">
+    <fail message="There were test failures.">
+    </fail>
+  </target>
+  <target name="internal-test" depends="compile-tests">
+  </target>
+  <target name="compile-tests" depends="compile">
+  </target>
+  <target name="javadoc" description="o Generate javadoc" depends="jar">
+    <mkdir dir="${javadocdir}">
+    </mkdir>
+    <tstamp>
+      <format pattern="2002-yyyy" property="year">
+      </format>
+    </tstamp>
+    <property name="copyright" value="Copyright &amp;copy;  Apache Software Foundation.
All Rights Reserved.">
+    </property>
+    <property name="title" value="eve SNAPSHOT API">
+    </property>
+    <javadoc use="true" private="true" destdir="${javadocdir}" author="true" version="true"
sourcepath="./src/java" packagenames="ldapd.common.*">
+      <classpath>
+        <fileset dir="${libdir}">
+          <include name="*.jar">
+          </include>
+        </fileset>
+        <pathelement location="target/${final.name}.jar">
+        </pathelement>
+      </classpath>
+    </javadoc>
+  </target>
+  <target name="get-deps" unless="noget" depends="init">
+    <get dest="${libdir}/commons-logging-1.0.2.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//commons-logging/jars/commons-logging-1.0.2.jar">
+    </get>
+    <get dest="${libdir}/oro-2.0.7.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven//oro/jars/oro-2.0.7.jar">
+    </get>
+    <get dest="${libdir}/cornerstone-threads-impl-SNAPSHOT.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//cornerstone-threads/jars/cornerstone-threads-impl-SNAPSHOT.jar">
+    </get>
+    <get dest="${libdir}/cornerstone-threads-api-SNAPSHOT.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//cornerstone-threads/jars/cornerstone-threads-api-SNAPSHOT.jar">
+    </get>
+    <get dest="${libdir}/excalibur-thread-1.1.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//excalibur-thread/jars/excalibur-thread-1.1.1.jar">
+    </get>
+    <get dest="${libdir}/avalon-phoenix-client-4.0.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//avalon-phoenix/jars/avalon-phoenix-client-4.0.jar">
+    </get>
+    <get dest="${libdir}/ldap-common-SNAPSHOT.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//directory/jars/ldap-common-SNAPSHOT.jar">
+    </get>
+    <get dest="${libdir}/ldap-snacc-provider-SNAPSHOT.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//directory/jars/ldap-snacc-provider-SNAPSHOT.jar">
+    </get>
+    <get dest="${libdir}/commons-collections-2.1.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//commons-collections/jars/commons-collections-2.1.jar">
+    </get>
+    <get dest="${libdir}/regexp-1.2.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven//regexp/jars/regexp-1.2.jar">
+    </get>
+    <get dest="${libdir}/antlr-2.7.2.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven//antlr/jars/antlr-2.7.2.jar">
+    </get>
+    <get dest="${libdir}/avalon-framework-api-SNAPSHOT.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//avalon-framework/jars/avalon-framework-api-SNAPSHOT.jar">
+    </get>
+    <get dest="${libdir}/avalon-framework-impl-SNAPSHOT.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//avalon-framework/jars/avalon-framework-impl-SNAPSHOT.jar">
+    </get>
+    <get dest="${libdir}/junit-3.8.1.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven//junit/jars/junit-3.8.1.jar">
+    </get>
+    <get dest="${libdir}/ant-1.5.jar" usetimestamp="true" ignoreerrors="true" src="http://www.ibiblio.org/maven//ant/jars/ant-1.5.jar">
+    </get>
+    <get dest="${libdir}/ant-optional-1.5.jar" usetimestamp="true" ignoreerrors="true"
src="http://www.ibiblio.org/maven//ant/jars/ant-optional-1.5.jar">
+    </get>
+  </target>
+  <target name="install-maven">
+    <get dest="${user.home}/maven-install-latest.jar" usetimestamp="true" src="${repo}/maven/maven-install-latest.jar">
+    </get>
+    <unjar dest="${maven.home}" src="${user.home}/maven-install-latest.jar">
+    </unjar>
+  </target>
+</project>

Added: incubator/directory/ldap/trunk/server/gump.xml
==============================================================================
--- (empty file)
+++ incubator/directory/ldap/trunk/server/gump.xml	Thu Dec  4 19:57:09 2003
@@ -0,0 +1,50 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<module name="eve">
+  <description>An LDAP version 3 server.</description>
+  <url href="http://directory.apache.org/eve">
+  </url>
+  <cvs module="eve" repository="">
+  </cvs>
+  <project name="eve">
+    <ant buildfile="build.xml" target="dist">
+      <property name="final.name" value="eve-@@DATE@@">
+      </property>
+    </ant>
+    <package>org.apache.ldap.server</package>
+    <depend project="antlr.runtime">
+    </depend>
+    <depend project="commons-collections">
+    </depend>
+    <depend project="commons-logging">
+    </depend>
+    <depend project="cornerstone-threads">
+    </depend>
+    <depend project="directory">
+    </depend>
+    <depend project="excalibur-thread">
+    </depend>
+    <depend project="jakarta-ant">
+    </depend>
+    <depend project="jakarta-avalon">
+    </depend>
+    <depend project="jakarta-avalon-phoenix">
+    </depend>
+    <depend project="jakarta-oro">
+    </depend>
+    <depend project="jakarta-regexp">
+    </depend>
+    <depend project="xml-xerces">
+    </depend>
+    <work nested="target/classes">
+    </work>
+    <home nested="target">
+    </home>
+    <jar name="eve-@@DATE@@.jar">
+    </jar>
+    <javadoc module="eve" nested="target/docs/apidocs">
+    </javadoc>
+    <nag to="ldapd-devel@sourceforge.net" from="eve development &lt;ldapd-devel@sourceforge.net&gt;">
+    </nag>
+  </project>
+</module>

Mime
View raw message