Kaydet (Commit) eac18711 authored tarafından Jens-Heiner Rechtien's avatar Jens-Heiner Rechtien

INTEGRATION: CWS ooo20031216 (1.20.110); FILE MERGED

2003/12/16 19:20:09 waratah 1.20.110.2: #i23464# Include a default ANT_LIB for the hamburg environment
2003/12/16 11:15:42 waratah 1.20.110.1: #i23464#  Implement test for ANT_LIB instead of ANT_HOME
üst 77eda529
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
# #
# $RCSfile: ant.mk,v $ # $RCSfile: ant.mk,v $
# #
# $Revision: 1.20 $ # $Revision: 1.21 $
# #
# last change: $Author: hr $ $Date: 2003-03-27 11:48:02 $ # last change: $Author: hr $ $Date: 2004-02-04 12:37:16 $
# #
# The Contents of this file are made available subject to the terms of # The Contents of this file are made available subject to the terms of
# either of the following licenses # either of the following licenses
...@@ -82,14 +82,15 @@ J2EE_HOME=$(SOLARROOT)$/j2sdkee1.3 ...@@ -82,14 +82,15 @@ J2EE_HOME=$(SOLARROOT)$/j2sdkee1.3
# --- ANT build environment --------------------------------------- # --- ANT build environment ---------------------------------------
ANT_HOME*:=$(COMMON_BUILD_TOOLS)$/ant ANT_HOME*:=$(COMMON_BUILD_TOOLS)$/ant
ANT_LIB*:=$(ANT_HOME)
.IF "$(ANT_OPTIONAL)" =="" .IF "$(ANT_OPTIONAL)" ==""
ANT_OPTIONAL=$(ANT_HOME)$/optional.jar ANT_OPTIONAL=$(ANT_LIB)$/optional.jar
.ENDIF .ENDIF
.IF "$(ANT_CLASSPATH)"=="" .IF "$(ANT_CLASSPATH)"==""
.IF "$(WDK3RDPARTY)"=="" .IF "$(WDK3RDPARTY)"==""
ANT_CLASSPATH:=$(ANT_HOME)$/xercesImpl.jar$(PATH_SEPERATOR)$(ANT_HOME)$/xml-apis.jar$(PATH_SEPERATOR)$(ANT_HOME)$/ant.jar$(PATH_SEPERATOR)$(ANT_OPTIONAL)$(PATH_SEPERATOR)$(ANT_HOME)$/junit.jar ANT_CLASSPATH:=$(ANT_LIB)$/xercesImpl.jar$(PATH_SEPERATOR)$(ANT_LIB)$/xml-apis.jar$(PATH_SEPERATOR)$(ANT_LIB)$/ant.jar$(PATH_SEPERATOR)$(ANT_OPTIONAL)$(PATH_SEPERATOR)$(ANT_LIB)/junit.jar
.ELSE .ELSE
ANT_CLASSPATH:=$(CLASSDIR)$/xercesImpl.jar$(PATH_SEPERATOR)$(CLASSDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(CLASSDIR)$/ant.jar$(PATH_SEPERATOR)$(ANT_OPTIONAL)$(PATH_SEPERATOR)$(CLASSDIR)$/junit.jar ANT_CLASSPATH:=$(CLASSDIR)$/xercesImpl.jar$(PATH_SEPERATOR)$(CLASSDIR)$/xml-apis.jar$(PATH_SEPERATOR)$(CLASSDIR)$/ant.jar$(PATH_SEPERATOR)$(ANT_OPTIONAL)$(PATH_SEPERATOR)$(CLASSDIR)$/junit.jar
.ENDIF .ENDIF
...@@ -99,7 +100,7 @@ ANT_CLASSPATH!:=$(ANT_CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/antprj.jar ...@@ -99,7 +100,7 @@ ANT_CLASSPATH!:=$(ANT_CLASSPATH)$(PATH_SEPERATOR)$(SOLARBINDIR)$/antprj.jar
.ENDIF .ENDIF
.ENDIF .ENDIF
ANT=java -Xmx128m org.apache.tools.ant.Main -Djava.home=$(JAVA_HOME) -Dant.home=$(ANT_HOME) ANT=$(WRAPCMD) java -classpath $(CLASSPATH) -Xmx128m org.apache.tools.ant.Main -Djava.home=$(JAVA_HOME) -Dant.home=$(ANT_HOME)
#ANT=java -version #ANT=java -version
.IF "$(ANT_BUILDFILE)"=="" .IF "$(ANT_BUILDFILE)"==""
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment