Un-hard code the directories paths.

X-SVN-Rev: 7171
This commit is contained in:
Syn Wee Quek 2001-11-29 18:18:10 +00:00
parent c83b10337e
commit 4caafdc3d1
2 changed files with 12 additions and 23 deletions

View file

@ -1,15 +1,15 @@
@echo off
REM *******************************************************************************
REM * Copyright (C) 1997-2000, International Business Machines Corporation and *
REM * others. All Rights Reserved. *
REM * Copyright (C) 1997 - 2001, International Business Machines Corporation and
REM * others. All Rights Reserved.
REM *******************************************************************************
REM $Source: /xsrl/Nsvn/icu/icu4j/Attic/build.bat,v $
REM $Date: 2000/03/15 00:40:27 $
REM $Revision: 1.4 $
REM $Date: 2001/11/29 18:18:10 $
REM $Revision: 1.5 $
REM *******************************************************************************
REM convience bat file to build with
java -classpath "build\icu4jtools.jar;jakarta-ant\lib\ant.jar;jakarta-ant\lib\xml.jar;%CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5
java -classpath "%JAVA_HOME%\lib\tools.jar;%ANT_HOME%\lib\ant.jar;%CLASSPATH%" org.apache.tools.ant.Main %1 %2 %3 %4 %5

View file

@ -1,26 +1,15 @@
#/*
#*******************************************************************************
#* Copyright (C) 1997-2000, International Business Machines Corporation and *
#* others. All Rights Reserved. *
#*******************************************************************************
#* Copyright (C) 1997 - 2001, International Business Machines Corporation and
#* others. All Rights Reserved. #*******************************************************************************
#*
#* $Source: /xsrl/Nsvn/icu/icu4j/Attic/build.sh,v $
#* $Date: 2000/03/15 00:40:27 $
#* $Revision: 1.3 $
#* $Date: 2001/11/29 18:18:10 $
#* $Revision: 1.4 $
#*
#*****************************************************************************************
#*/
#!/bin/sh
ADDL_CLASSPATH=build/icu4jtoolz.zip:jakarta-ant/lib/ant.jar:jakarta-ant/lib/xml.jar
if [ "$CLASSPATH" != "" ] ; then
CLASSPATH=$CLASSPATH:$ADDL_CLASSPATH
else
CLASSPATH=$ADDL_CLASSPATH
fi
export CLASSPATH
echo Building with classpath $CLASSPATH
java org.apache.tools.ant.Main $*
CLASSPATH=$JAVA_HOME/tools.jar:$ANT_HOME/lib/ant.jar
echo java -classpath $CLASSPATH org.apache.tools.ant.Main $*
java -classpath $CLASSPATH org.apache.tools.ant.Main $*