diff options
author | Endi Sukma Dewata <edewata@redhat.com> | 2012-03-24 02:27:47 -0500 |
---|---|---|
committer | Endi Sukma Dewata <edewata@redhat.com> | 2012-03-26 11:43:54 -0500 |
commit | 621d9e5c413e561293d7484b93882d985b3fe15f (patch) | |
tree | 638f3d75761c121d9a8fb50b52a12a6686c5ac5c /pki/base/migrate/63ToTxt/src/compile.bat | |
parent | 40d3643b8d91886bf210aa27f711731c81a11e49 (diff) | |
download | pki-621d9e5c413e561293d7484b93882d985b3fe15f.tar.gz pki-621d9e5c413e561293d7484b93882d985b3fe15f.tar.xz pki-621d9e5c413e561293d7484b93882d985b3fe15f.zip |
Removed unnecessary pki folder.
Previously the source code was located inside a pki folder.
This folder was created during svn migration and is no longer
needed. This folder has now been removed and the contents have
been moved up one level.
Ticket #131
Diffstat (limited to 'pki/base/migrate/63ToTxt/src/compile.bat')
-rwxr-xr-x | pki/base/migrate/63ToTxt/src/compile.bat | 150 |
1 files changed, 0 insertions, 150 deletions
diff --git a/pki/base/migrate/63ToTxt/src/compile.bat b/pki/base/migrate/63ToTxt/src/compile.bat deleted file mode 100755 index f587dd7e8..000000000 --- a/pki/base/migrate/63ToTxt/src/compile.bat +++ /dev/null @@ -1,150 +0,0 @@ -@ECHO OFF -REM --- BEGIN COPYRIGHT BLOCK --- -REM Copyright (C) 2007 Red Hat, Inc. -REM All rights reserved. -REM --- END COPYRIGHT BLOCK --- - -REM -REM This script creates the "63ToTxt/classes/Main.class" and -REM "63ToTxt/classes/CMS63LdifParser.class" which are -REM used to create a normalized CMS 6.3 ldif text file. -REM - - -SETLOCAL - - -REM -REM Set SERVER_ROOT - identify the CMS <server_root> used to compile 63ToTxt -REM - -REM SET SERVER_ROOT=C:\cms63 - - -REM -REM Set JDK_VERSION - specify the JDK version used by this version of CMS -REM -REM CMS 6.3 NOTE: "WINNT" - 1.4.2 -REM - -REM SET JDK_VERSION=CMS_6.3 - - -REM -REM Set JAVA_HOME - specify the complete path to the JDK -REM -REM example: \\bermuda.redhat.com\sbc mounted as Y: -REM - -REM SET JAVA_HOME=Y:\cms_jdk\WINNT\%JDK_VERSION% - - -REM -REM *** DON'T CHANGE ANYTHING BELOW THIS LINE *** -REM - - -REM -REM Script-defined constants -REM - -SET CMS="CMS 6.3" - - -REM -REM Perform a usage check for the appropriate number of arguments: -REM - -IF "%1" == "" GOTO CHECK_ENVIRONMENT_VARIABLES - - -:USAGE -ECHO. -ECHO Usage: "%0" -ECHO. -ECHO NOTE: No arguments are required to build the -ECHO normalized %CMS% ldif text classes. -ECHO. -GOTO EXIT_PROCESS - - -REM -REM Check presence of user-defined variables -REM - -:CHECK_ENVIRONMENT_VARIABLES -IF !%SERVER_ROOT%==! GOTO ENVIRONMENT_VARIABLES_ERROR -IF !%JAVA_HOME%==! GOTO ENVIRONMENT_VARIABLES_ERROR -GOTO CHECK_SERVER_ROOT - - -:ENVIRONMENT_VARIABLES_ERROR -ECHO ERROR: Please specify the SERVER_ROOT and JAVA_HOME -ECHO environment variables for this script! -ECHO. -GOTO EXIT_PROCESS - - -REM -REM Check that the specified SERVER_ROOT exists -REM - -:CHECK_SERVER_ROOT -IF EXIST %SERVER_ROOT% GOTO CHECK_JAVA_HOME - - -ECHO ERROR: The specified SERVER_ROOT does not exist! -ECHO. -GOTO EXIT_PROCESS - - -REM -REM Check that the specified JAVA_HOME exists -REM - -:CHECK_JAVA_HOME -IF EXIST %JAVA_HOME% GOTO SET_LIBRARY_PATH - - -ECHO ERROR: The specified JAVA_HOME does not exist! -ECHO. -GOTO EXIT_PROCESS - - -REM -REM Setup the appropriate library path environment variable -REM based upon the platform (WINNT) -REM - -:SET_LIBRARY_PATH -SET PATH=%SERVER_ROOT%\bin\cert\lib;%JAVA_HOME%\bin;%JAVA_HOME%\lib;%PATH% - - -REM -REM Set TARGET - identify the complete path to the new classes target directory -REM - -SET TARGET=..\classes - - -REM -REM Create the new classes target directory (if it does not already exist) -REM - -IF EXIST %TARGET% goto COMPILE_CLASSES -MKDIR %TARGET% - - -REM -REM Compile 63ToTxt - create "CMS63LdifParser.class" and "Main.class" -REM - -:COMPILE_CLASSES -%JAVA_HOME%\bin\javac.exe -d %TARGET% -classpath %JAVA_HOME%\jre\lib\rt.jar;%SERVER_ROOT%\bin\cert\jars\nsutil.jar;%SERVER_ROOT%\bin\cert\jars\certsrv.jar;%SERVER_ROOT%\bin\cert\jars\cmscore.jar;%SERVER_ROOT%\bin\cert\jars\jss3.jar Main.java - - -:EXIT_PROCESS - - -ENDLOCAL - |