head	1.10;
access;
symbols
	dlr:1.1.1
	TIGRIS_0_9_2_4:1.9
	TIGRIS_0_9_2_3:1.9
	HELM_PEER_PORT_BRANCH:1.1.1.2
	TURBINE_PEER:1.9
	TIGRIS_0_9_2_1:1.9
	TIGRIS_0_9_2:1.9.0.6
	TIGRIS_0_9_0:1.9.0.4
	TIGRIS_0_8_4:1.9.0.2
	NEWHELM:1.1.1.1
	TIGRIS_NOV_12_2000:1.1.1;
locks; strict;
comment	@# @;


1.10
date	2001.02.22.09.48.08;	author edk;	state dead;
branches;
next	1.9;

1.9
date	2000.11.29.05.42.38;	author edk;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.23.03.32.09;	author edk;	state Exp;
branches;
next	1.7;

1.7
date	2000.11.22.08.32.51;	author brian;	state Exp;
branches;
next	1.6;

1.6
date	2000.11.22.06.53.08;	author edk;	state Exp;
branches;
next	1.5;

1.5
date	2000.11.22.06.18.49;	author edk;	state Exp;
branches;
next	1.4;

1.4
date	2000.11.22.03.21.00;	author edk;	state Exp;
branches;
next	1.3;

1.3
date	2000.11.17.01.25.28;	author edk;	state Exp;
branches;
next	1.2;

1.2
date	2000.11.15.22.08.40;	author edk;	state Exp;
branches;
next	1.1;

1.1
date	2000.11.12.21.17.43;	author dlr;	state Exp;
branches
	1.1.1.1;
next	;

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

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


desc
@@


1.10
log
@this file is obsolete
@
text
@#!/bin/sh

echo "anzu_initialize.sh is deprecated; please use anzu_initialize";
sleep 2;
echo "attempting to run anzu_initialize";
exec ./anzu_initialize $*
@


1.9
log
@anzu_initialize.sh is deprecated : now it tries to exec anzu_initialize
anzu_initialize now creates mailing lists from whatever is in
HELM_MAILINGLIST
@
text
@@


1.8
log
@add the www project (required)
@
text
@d3 4
a6 39
ANZU="__SANDBOX__/site/lib/anzu.jar"
export CLASSPATH=${CLASSPATH}:${ANZU}

#cat < /dev/null > __SANDBOX__/data/anzu/anzu-base-domains.txt
#rm -f -r __SANDBOX__/data/anzu/domains

JAVA=`which java 2> /dev/null`
if [ -z ${JAVA} ] ; then
   export JAVA=${JAVA_HOME}/bin/java
fi
if [ ! -f ${JAVA} ] ; then
   echo "Please add the bin dir from your JDK to your path or set JAVA_HOME"
   exit 1
fi

JDEFS="-Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail"
HARNESS="$JAVA $JDEFS org.tigris.anzu.client.Harness"

$HARNESS remove_domain __HOSTNAME__
$HARNESS add_domain __HOSTNAME__
$HARNESS add_project __HOSTNAME__ testproject
$HARNESS add_project __HOSTNAME__ www
$HARNESS alias __HOSTNAME__ '' create q q@@localhost
$HARNESS alias __HOSTNAME__ '' create root root@@localhost
$HARNESS alias __HOSTNAME__ '' create testdev testdev@@localhost
$HARNESS alias __HOSTNAME__ '' create testcontdev testcontdev@@localhost
$HARNESS alias __HOSTNAME__ '' create testreguser testreguser@@localhost
$HARNESS alias __HOSTNAME__ '' create testobserver testobserver@@localhost
$HARNESS alias __HOSTNAME__ '' create testdomadmin testdomadmin@@localhost
$HARNESS alias __HOSTNAME__ '' create testhostadmin testhostadmin@@localhost
$HARNESS alias __HOSTNAME__ '' create testowner testowner@@localhost

EYEBROWSE="__SANDBOX__/data/eyebrowse"
#rm -f -r ${EYEBROWSE}
mkdir ${EYEBROWSE} >/dev/null 2>&1
if [ `id -u` = '0' ] ; then
    echo 'Setting ownership of the eyebrowse data directory'
    chown -R tigrisq.tigris ${EYEBROWSE}
fi
@


1.7
log
@
Obtained from:
Submitted by:
Reviewed by:

Refactoring to make it slightly easier to read.
@
text
@d24 1
@


1.6
log
@initialize anzu's list of users e-mail accts to be the same as what's
provided by the populate scripts
@
text
@d18 15
a32 12
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness remove_domain __HOSTNAME__
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness add_domain __HOSTNAME__
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness add_project __HOSTNAME__ testproject
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create q q@@localhost
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create root root@@localhost
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create testdev testdev@@localhost
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create testcontdev testcontdev@@localhost
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create testreguser testreguser@@localhost
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create testobserver testobserver@@localhost
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create testdomadmin testdomadmin@@localhost
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create testhostadmin testhostadmin@@localhost
$JAVA -Danzu.secret=__SANDBOX__/data/anzu/secret -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness alias __HOSTNAME__ '' create testowner testowner@@localhost
@


1.5
log
@the secret / key should be created earlier -- it's part of the anzu
install now.  also, change the name of the property to secret, which is
more descriptive.
@
text
@d21 9
@


1.4
log
@anzu will need a block of data to authenticate clients with the server
@
text
@d18 3
a20 5
ssh-keygen -N '' -f __SANDBOX__/data/anzu/key

$JAVA -Danzu.key=__SANDBOX__/data/anzu/key -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness remove_domain __HOSTNAME__
$JAVA -Danzu.key=__SANDBOX__/data/anzu/key -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness add_domain __HOSTNAME__
$JAVA -Danzu.key=__SANDBOX__/data/anzu/key -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness add_project __HOSTNAME__ testproject
@


1.3
log
@remove the old data before adding new data -- now this is safe to run
repeatedly (though it may give an error on the first use)
@
text
@d18 5
a22 3
$JAVA -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness remove_domain __HOSTNAME__
$JAVA -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness add_domain __HOSTNAME__
$JAVA -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness add_project __HOSTNAME__ testproject
@


1.2
log
@just for niels ... if we can't find java based on the path, try
$JAVA_HOME/bin/java.  with our JDK, that doesn't seem to work; but with
otherwise it'd probably be ok.  and it's better to make fewer restrictions
on the software with which helm will work ...
@
text
@d18 1
@


1.1
log
@Initial revision
@
text
@d9 11
a19 2
java -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness add_domain __HOSTNAME__
java -DRMIURL=rmi://localhost:__RMI_PORT__/mail org.tigris.anzu.client.Harness add_project __HOSTNAME__ testproject
@


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
@@


1.1.1.2
log
@Replacing the HEAD with the HELM_PEER_PORT_BRANCH.
@
text
@d3 16
a18 4
echo "anzu_initialize.sh is deprecated; please use anzu_initialize";
sleep 2;
echo "attempting to run anzu_initialize";
exec ./anzu_initialize $*
@

