hammant     02/05/16 16:47:20

  Added:       phoenix-bin/apps dummy.txt
               phoenix-bin/bin phoenix-engine.jar phoenix-loader.jar
                        run.bat run.sh
               phoenix-bin/conf kernel.xml
               phoenix-bin/ext dummy.txt
               phoenix-bin/lib avalon-framework-20022103.jar
                        excalibur-baxter-1.0a.jar excalibur-cli-1.0.jar
                        excalibur-collections-1.0.jar
                        excalibur-concurrent-1.0.jar
                        excalibur-extension-1.0a.jar excalibur-i18n-1.0.jar
                        excalibur-io-1.0.jar excalibur-logger-1.0.jar
                        excalibur-pool-1.0.jar excalibur-stripped.jar
                        excalibur-thread-1.0.jar
                        excalibur-threadcontext-1.0.jar
                        excalibur-util-1.0.jar logkit-1.0.1.jar
                        phoenix-client.jar xerces.jar
               phoenix-bin/logs dummy.txt
  Log:
  Latest Phoenix booked in
  
  Revision  Changes    Path
  1.1                  jakarta-james/phoenix-bin/apps/dummy.txt
  
  Index: dummy.txt
  ===================================================================
  To force zipping of the dir
  
  
  1.1                  jakarta-james/phoenix-bin/bin/phoenix-engine.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/bin/phoenix-loader.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/bin/run.bat
  
  Index: run.bat
  ===================================================================
  @echo off
  rem
  rem Phoenix start script.
  rem
  rem Author: Peter Donald [[EMAIL PROTECTED]]
  rem
  rem Environment Variable Prequisites
  rem
  rem   PHOENIX_OPTS       (Optional) Java runtime options used when the command is
  rem                      executed.
  rem
  rem   PHOENIX_TMPDIR     (Optional) Directory path location of temporary directory
  rem                      the JVM should use (java.io.tmpdir).  Defaults to
  rem                      $CATALINA_BASE/temp.
  rem
  rem   JAVA_HOME          Must point at your Java Development Kit installation.
  rem
  rem   PHOENIX_JVM_OPTS   (Optional) Java runtime options used when the command is
  rem                       executed.
  rem
  rem -----------------------------------------------------------------------------
  
  rem
  rem Determine if JAVA_HOME is set and if so then use it
  rem
  if not "%JAVA_HOME%"=="" goto found_java
  
  set PHOENIX_JAVACMD=java
  goto file_locate
  
  :found_java
  set PHOENIX_JAVACMD=%JAVA_HOME%\bin\java
  
  :file_locate
  
  rem
  rem Locate where phoenix is in filesystem
  rem
  if not "%OS%"=="Windows_NT" goto start
  
  rem %~dp0 is name of current script under NT
  set PHOENIX_HOME=%~dp0
  
  rem : operator works similar to make : operator
  set PHOENIX_HOME=%PHOENIX_HOME:\bin\=%
  
  :start
  
  if not "%PHOENIX_HOME%" == "" goto phoenix_home
  
  echo.
  echo Warning: PHOENIX_HOME environment variable is not set.
  echo   This needs to be set for Win9x as it's command prompt
  echo   scripting bites
  echo.
  goto end
  
  :phoenix_home
  
  if not "%PHOENIX_TMPDIR%"=="" goto afterTmpDir
  set PHOENIX_TMPDIR=%PHOENIX_HOME%\temp
  if not exist "%PHOENIX_TMPDIR%" mkdir %PHOENIX_TMPDIR%
  
  :afterTmpDir
  
  echo Using PHOENIX_HOME:   %PHOENIX_HOME%
  echo Using PHOENIX_TMPDIR: %PHOENIX_TMPDIR%
  echo Using JAVA_HOME:      %JAVA_HOME%
  
  set PHOENIX_SM=
  
  if "%PHOENIX_SECURE%" == "false" goto postSecure
  
  rem Make Phoenix run with security Manager enabled
  set PHOENIX_SM="-Djava.security.manager"
  
  :postSecure
  
  rem
  rem -Djava.ext.dirs= is needed as some JVM vendors do foolish things
  rem like placing jaxp/jaas/xml-parser jars in ext dir
  rem thus breaking Phoenix
  rem
  
  rem Kicking the tires and lighting the fires!!!
  "%PHOENIX_JAVACMD%" "-Djava.ext.dirs=%PHOENIX_HOME%\lib" 
"-Dphoenix.home=%PHOENIX_HOME%" 
"-Djava.security.policy=jar:file:%PHOENIX_HOME%/bin/phoenix-loader.jar!/META-INF/java.policy"
 %PHOENIX_JVM_OPTS% %PHOENIX_SECURE% -jar "%PHOENIX_HOME%\bin\phoenix-loader.jar" %1 
%2 %3 %4 %5 %6 %7 %8 %9
  
  :end
  
  
  
  1.1                  jakarta-james/phoenix-bin/bin/run.sh
  
  Index: run.sh
  ===================================================================
  #! /bin/sh
  #
  # -----------------------------------------------------------------------------
  # Phoenix start script.
  #
  # Author: Peter Donald <[EMAIL PROTECTED]>
  
  # Environment Variable Prequisites
  #
  #   PHOENIX_OPTS       (Optional) Java runtime options used when the command is 
  #                      executed.
  #
  #   PHOENIX_TMPDIR     (Optional) Directory path location of temporary directory
  #                      the JVM should use (java.io.tmpdir).  Defaults to
  #                      $CATALINA_BASE/temp.
  #
  #   JAVA_HOME          Must point at your Java Development Kit installation.
  #
  #   PHOENIX_JVM_OPTS   (Optional) Java runtime options used when the command is 
  #                       executed.
  #
  # -----------------------------------------------------------------------------
  
  # OS specific support.  $var _must_ be set to either true or false.
  cygwin=false
  case "`uname`" in
  CYGWIN*) cygwin=true;;
  esac
  
  # Checking for JAVA_HOME is required on *nix due
  # to some distributions stupidly including kaffe in /usr/bin
  if [ "$JAVA_HOME" = "" ] ; then
    echo "ERROR: JAVA_HOME not found in your environment."
    echo
    echo "Please, set the JAVA_HOME variable in your environment to match the"
    echo "location of the Java Virtual Machine you want to use."
    exit 1
  fi
  
  # resolve links - $0 may be a softlink
  THIS_PROG="$0"
  
  while [ -h "$THIS_PROG" ]; do
    ls=`ls -ld "$THIS_PROG"`
    link=`expr "$ls" : '.*-> \(.*\)$'`
    if expr "$link" : '.*/.*' > /dev/null; then
      THIS_PROG="$link"
    else
      THIS_PROG=`dirname "$THIS_PROG"`/"$link"
    fi
  done
  
  # Get standard environment variables
  PRGDIR=`dirname "$THIS_PROG"`
  PHOENIX_HOME=`cd "$PRGDIR/.." ; pwd`
  
  unset THIS_PROG
  
  # For Cygwin, ensure paths are in UNIX format before anything is touched
  if $cygwin; then
    [ -n "$PHOENIX_HOME" ] && PHOENIX_HOME=`cygpath --unix "$PHOENIX_HOME"`
  fi
  
  if [ -z "$PHOENIX_TMPDIR" ] ; then
    # Define the java.io.tmpdir to use for Phoenix
    PHOENIX_TMPDIR="$PHOENIX_HOME"/temp
    mkdir -p "$PHOENIX_TMPDIR"
  fi
  
  # For Cygwin, switch paths to Windows format before running java
  if $cygwin; then
    PHOENIX_HOME=`cygpath --path --windows "$PHOENIX_HOME"`
  fi
  
  # ----- Execute The Requested Command -----------------------------------------
  
  echo "Using PHOENIX_HOME:   $PHOENIX_HOME"
  echo "Using PHOENIX_TMPDIR: $PHOENIX_TMPDIR"
  echo "Using JAVA_HOME:      $JAVA_HOME"
  
  #
  # Command to overide JVM ext dir
  #
  # This is needed as some JVM vendors do foolish things
  # like placing jaxp/jaas/xml-parser jars in ext dir
  # thus breaking Phoenix
  #
  JVM_OPTS="-Djava.ext.dirs=$PHOENIX_HOME/lib"
  
  if [ "$PHOENIX_SECURE" != "false" ] ; then
    # Make phoenix run with security manager enabled
    JVM_OPTS="$JVM_OPTS -Djava.security.manager"
  fi
  
  # Kicking the tires and lighting the fires!!!
  $JAVA_HOME/bin/java $JVM_OPTS \
      $JVM_OPTS \
      
-Djava.security.policy=jar:file:$PHOENIX_HOME/bin/phoenix-loader.jar!/META-INF/java.policy
 \
      $PHOENIX_JVM_OPTS \
      -Dphoenix.home="$PHOENIX_HOME" \
      -Djava.io.tmpdir="$PHOENIX_TMPDIR" \
      -jar "$PHOENIX_HOME/bin/phoenix-loader.jar" $*
  
  
  
  1.1                  jakarta-james/phoenix-bin/conf/kernel.xml
  
  Index: kernel.xml
  ===================================================================
  <?xml version="1.0"?>
  
  <phoenix>
      <embeddor role="org.apache.avalon.phoenix.interfaces.Embeddor"
          class="org.apache.avalon.phoenix.components.embeddor.DefaultEmbeddor">
  
          <component role="org.apache.avalon.phoenix.interfaces.Deployer"
              class="org.apache.avalon.phoenix.components.deployer.DefaultDeployer"
              logger="deployer"/>
  
          <component role="org.apache.avalon.phoenix.interfaces.LogManager"
              class="org.apache.avalon.phoenix.components.logger.DefaultLogManager"
              logger="logs"/>
  
          <component role="org.apache.avalon.phoenix.interfaces.Kernel"
              class="org.apache.avalon.phoenix.components.kernel.DefaultKernel"
              logger="kernel"/>
  
          <component role="org.apache.avalon.phoenix.interfaces.SystemManager"
              class="org.apache.avalon.phoenix.components.manager.NoopSystemManager"
              logger="manager"></component>
  
          <!-- use this one if you need the DefaultManager
          <component role="org.apache.avalon.phoenix.interfaces.SystemManager"
              class="org.apache.avalon.phoenix.components.manager.DefaultManager"
              logger="manager" >
          </component>
          -->
  
          <component 
role="org.apache.avalon.phoenix.interfaces.ConfigurationRepository"
              
class="org.apache.avalon.phoenix.components.configuration.DefaultConfigurationRepository"
              logger="config"/>
          <component role="org.apache.avalon.phoenix.interfaces.ClassLoaderManager"
              
class="org.apache.avalon.phoenix.components.classloader.DefaultClassLoaderManager"
              logger="classes"/>
          <component role="org.apache.avalon.excalibur.extension.PackageRepository"
              
class="org.apache.avalon.phoenix.components.extensions.DefaultExtensionManager"
              logger="packages"/>
  <!--
          <component role="org.apache.avalon.excalibur.extension.PackageRepository"
              class="org.apache.avalon.excalibur.extension.NoopPackageRepository"
              logger="packages"/>
  -->
      </embeddor>
  </phoenix>
  
  
  1.1                  jakarta-james/phoenix-bin/ext/dummy.txt
  
  Index: dummy.txt
  ===================================================================
  To force zipping of the dir
  
  
  1.1                  jakarta-james/phoenix-bin/lib/avalon-framework-20022103.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-baxter-1.0a.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-cli-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-collections-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-concurrent-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-extension-1.0a.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-i18n-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-io-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-logger-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-pool-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-stripped.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-thread-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-threadcontext-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/excalibur-util-1.0.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/logkit-1.0.1.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/phoenix-client.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/lib/xerces.jar
  
        <<Binary file>>
  
  
  1.1                  jakarta-james/phoenix-bin/logs/dummy.txt
  
  Index: dummy.txt
  ===================================================================
  To force zipping of the dir
  
  

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to