Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: eyebrowse/conf 60eyebrowse.servlets 60eyebrowse.zone.properties 60eyebrowse.zone.properties.in Makefile Makefile.config build-eyebrowse.sh

eyebrowse
Discussion topic

Back to topic list

CVS update: eyebrowse/conf 60eyebrowse.servlets 60eyebrowse.zone.properties 60eyebrowse.zone.properties.in Makefile Makefile.config build-eyebrowse.sh

Reply

Author ms
Full name zxcv
Date 2000-09-08 11:10:23 PDT
Message User: ms
  Date: 00/09/08 11:10:23

  Added: conf 60eyebrowse.servlets 60eyebrowse.zone.properties
                        60eyebrowse.zone.properties.in Makefile
                        Makefile.config build-eyebrowse.sh
  Log:
  Sandboxified config setup for eyebrowse on joist
  
  Revision Changes Path
  1.1 eyebrowse/conf/60eye​browse.servlets
  
  Index: 60eyebrowse.servlets
  ====================​====================​====================​=======
  # @(#)servlets.properties 1.86 97/11/14
  #
  # Servlets Properties
  #
  # servlet.<name>.code=class name (foo or foo.class)
  # servlet.<name>​.initArgs=comma-deli​mited list of {name, value} pairs
  # that can be accessed by the servlet using the
  # servlet API calls
  #
  
  servlet.ReadMsg.code​=com.quiotix.eyebrow​se.ReadMsgServlet
  servlet.com.quiotix.​eyebrowse.ReadMsgSer​vlet.initArgs=proper​tiesFile=om/quiotix/​eyebrowse/ReadMsgSer​vlet.properties
  servlet.ReadMsg.init​Args=propertiesFile=​com/quiotix/eyebrows​e/ReadMsgServlet.pro​perties
  
  servlet.BrowseList.c​ode=com.quiotix.eyeb​rowse.BrowseListServ​let
  servlet.com.quiotix.​eyebrowse.BrowseList​Servlet.initArgs=pro​pertiesFile=com/quio​tix/eyebrowse/Browse​ListServlet.properti​es
  servlet.BrowseList.i​nitArgs=propertiesFi​le=com/quiotix/eyebr​owse/BrowseListServl​et.properties
  
  servlet.ListSummary.​code=com.quiotix.eye​browse.SummarizeList​Servlet
  servlet.com.quiotix.​eyebrowse.SummarizeL​istServlet.initArgs=​propertiesFile=com/q​uiotix/eyebrowse/Sum​marizeListServlet.pr​operties
  servlet.SummarizeLis​t.initArgs=propertie​sFile=com/quiotix/ey​ebrowse/SummarizeLis​tServlet.properties
  
  servlet.viewLists.co​de=com.quiotix.eyebr​owse.ViewListsServle​t
  servlet.com.quiotix.​eyebrowse.ViewListsS​ervlet.initArgs=prop​ertiesFile=com/quiot​ix/eyebrowse/ViewLis​tsServlet.properties​
  servlet.ViewLists.in​itArgs=propertiesFil​e=com/quiotix/eyebro​wse/ViewListsServlet​.properties
  
  servlet.GetAttachmen​t.code=com.quiotix.e​yebrowse.GetAttachme​ntServlet
  servlet.com.quiotix.​eyebrowse.GetAttachm​entServlet.initArgs=​propertiesFile=com/q​uiotix/eyebrowse/Get​AttachmentServlet.pr​operties
  servlet.GetAttachmen​t.initArgs=propertie​sFile=com/quiotix/ey​ebrowse/GetAttachmen​tServlet.properties
  
  servlet.SearchList.c​ode=com.quiotix.eyeb​rowse.SearchListServ​let
  servlet.com.quiotix.​eyebrowse.SearchList​Servlet.initArgs=pro​pertiesFile=com/quio​tix/eyebrowse/Search​ListServlet.properti​es
  servlet.SearchList.i​nitArgs=propertiesFi​le=com/quiotix/eyebr​owse/SearchListServl​et.properties
  
  
  
  1.1 eyebrowse/conf/60eye​browse.zone.properti​es
  
  Index: 60eyebrowse.zone.properties
  ====================​====================​====================​=======
  #
  # eyebrowse.properties properties file
  #
  # The following properties can be specified. All are optional; the
  # programs have hard-coded defaults (which correspond to the default values
  # in this file)
  #
  # dbDriver: the JDBC driver to use to access the database
  # dbName: the JDBC URL to the eyebrowse database
  # dbUser: the user name to give to JDBC when connecting
  # dbPassword: the password to give to JDBC when connecting
  # List-specific values:
  # Additionally, each list can have list-specific values for the above
  # templates, of the form lists.list-name.temp​lates.template-name
  # where list-name is the name of the list and template-name is one of the
  # above template types.
  
  
  dbDriver =org.gjt.mm.mysql.Driver
  dbName =jdbc:mysql://womb/eyebrowse # FIXME: Make this configurable one day....
  dbUser =sourcex
  dbPassword =I8_2Much
  
  
  
  1.1 eyebrowse/conf/60eye​browse.zone.properti​es.in
  
  Index: 60eyebrowse.zone.properties.in
  ====================​====================​====================​=======
  #
  # eyebrowse.properties properties file
  #
  # The following properties can be specified. All are optional; the
  # programs have hard-coded defaults (which correspond to the default values
  # in this file)
  #
  # dbDriver: the JDBC driver to use to access the database
  # dbName: the JDBC URL to the eyebrowse database
  # dbUser: the user name to give to JDBC when connecting
  # dbPassword: the password to give to JDBC when connecting
  # List-specific values:
  # Additionally, each list can have list-specific values for the above
  # templates, of the form lists.list-name.temp​lates.template-name
  # where list-name is the name of the list and template-name is one of the
  # above template types.
  repositories=__SANDB​OX__/site/lib/eyebro​wse.jar
  
  dbDriver =org.gjt.mm.mysql.Driver
  dbName =jdbc:mysql://womb/eyebrowse # FIXME: Make this configurable one day....
  dbUser =__DATABASE_NAME__
  dbPassword =__DATABASE_PASSWORD__
  
  
  
  1.1 eyebrowse/conf/Makefile
  
  Index: Makefile
  ====================​====================​====================​=======
  ####################​####################​####################​##########
  # -*- Makefile -*- developed for a Unix system.
  #
  
  include Makefile.config
  
  default: build
  
  # only install the conf files on make install
  build:
  
  install:
      @echo 'Installing project configuration files to sandbox'; \
      for f in $(PROPERTIES_CONF_FILES); do \
        echo " $${f}"; \
        if [ -f $(PROPERTIES_CONF_DIR)/$${f} ]; then \
          mv $(PROPERTIES_CONF_DIR)/$${f} $(PROPERTIES_CONF_D​IR)/$${f}.orig; \
        fi; \
        cp -f $${f}* $(PROPERTIES_CONF_DIR); \
      done; \
      for f in $(SERVLETS_CONF_FILES); do \
        echo " $${f}"; \
        if [ -f $(SERVLETS_CONF_DIR)/$${f} ]; then \
          mv $(SERVLETS_CONF_DIR)/$${f} $(SERVLETS_CONF_DIR​)/$${f}.orig; \
        fi; \
        cp -f $${f}* $(SERVLETS_CONF_DIR); \
      done; \
      echo 'Installation of project configuration files complete'; \
      unset f ; true
  
  include-trace:
      @file=$(FILE); \
      while [ "$$file" ]; do \
        last=$$file; \
        file=`grep -i "^ *include *. *.*$${file} *$$" * 2> /dev/null | \
          grep -v "registry\.$${file}" | \
          perl -p -e 's/^(.*):.*$$/$$1/i' | \
          grep -v '.*\.in$$'`; \
      done; \
      echo $$last; \
      unset last
  
  
  
  1.1 eyebrowse/conf/Makefile.config
  
  Index: Makefile.config
  ====================​====================​====================​=======
  ####################​####################​####################​##########
  # -*- Makefile -*- config file developed for a Unix system.
  #
  
  # The project name (as installed to sandbox).
  
  # The path to the configuration directory.
  PROPERTIES_CONF_DIR=​$(SANDBOX)/conf/zon​e.properties.d
  SERVLETS_CONF_DIR=$​(SANDBOX)/conf/servl​ets.d
  
  # The configuration files to copy to the sandbox configuration directory.
  PROPERTIES_CONF_FILE​S=60eyebrowse.zone.p​roperties
  SERVLETS_CONF_FILES=​60eyebrowse.servlets​
  
  
  
  1.1 eyebrowse/conf/build​-eyebrowse.sh
  
  Index: build-eyebrowse.sh
  ====================​====================​====================​=======
  #!/bin/sh
  # jakarta-ant build tool wrapper
  
  echo
  echo "building for EyeBrowse"
  echo
  
  if [ $JAVA_HOME = "" ] ; then
      echo "Please set your JAVA_HOME to the base directory of your Java VM or JRE install."
      exit 1
  fi
  if [ ! -e "$JAVA_HOME/bin/java" ] ; then
      echo "java cmd not found in $JAVA_HOME/bin"
      exit 1
  fi
  if [ ! -x "$JAVA_HOME/bin/java" ] ; then
      echo "java not executable in $JAVA_HOME/bin"
      exit 1
  fi
  if [ -e "$ANT_HOME/lib/ant.jar" ] ; then
      ANT="$ANT_HOME/lib/ant.jar"
  fi
  if [ -e /usr/lib/java/ant.jar ] ; then
      ANT="/usr/lib/java/ant.jar"
  fi
  OLDCLASSPATH=$CLASSPATH
  CLASSPATH=$OLDCLASS​PATH:$SANDBOX/site/​java
  
  $JAVA_HOME/bin/java -classpath $CLASSPATH -Dant.home=$ANT org.apache.tools.ant.Main $* # run the puppy

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: eyebrowse/conf 60eyebrowse.servlets 60eyebrowse.zone.properties 60eyebrowse.zone.properties.in Makefile Makefile.config build-eyebrowse.sh ms zxcv 2000-09-08 11:10:23 PDT
Messages per page: