head	1.25;
access;
symbols
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.3
	TIGRIS_0_9_2_3:1.3
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.3
	TIGRIS_0_9_2_1:1.3
	TIGRIS_0_9_2:1.3.0.6
	TIGRIS_0_9_0:1.3.0.4
	TIGRIS_0_8_4:1.3.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1
	OLDHELM:1.2.0.4
	TIGRIS_NOV_11_2000:1.2
	TIGRIS_SEP_13_2000:1.2.0.2;
locks; strict;
comment	@# @;


1.25
date	2001.03.15.10.41.31;	author lucas;	state dead;
branches;
next	1.24;

1.24
date	2001.03.15.01.46.43;	author dlr;	state Exp;
branches;
next	1.23;

1.23
date	2001.03.15.01.25.07;	author dlr;	state Exp;
branches;
next	1.22;

1.22
date	2001.03.15.01.22.51;	author dlr;	state Exp;
branches;
next	1.21;

1.21
date	2001.03.15.01.20.17;	author dlr;	state Exp;
branches;
next	1.20;

1.20
date	2001.03.15.01.19.38;	author dlr;	state Exp;
branches;
next	1.19;

1.19
date	2001.03.15.01.17.23;	author dlr;	state Exp;
branches;
next	1.18;

1.18
date	2001.03.15.01.17.10;	author dlr;	state Exp;
branches;
next	1.17;

1.17
date	2001.03.07.01.18.47;	author lucas;	state Exp;
branches;
next	1.16;

1.16
date	2001.02.27.02.07.39;	author lucas;	state Exp;
branches;
next	1.15;

1.15
date	2001.02.27.01.17.15;	author edk;	state Exp;
branches;
next	1.14;

1.14
date	2001.02.23.19.44.42;	author ms;	state Exp;
branches;
next	1.13;

1.13
date	2001.02.23.18.12.39;	author lucas;	state Exp;
branches;
next	1.12;

1.12
date	2001.02.21.01.08.19;	author dlr;	state Exp;
branches;
next	1.11;

1.11
date	2001.02.13.12.58.04;	author ms;	state Exp;
branches;
next	1.10;

1.10
date	2001.02.13.12.18.36;	author ms;	state Exp;
branches;
next	1.9;

1.9
date	2001.02.08.18.15.24;	author ms;	state Exp;
branches;
next	1.8;

1.8
date	2001.02.08.01.30.10;	author cameron;	state Exp;
branches;
next	1.7;

1.7
date	2001.02.07.21.24.57;	author ms;	state Exp;
branches;
next	1.6;

1.6
date	2001.02.06.13.03.22;	author ms;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.06.12.06.00;	author ms;	state Exp;
branches;
next	1.4;

1.4
date	2001.02.06.02.51.29;	author ms;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.12.22.57.29;	author dlr;	state Exp;
branches
	1.3.8.1;
next	1.2;

1.2
date	2000.10.02.16.58.48;	author lucas;	state Exp;
branches
	1.2.2.1;
next	1.1;

1.1
date	2000.09.30.00.22.58;	author lucas;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2000.11.12.21.13.43;	author dlr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.02.21.00.27.48;	author dlr;	state Exp;
branches;
next	;

1.2.2.1
date	2000.10.23.05.35.37;	author lucas;	state Exp;
branches;
next	;

1.3.8.1
date	2001.02.09.20.20.12;	author lucas;	state Exp;
branches;
next	1.3.8.2;

1.3.8.2
date	2001.02.13.13.03.58;	author ms;	state Exp;
branches;
next	1.3.8.3;

1.3.8.3
date	2001.02.19.14.37.13;	author ms;	state Exp;
branches;
next	1.3.8.4;

1.3.8.4
date	2001.02.20.23.06.31;	author dlr;	state Exp;
branches;
next	;


desc
@@


1.25
log
@Changed file names to allow for typing of 'ant'

Added a helm specific ant.properties file.

Added a new eyebrowse-jar-install target
@
text
@<?xml version="1.0"?>

<!-- Build file for Helm -->

<project name="Helm" default="jar" basedir="..">
	
        <property environment="ENV" />
        <property name="Name" value="Helm"/>
        <property name="version" value="1.0"/>
        <property name="project" value="helm"/>
        <property name="build.compiler" value="${JAVAC}"/>
        <property name="build.compiler.emacs" value="${EMACS_COMPILE}"/>
        <property name="build.sysclasspath" value="first"/>
        <property name="build.dir" value="dest"/>
        <property name="build.src" value="${build.dir}/src"/>
        <property name="build.dest" value="${build.dir}/class"/>
        <property name="conf.dir" value="conf"/>
        <property name="sql.dir" value="${ENV.SANDBOX}/${project}/sql"/>
        <property name="lib.dir" value="lib"/>
        <property name="site.dir" value="${ENV.SANDBOX}/site"/>
        <property name="site.sql.dir" value="${site.dir}/sql"/>
        <property name="src.java.dir" value="java"/>
        <property name="project.package" value="org/tigris/${project}"/>
        <property name="javadoc.destdir" value="www/apidocs"/>
        <property name="final.name" value="${project}-${version}"/>
        <property name="year" value="2001"/>
        <property name="debug" value="on"/>
        <property name="optimize" value="off"/>
        <property name="deprecation" value="on"/>
        <property name="eb" value="eyebrowse" />

        <path id="classpath">
            <fileset dir="${lib.dir}">
                <include name="**/*.jar"/>
            </fileset>
        </path>

    <target name="init">
        <uptodate property="baseom.uptodate"
                  targetfile="${sql.dir}/output/${project}.generation.report">
            <srcfiles dir="${sql.dir}/schema" includes="${project}-schema.xml"/>
        </uptodate>
    </target>
    <!-- =================================================================== -->
    <!-- Prepares the build directory                                        -->
    <!-- =================================================================== -->
    <target name="prepare">
        <mkdir dir="${build.dir}"/>
        <mkdir dir="${build.dest}"/>
    </target>

    <!-- =================================================================== -->
    <!-- Compiles the source directory                                       -->
    <!-- =================================================================== -->
    <target name="compile" depends="prepare,check_for_eyebrowse,torque">
        <javac srcdir="${src.java.dir}"
            destdir="${build.dest}"
            debug="${debug}"
            deprecation="${deprecation}"
            optimize="${optimize}">
	    <exclude name="org/tigris/helm/tool/mail/Eb**" 
		unless="eyebrowse.present" />
	</javac>
        <copy todir="${build.dest}/org">
            <fileset dir="${src.java.dir}/org" includes="**/*.properties"/>
        </copy>
    </target>

    <!-- =================================================================== -->
    <!-- Compiles the source directory and creates a .jar file               -->
    <!-- =================================================================== -->
    <target name="jar" depends="compile">
	<!-- TODO: Use manifest attribute -->
        <jar jarfile="${build.dir}/${project}.jar"
            basedir="${build.dest}"
            excludes="**/package.html"/>
    </target>

    <target name="install" depends="jar">
        <copy file="${build.dir}/${project}.jar"
              tofile="${site.dir}/lib/${project}.jar"/>
    </target>

    <!-- =================================================================== -->
    <!-- Runs a 'clean' compile                                              -->
    <!-- =================================================================== -->
    <target name="most" depends="clean,jar"/>
    
    <!-- =================================================================== -->
    <!-- Makes everything including install                                  -->
    <!-- =================================================================== -->
    <target name="all" depends="most,install"/>


    <!-- =================================================================== -->
    <!-- Creates the API documentation                                       -->
    <!-- =================================================================== -->
    <target name="javadocs" depends="prepare">
        <mkdir dir="${javadoc.destdir}"/>
        <javadoc
            sourcepath="${src.java.dir}"
            packagenames="org.tigris.${project}.*"
            destdir="${javadoc.destdir}"
            author="true"
            private="true"
            version="true"
            use="true"
            windowtitle="${Name} ${version} API"
            doctitle="${Name} ${version} API"
            bottom="Copyright &#169; ${year} Tigris.org. All Rights Reserved."
        />
    </target>
    
    <!-- =================================================================== -->
    <!-- Cleans up the build directory                                       -->
    <!-- =================================================================== -->
    <target name="clean">
        <delete dir="${build.dir}"/>
        <delete dir="${sql.dir}/output"/>
    </target>
  
    <!-- ================================================================== -->
    <!-- Eyebrowse specific build targets				    -->
    <!-- ================================================================== -->
    <target name="check_for_eyebrowse">
        <available property="eyebrowse.present"
	    classname="org.tigris.eyebrowse.EyebrowseDb" />
    </target>

    <target name="eyebrowse-install">
	<!-- install jar files -->
	<echo message="Installing eyebrowse.jar into ${ENV.SANDBOX}/site/lib" />
	<copy file="${ENV.SANDBOX}/${eb}/lib/${eb}.jar"
	     todir="${site.dir}/lib/" />

	<!-- install config files -->
	<mkdir dir="${ENV.SANDBOX}/conf/eyebrowse" />
	
	<!-- install servlets conf 	-->
	<echo message="Installing config files" />
	<copy file="conf/${eb}/60${eb}-helm.servlets"
	      todir="${ENV.SANDBOX}/conf/servlets.d/"/>
	
	<!-- install sql files into $SANDBOX/site -->
	<mkdir dir="${site.sql.dir}/helm"/>
	<copy todir="${site.sql.dir}/helm">
	    <fileset dir="${ENV.SANDBOX}/${eb}/src/sql" includes="*.sql" />
	</copy>

        <!-- delete generated files first to avoid permissions exceptions -->
        <delete>
            <fileset dir="${ENV.SANDBOX}/conf/zone.properties.d"
                includes="**/60${eb}.zone.properties*"/>
        </delete>
	
	<!-- install zone.properties data   -->
	<copy todir="${ENV.SANDBOX}/conf/zone.properties.d/">
            <fileset dir="conf/${eb}" includes="**/60${eb}.zone.properties*"/>
        </copy>

	<delete>
            <fileset dir="${ENV.SANDBOX}/conf/${eb}"
                includes="**/${eb}.properties*"/>
        </delete>
	<copy todir="${ENV.SANDBOX}/conf/${eb}">
            <fileset dir="conf/${eb}" includes="**/${eb}.properties*"/>
        </copy>

	<!-- install scripts into $SANDBOX/site/scripts -->
	<mkdir dir="${ENV.SANDBOX}/site/scripts/${eb}" />
	<copy file="scripts/call_eyebrowse"
	      todir="${ENV.SANDBOX}/site/scripts/${eb}" />
	<copy file="${ENV.SANDBOX}/${eb}/src/scripts/${eb}" 
              todir="${ENV.SANDBOX}/site/scripts/${eb}" />
	<chmod dir="${ENV.SANDBOX}/site/scripts/${eb}" perm="u+x" excludes="**/*.in" />
    </target>
    <target name="eyebrowse-distclean">
	<!-- remove jar -->
	<delete file="${ENV.SANDBOX}/site/lib/${eb}.jar" />
	<!-- remove config files -->
	<delete>
	    <fileset dir="${ENV.SANDBOX}/conf/zone.properties.d/" 
		includes="**/eyebrowse*" />
	    <fileset dir="${ENV.SANDBOX}/conf/eyebrowse" />
	    <fileset dir="${ENV.SANDBOX}/site/sql/" includes="**/eyebrowse*" />
	    <fileset dir="${ENV.SANDBOX}/site/scripts/eyebrowse" />
	</delete>
    </target>
    
    <target name="torque" depends="init,torque-init" unless="baseom.uptodate">
        <taskdef name="torque-om" 
                classname="org.apache.turbine.torque.TorqueObjectModelTask">
            <classpath refid="classpath"/>
        </taskdef>
        <taskdef name="torque-sql"
                 classname="org.apache.turbine.torque.TorqueSQLTask">
            <classpath refid="classpath"/>
        </taskdef>

        <antcall target="project-sql"/>
        <antcall target="project-om"/> 

        <copy file="${torque.home}/output/${project}-schema.sql"
              todir="${sql.dir}/${project.package}"/>

        <copy todir="${src.java.dir}/${project.package}/om">
            <fileset dir="${torque.home}/output/${project.package}/om">
                <include name="**/Base**.java"/>
            </fileset>
        </copy>

        <copy todir="${src.java.dir}/${project.package}/om/map">
            <fileset dir="${torque.home}/output/${project.package}/om/map">
                <include name="**/*.java"/>
            </fileset>
        </copy>
    </target>

    <target name="torque-init">
        <property name="torque.home" value="${sql.dir}"/>
        <property name="torque.config" value="${torque.home}/config"/>
        <property name="torque.props" value="${torque.config}/torque.props"/>
        <property name="torque.macros" value="${torque.config}/torque.macros"/>

        <property file="${torque.props}"/>

    </target>

    <target name="project-sql" depends="torque-init">
        <torque-sql
                 contextProperties="${torque.props}"
                 projectName="${project}"
                 xmlfile="${torque.home}/${schemaDirectory}/${project}-schema.xml"
                 controlTemplate="${SQLControlTemplate}"
                 outputDirectory="${torque.home}/${outputDirectory}"
                 templatePath="${torque.home}/${templatePath}"
                 outputFile="report.${project}.sql.generation"
                 targetDatabase="${database}"
                 />
    </target>
    <target name="project-om" depends="torque-init">
        <torque-om
             contextProperties="${torque.props}"
             xmlFile="${torque.home}/${schemaDirectory}/${project}-schema.xml"
             controlTemplate="${OMControlTemplate}"
             outputDirectory="${torque.home}/${outputDirectory}"
             templatePath="${torque.home}/${templatePath}"
             targetPackage="${targetPackage}"
             outputFile="${project}.generation.report"
             addSaveMethod="${addSaveMethod}"
             addGetByNameMethod="${addGetByNameMethod}"
             objectModelType="${objectModelType}"
             />
    </target>

</project>
@


1.24
log
@Removed some empty lines.
@
text
@@


1.23
log
@More generic.
@
text
@a190 1
        
a216 1

@


1.22
log
@Substituted ${project} for helm again.  A lot of these build rules
could be leveraged by other component's build scripts (these
components already have Helm as a dependancy).
@
text
@d23 1
a23 1
        <property name="helm.package" value="org/tigris/helm"/>
d205 1
a205 1
              todir="${sql.dir}/${helm.package}"/>
d207 2
a208 2
        <copy todir="${src.java.dir}/${helm.package}/om">
            <fileset dir="${torque.home}/output/${helm.package}/om">
d213 2
a214 2
        <copy todir="${src.java.dir}/${helm.package}/om/map">
            <fileset dir="${torque.home}/output/${helm.package}/om/map">
@


1.21
log
@More generic.
@
text
@d102 1
a102 1
            packagenames="org.tigris.helm.*"
@


1.20
log
@More generic.
@
text
@d41 1
a41 1
            <srcfiles dir="${sql.dir}/schema" includes="helm-schema.xml"/>
@


1.19
log
@Removed another tab.
@
text
@d40 1
a40 1
                  targetfile="${sql.dir}/output/helm.generation.report">
@


1.18
log
@Removed tab.
@
text
@d30 1
a30 1
	    <property name="eb" value="eyebrowse" />
@


1.17
log
@updated for latest Torque
@
text
@d7 1
a7 1
	    <property environment="ENV" />
@


1.16
log
@Added the ability to call torque from within here.  There is now a 'torque' target which will generate the necessary code and sql if your helm-schema.xml file has been updated.  All generated code (java and sql) go into helm/sql/output and then are copies to the appropiate place
@
text
@d119 1
d192 6
a197 2
        <taskdef name="vtorque" 
                classname="org.apache.turbine.torque.ant.VTorqueTask">
d207 3
a209 3
        <copy todir="${src.java.dir}/${helm.package}/om/base">
            <fileset dir="${torque.home}/output/${helm.package}/om/base">
                <include name="**/*.java"/>
d232 3
a234 1
        <vtorque projectName="${project}"
d239 1
a239 2
                 targetPackage="${targetPackage}"
                 outputFile="${project}-schema.sql"
d244 2
a245 1
        <vtorque projectName="${project}"
a251 1
             targetDatabase="${database}"
@


1.15
log
@* copy generated files as well as .in files, so configure.pl does not
  need to be rerun after the files have been installed
* delete the target files first, since the copy task will throw an
  exception if you try to overwrite a file which is read only
  (hopefully this will be fixed soon)
@
text
@d7 1
a7 1
	<property environment="ENV" />
d13 1
d18 2
d23 1
d30 1
a30 1
	<property name="eb" value="eyebrowse" />
d32 12
d55 1
a55 1
    <target name="compile" depends="prepare,check_for_eyebrowse">
d187 63
@


1.14
log
@fixed wrong filepath
@
text
@a126 4
	<!-- install zone.properties data   -->
	<copy file="conf/${eb}/60${eb}.zone.properties.in"
	      todir="${ENV.SANDBOX}/conf/zone.properties.d/">
	</copy>
d132 6
d139 12
a150 2
	<copy file="conf/${eb}/${eb}.properties.in" 
              todir="${ENV.SANDBOX}/conf/${eb}" />
@


1.13
log
@fixed the path to the file
@
text
@d128 1
a128 2
	<!-- file="conf/${eb}/60${eb}.zone.properties.in" -->
	<copy file="conf/60${eb}.zone.properties.in"
@


1.12
log
@This is the highest revision from the HELM_PEER_PORT_BRANCH.  The previous import caused too many conflicts to resolve manually
@
text
@d129 1
a129 1
	<copy file="60${eb}.zone.properties.in"
@


1.11
log
@removed unnecessary variables and removal of files no longer in existence
@
text
@d18 1
d125 1
a125 1
	      todir="${ENV.SANDBOX}/conf/servlets.d/" />
d129 2
a130 3
	<copy todir="${ENV.SANDBOX}/conf/zone.properties.d/">
	    <fileset dir="conf/${eb}/" includes="**60${eb}.zone.properties**"
		excludes="**.old" />
d133 2
a134 2
	<mkdir dir="${ENV.SANDBOX}/site/sql" />
	<copy todir="${ENV.SANDBOX}/site/sql" >
d138 3
a140 4
	<copy todir="${ENV.SANDBOX}/conf/${eb}">
	   <fileset dir="conf/${eb}/" includes="**eyebrowse.properties**"
	      excludes="**.old" />
	</copy>
d145 2
a146 3
	<copy todir="${ENV.SANDBOX}/site/scripts/${eb}">
	    <fileset dir="${ENV.SANDBOX}/${eb}/src/scripts/" excludes="*.old" />
	</copy>
@


1.10
log
@Building of org.tigris.helm.tool.mail.Eb* conditionally built if
eyebrowse is installed already. Helm needs to be built after eyebrowse
if you want to use them together.
@
text
@a112 2
	<property name="eb.site.templates"
	     value="${ENV.SANDBOX}/site/templates/org/tigris/${eb}/joistservlets" /> 
a153 2
	<!-- remove templates -->
	<delete dir="${ENV.SANDBOX}/site/templates/org/tigris/eyebrowse" />
@


1.9
log
@fixed problems of files to install
@
text
@d38 1
a38 1
    <target name="compile" depends="prepare">
d43 4
a46 2
            optimize="${optimize}"/>

d107 5
a118 7

	<!-- install templates -->
	<echo message="Installing templates into 
	      ${ENV.SANDBOX}/${eb}/src/webmacro/org/tigris/${eb}/joistservlets" />
	<copy todir="${eb.site.templates}">
	    <fileset dir="${ENV.SANDBOX}/${eb}/src/webmacro/org/tigris/${eb}/joistservlets" />
	</copy>
@


1.8
log
@fixes to let sandbox Makefile work with eyebrowse conf files.
Obtained from: Michael Salmon
@
text
@d129 3
a131 3
	file="conf/${eb}/60${eb}.zone.properties.in"
	<copy todir="${ENV.SANDBOX}/conf/zone.properties.d/" />
	    <fileset dir="conf/${eb}/" includes="**60${eb}.zone.properties.**"
@


1.7
log
@made +x site/scripts/eyebrowse
@
text
@a107 1

d129 5
a133 3
	<copy file="conf/${eb}/60${eb}.zone.properties.in"
	      todir="${ENV.SANDBOX}/conf/zone.properties.d/" />

d140 4
a143 2
	<copy file="conf/${eb}/eyebrowse.properties.in"
	      todir="${ENV.SANDBOX}/conf/${eb}" />
d146 1
a146 1
	<copy file="scripts/call_eyebrowse.in" 
@


1.6
log
@minor changes to eyebrowse-install target
@
text
@d148 1
a148 1
	
@


1.5
log
@Fixed make targets to call eyebrowse build and integrate with our sandbox struct.
Corrected target eyebrowse-install and eyebrowse-distclean in both make and Ant.
to install eyebrowse in a sandbox you'll have to build from helm.
new targets:
eyebrowse		# build helm, link it (add to CP) and build eb
eyebrowse-install	# copy config files and jar into $SANDBOX
eyebrowse-clean		# rm files only from eyebrowse/
eyebrowse-distclean    	# do eyebrowse-clean and also rm files in site/
@
text
@d136 1
a136 1
	    <fileset dir="${ENV.SANDBOX}/${eb}/src/sql" />
d143 3
a145 1
	<copy todir="${ENV.SANDBOX}/site/scripts/eyebrowse">
d154 1
a154 1
	<delete dir ="${ENV.SANDBOX}/site/templates/org/tigris/eyebrowse" />
@


1.4
log
@moving eyebrowse build into helm with ant targets to control all actions reliant
on a sandbox (helm||joist)
@
text
@a105 1
<echo message="asdfasdfasdfasdfasdfasdfasdfasdfsadfasdfsdfasdf"/>
d110 1
d112 1
a112 1
	     tofile="${site.dir}/lib/${eb}.jar" />
d115 2
d125 3
a127 4
	<move file="${ENV.SANDBOX}/servlets.d/eyebrowse-helm.servlets"
	      tofile="${ENV.SANDBOX}/servlets.d/eyebrowse-helm.servlets.orig" />
	<move file="conf/eyebrowse-helm.servlets"
	      tofile="${ENV.SANDBOX}/servlets.d/eyebrowse-helm.servlets" />
d130 2
a131 2
	<copy file="${ENV.SANDBOX}/${eb}/conf/eyebrowse.zone.properties"
	      tofile="${ENV.SANDBOX}/conf/zone.properties.d/60eyebrowse.zone.properties.in" />
a132 3
	<!-- install servlets conf 	-->
	<copy file="${ENV.SANDBOX}/eyebrowse/conf/eyebrowse-helm.servlets" 
	      tofile="${ENV.SANDBOX}/conf/servlets.d/60eyebrowse-helm.servlets" />
d138 3
a140 1

d148 1
a148 1
    <target name="eyebrowse-clean">
a150 1
	<delete file="${ENV.SANDBOX}/${eb}/lib/${eb}.jar" />
d154 3
a156 1
	<delete file="${ENV.SANDBOX}/conf/zone.properties.d/60eyebrowse.zone.properties.in">
a157 3
	</delete>	
	<!-- remove sql files -->
	<delete>
a158 3
	</delete>
	<!-- remove scripts   -->
	<delete>
d162 1
@


1.3
log
@Resolved merge conflicts.
@
text
@d5 3
a7 2
<project name="Helm" default="jar" basedir=".">

d13 1
a13 2
        <property name="joist.dir" value="../"/>
        <property name="build.dir" value="../dest"/>
d16 4
a19 5
        <property name="conf.dir" value="../conf"/>
        <property name="site.dir" value="../../site"/>
        <property name="templates.dir" value="../templates"/>
        <property name="src.java.dir" value="../java"/>
        <property name="javadoc.destdir" value="../www/apidocs"/>
d21 1
a21 3
        <property name="final.dir" value="../${final.name}/"/>
        <property name="site.dir" value="../../site"/>
        <property name="year" value="2000"/>
d25 1
d101 66
a166 1

@


1.3.8.1
log
@Reflecting changes from the HEAD
@
text
@d5 2
a6 3
<project name="Helm" default="jar" basedir="..">
	
	<property environment="ENV" />
d12 2
a13 1
        <property name="build.dir" value="dest"/>
d16 5
a20 4
        <property name="conf.dir" value="conf"/>
        <property name="site.dir" value="${ENV.SANDBOX}/site"/>
        <property name="src.java.dir" value="java"/>
        <property name="javadoc.destdir" value="www/apidocs"/>
d22 3
a24 1
        <property name="year" value="2001"/>
a27 1
	<property name="eb" value="eyebrowse" />
a101 66
    </target>
  
    <!-- ================================================================== -->
    <!-- Eyebrowse specific build targets				    -->
    <!-- ================================================================== -->
    <target name="eyebrowse-install">
	<property name="eb.site.templates"
	     value="${ENV.SANDBOX}/site/templates/org/tigris/${eb}/joistservlets" /> 
	<!-- install jar files -->
	<echo message="Installing eyebrowse.jar into ${ENV.SANDBOX}/site/lib" />
	<copy file="${ENV.SANDBOX}/${eb}/lib/${eb}.jar"
	     todir="${site.dir}/lib/" />

	<!-- install templates -->
	<echo message="Installing templates into 
	      ${ENV.SANDBOX}/${eb}/src/webmacro/org/tigris/${eb}/joistservlets" />
	<copy todir="${eb.site.templates}">
	    <fileset dir="${ENV.SANDBOX}/${eb}/src/webmacro/org/tigris/${eb}/joistservlets" />
	</copy>

	<!-- install config files -->
	<mkdir dir="${ENV.SANDBOX}/conf/eyebrowse" />
	
	<!-- install servlets conf 	-->
	<echo message="Installing config files" />
	<copy file="conf/${eb}/60${eb}-helm.servlets"
	      todir="${ENV.SANDBOX}/conf/servlets.d/" />
	
	<!-- install zone.properties data   -->
	<!-- file="conf/${eb}/60${eb}.zone.properties.in" -->
	<copy todir="${ENV.SANDBOX}/conf/zone.properties.d/">
	    <fileset dir="conf/${eb}/" includes="**60${eb}.zone.properties**"
		excludes="**.old" />
	</copy>
	<!-- install sql files into $SANDBOX/site -->
	<mkdir dir="${ENV.SANDBOX}/site/sql" />
	<copy todir="${ENV.SANDBOX}/site/sql" >
	    <fileset dir="${ENV.SANDBOX}/${eb}/src/sql" includes="*.sql" />
	</copy>
	
	<copy todir="${ENV.SANDBOX}/conf/${eb}">
	   <fileset dir="conf/${eb}/" includes="**eyebrowse.properties**"
	      excludes="**.old" />
	</copy>
	<!-- install scripts into $SANDBOX/site/scripts -->
	<mkdir dir="${ENV.SANDBOX}/site/scripts/${eb}" />
	<copy file="scripts/call_eyebrowse"
	      todir="${ENV.SANDBOX}/site/scripts/${eb}" />
	<copy todir="${ENV.SANDBOX}/site/scripts/${eb}">
	    <fileset dir="${ENV.SANDBOX}/${eb}/src/scripts/" excludes="*.old" />
	</copy>
	<chmod dir="${ENV.SANDBOX}/site/scripts/${eb}" perm="u+x" excludes="**/*.in" />
    </target>
    <target name="eyebrowse-distclean">
	<!-- remove jar -->
	<delete file="${ENV.SANDBOX}/site/lib/${eb}.jar" />
	<!-- remove templates -->
	<delete dir="${ENV.SANDBOX}/site/templates/org/tigris/eyebrowse" />
	<!-- remove config files -->
	<delete>
	    <fileset dir="${ENV.SANDBOX}/conf/zone.properties.d/" 
		includes="**/eyebrowse*" />
	    <fileset dir="${ENV.SANDBOX}/conf/eyebrowse" />
	    <fileset dir="${ENV.SANDBOX}/site/sql/" includes="**/eyebrowse*" />
	    <fileset dir="${ENV.SANDBOX}/site/scripts/eyebrowse" />
	</delete>
@


1.3.8.2
log
@Ported changes to HEAD to branch. Moved servlets into logical container
of org.tigris.helm.tool.mail and changed build system and jserv config
to match changes.
@
text
@d38 1
a38 1
    <target name="compile" depends="prepare,check_for_eyebrowse">
d43 2
a44 4
            optimize="${optimize}">
	    <exclude name="org/tigris/helm/tool/mail/Eb**" 
		unless="eyebrowse.present" />
	</javac>
a104 5
    <target name="check_for_eyebrowse">
        <available property="eyebrowse.present"
	    classname="org.tigris.eyebrowse.EyebrowseDb" />
    </target>

d106 2
d113 7
d156 2
@


1.3.8.3
log
@Changed to copy only files that will always have permission to be overwritten (assuming no hand edits of course).
@
text
@d124 1
a124 1
	      todir="${ENV.SANDBOX}/conf/servlets.d/"/>
d128 3
a130 2
	<copy file="60${eb}.zone.properties.in"
	      todir="${ENV.SANDBOX}/conf/zone.properties.d/">
d138 4
a141 3
	<copy file="conf/${eb}/${eb}.properties.in" 
              todir="${ENV.SANDBOX}/conf/${eb}" />

d146 3
a148 2
	<copy file="${ENV.SANDBOX}/${eb}/src/scripts/${eb}" 
              todir="${ENV.SANDBOX}/site/scripts/${eb}" />
@


1.3.8.4
log
@Copy Eyebrowse SQL scripts to the Helm $SANDBOX/site/sql directory,
since Eyebrowse is being treated like part of Helm.
@
text
@a17 1
        <property name="site.sql.dir" value="${site.dir}/sql"/>
d132 2
a133 2
	<mkdir dir="${site.sql.dir}/helm"/>
	<copy todir="${site.sql.dir}/helm">
@


1.2
log
@Took out some old test targets.
@
text
@d3 1
a3 1
<!-- Build file for Joist -->
d5 1
a5 1
<project name="Helm" default="main" basedir=".">
d11 1
d13 1
a13 1
        <property name="build.dir" value="../bin"/>
d15 1
a15 1
        <property name="build.dest" value="../class"/>
a34 5
        <mkdir dir="${build.src}"/>

        <copydir src="${src.java.dir}/org" dest="${build.src}/org"
            includes="**/*.java **/*.properties"
            filtering="on"/>
d41 1
a41 1
        <javac srcdir="${build.src}"
d47 3
a49 4
        <copydir src="${build.src}/org"
                 dest="${build.dest}/org"
                 includes="**/*.properties"
                 filtering="on"/>
d56 2
a57 1
        <jar jarfile="${build.dir}/helm.jar"
d63 2
a64 2
        <copyfile src="${build.dir}/helm.jar"
                  dest="${site.dir}/lib/helm.jar"/>
d68 11
d84 2
a85 2
            sourcepath="${build.src}"
            packagenames="org.joist.*"
d101 1
a101 2
        <deltree dir="${build.dir}"/>
        <deltree dir="${build.dest}"/>
@


1.2.2.1
log
@Initial import of Ant scripts into this branch.

This will make installs much easier.
@
text
@d3 1
a3 1
<!-- Build file for Helm -->
d5 1
a5 1
<project name="Helm" default="jar" basedir=".">
a10 1
        <property name="build.compiler.emacs" value="${EMACS_COMPILE}"/>
d12 1
a12 1
        <property name="build.dir" value="../dest"/>
d14 1
a14 1
        <property name="build.dest" value="${build.dir}/class"/>
d36 3
a38 3
        <copy todir="${build.src}/org">
            <fileset dir="${src.java.dir}/org" includes="**/*.java"/>
        </copy>
d51 4
a54 3
        <copy todir="${build.dest}/org">
            <fileset dir="${src.java.dir}/org" includes="**/*.properties"/>
        </copy>
d67 2
a68 2
        <copy file="${build.dir}/${project}.jar"
              tofile="${site.dir}/lib/${project}.jar"/>
d94 2
a95 1
        <delete dir="${build.dir}"/>
@


1.1
log
@Initial import of Ant-related files.  There is a Makefile which serves as a wrapper so that the current build process will not be changed.
@
text
@a6 2
        <property name="HOME" value="${user.home}"/>
        <property file="../../scripts/env.sh"/>
a56 7
    <target name="quick">
        <echo message="sandbox -> ${SANDBOX}"/>
        <echo message="userhome -> ${user.home}"/>
        <property file="../templates/Makefile.config"/>
        <echo message="sitetemplatedir -> ${SITE_TEMPLATE_DIR}"/>
    </target>
  
a70 29
    <target name="install-sandbox" depends="jar">   
        <!--
        <copydir src="${build.dest}/org" 
                  dest="${site.dir}/java/org"
                  includes="**/*.class **/*.properties"
                  filtering="on"/>
        -->
        <echo message="build.dir -> ${build.dir}"/>
        <property name="data.dir" value="../../data"/>
        <copyfile src="${build.dir}/helm.jar"
                  dest="../../site/lib/helm.jar"/>
        <copyfile src="${conf.dir}/40helm.servlets.in"
                  dest="../../conf/servlets.d/40helm.servlets.in"/>
        <copyfile src="${conf.dir}/40helm.zone.properties.in"
                  dest="../../conf/zone.properties.d/40helm.zone.properties.in"/>
        <copyfile src="${conf.dir}/48helm-webmodules.conf.in"
                  dest="../../conf/httpd.conf.d/48-helm-webmodules.conf.in"/>
        <copyfile src="${conf.dir}/50helm-main.conf.in"
                  dest="../../conf/httpd.conf.d/50helm-main.conf.in"/>
        <copydir src="${templates.dir}"
                 dest="${site.dir}/templates/tigris"
                 excludes="Makefile Makefile.config"
                 filtering="on"/>
        <copydir src="../data"
                 dest="${data.dir}/helm"
                 excludes="Makefile Makefile.config"
                 filtering="on"/>
    </target>
    
@


1.1.1.1
log
@Merging newhelm tree into helm, as per IZ issue #557.  Previous major version of helm is tagged TIGRIS_NOV_11_2000.
@
text
@d3 1
a3 1
<!-- Build file for Helm -->
d5 1
a5 1
<project name="Helm" default="jar" basedir=".">
d7 2
a12 1
        <property name="build.compiler.emacs" value="${EMACS_COMPILE}"/>
d14 1
a14 1
        <property name="build.dir" value="../dest"/>
d16 1
a16 1
        <property name="build.dest" value="${build.dir}/class"/>
d36 5
d47 1
a47 1
        <javac srcdir="${src.java.dir}"
d53 4
a56 3
        <copy todir="${build.dest}/org">
            <fileset dir="${src.java.dir}/org" includes="**/*.properties"/>
        </copy>
d59 7
d70 1
a70 2
	<!-- TODO: Use manifest attribute -->
        <jar jarfile="${build.dir}/${project}.jar"
d76 2
a77 2
        <copy file="${build.dir}/${project}.jar"
              tofile="${site.dir}/lib/${project}.jar"/>
d80 28
a107 4
    <!-- =================================================================== -->
    <!-- Runs a 'clean' compile                                              -->
    <!-- =================================================================== -->
    <target name="most" depends="clean,jar"/>
a109 6
    <!-- Makes everything including install                                  -->
    <!-- =================================================================== -->
    <target name="all" depends="most,install"/>


    <!-- =================================================================== -->
d115 2
a116 2
            sourcepath="${src.java.dir}"
            packagenames="org.tigris.helm.*"
d132 2
a133 1
        <delete dir="${build.dir}"/>
@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d5 2
a6 3
<project name="Helm" default="jar" basedir="..">
	
	<property environment="ENV" />
d12 2
a13 1
        <property name="build.dir" value="dest"/>
d16 5
a20 5
        <property name="conf.dir" value="conf"/>
        <property name="site.dir" value="${ENV.SANDBOX}/site"/>
        <property name="site.sql.dir" value="${site.dir}/sql"/>
        <property name="src.java.dir" value="java"/>
        <property name="javadoc.destdir" value="www/apidocs"/>
d22 3
a24 1
        <property name="year" value="2001"/>
a27 1
	<property name="eb" value="eyebrowse" />
d40 1
a40 1
    <target name="compile" depends="prepare,check_for_eyebrowse">
d45 2
a46 4
            optimize="${optimize}">
	    <exclude name="org/tigris/helm/tool/mail/Eb**" 
		unless="eyebrowse.present" />
	</javac>
a101 57
    </target>
  
    <!-- ================================================================== -->
    <!-- Eyebrowse specific build targets				    -->
    <!-- ================================================================== -->
    <target name="check_for_eyebrowse">
        <available property="eyebrowse.present"
	    classname="org.tigris.eyebrowse.EyebrowseDb" />
    </target>

    <target name="eyebrowse-install">
	<!-- install jar files -->
	<echo message="Installing eyebrowse.jar into ${ENV.SANDBOX}/site/lib" />
	<copy file="${ENV.SANDBOX}/${eb}/lib/${eb}.jar"
	     todir="${site.dir}/lib/" />

	<!-- install config files -->
	<mkdir dir="${ENV.SANDBOX}/conf/eyebrowse" />
	
	<!-- install servlets conf 	-->
	<echo message="Installing config files" />
	<copy file="conf/${eb}/60${eb}-helm.servlets"
	      todir="${ENV.SANDBOX}/conf/servlets.d/"/>
	
	<!-- install zone.properties data   -->
	<!-- file="conf/${eb}/60${eb}.zone.properties.in" -->
	<copy file="60${eb}.zone.properties.in"
	      todir="${ENV.SANDBOX}/conf/zone.properties.d/">
	</copy>
	<!-- install sql files into $SANDBOX/site -->
	<mkdir dir="${site.sql.dir}/helm"/>
	<copy todir="${site.sql.dir}/helm">
	    <fileset dir="${ENV.SANDBOX}/${eb}/src/sql" includes="*.sql" />
	</copy>
	
	<copy file="conf/${eb}/${eb}.properties.in" 
              todir="${ENV.SANDBOX}/conf/${eb}" />

	<!-- install scripts into $SANDBOX/site/scripts -->
	<mkdir dir="${ENV.SANDBOX}/site/scripts/${eb}" />
	<copy file="scripts/call_eyebrowse"
	      todir="${ENV.SANDBOX}/site/scripts/${eb}" />
	<copy file="${ENV.SANDBOX}/${eb}/src/scripts/${eb}" 
              todir="${ENV.SANDBOX}/site/scripts/${eb}" />
	<chmod dir="${ENV.SANDBOX}/site/scripts/${eb}" perm="u+x" excludes="**/*.in" />
    </target>
    <target name="eyebrowse-distclean">
	<!-- remove jar -->
	<delete file="${ENV.SANDBOX}/site/lib/${eb}.jar" />
	<!-- remove config files -->
	<delete>
	    <fileset dir="${ENV.SANDBOX}/conf/zone.properties.d/" 
		includes="**/eyebrowse*" />
	    <fileset dir="${ENV.SANDBOX}/conf/eyebrowse" />
	    <fileset dir="${ENV.SANDBOX}/site/sql/" includes="**/eyebrowse*" />
	    <fileset dir="${ENV.SANDBOX}/site/scripts/eyebrowse" />
	</delete>
@


