diff --git a/.gitattributes b/.gitattributes index 713742eab1..ac908d3d93 100644 --- a/.gitattributes +++ b/.gitattributes @@ -228,6 +228,7 @@ icu4c/source/tools/tzcode/icuregions -text icu4j/build.properties -text icu4j/demos/.settings/org.eclipse.core.resources.prefs -text icu4j/demos/manifest.stub -text +icu4j/eclipse-build/build-local.properties.template -text icu4j/eclipse-build/features.template/com.ibm.icu.base/.project -text icu4j/eclipse-build/features.template/com.ibm.icu.base/build.properties -text icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/.classpath -text diff --git a/icu4j/eclipse-build/build-local.properties.template b/icu4j/eclipse-build/build-local.properties.template new file mode 100644 index 0000000000..dd6acb6530 --- /dev/null +++ b/icu4j/eclipse-build/build-local.properties.template @@ -0,0 +1,33 @@ +#******************************************************************************* +#* Copyright (C) 2014, International Business Machines Corporation and * +#* others. All Rights Reserved. * +#******************************************************************************* + +# +# Eclipse installation location +# Specify the folder that contains eclipse.exe, for example: eclipse.home=C:/eclipse +# +# Note: +# By default, this value is set by an environment variable 'ECLIPSE_HOME'. +# You could uncomment below and specify the path in this file alternatively (recommended). +# +#eclipse.home= + +# +# Java 5 runtime jar location +# Specify jar file path(es) including J2SE runtime classes +# +# Note: +# +# [Oracle JDK] All of J2SE runtime classes are in /lib/rt.jar +# +# [IBM JDK] J2SE runtime classes are in multiple jar files. To build ICU4J +# plug-in, you need followings: +# - /lib/vm.jar +# - /lib/core.jar +# - /lib/graphics.jar +# - /lib/xml.jar +# +# For example: java.rt=C:/ibmjava5/jre/lib/vm.jar;C:/ibmjava5/jre/lib/core.jar;C:/ibmjava5/jre/lib/graphics.jar;C:/ibmjava5/jre/lib/xml.jar +# +java.rt= diff --git a/icu4j/eclipse-build/build.xml b/icu4j/eclipse-build/build.xml index b83f0a685e..a9ef2cb7c4 100644 --- a/icu4j/eclipse-build/build.xml +++ b/icu4j/eclipse-build/build.xml @@ -1,13 +1,14 @@ + @@ -27,7 +28,7 @@ @@ -50,6 +51,36 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -58,7 +89,7 @@ @@ -69,13 +100,6 @@ - - - - @@ -132,6 +156,7 @@ + @@ -268,7 +293,6 @@ - diff --git a/icu4j/eclipse-build/pdebuild/build.properties b/icu4j/eclipse-build/pdebuild/build.properties index e66e851613..a1b10843ce 100644 --- a/icu4j/eclipse-build/pdebuild/build.properties +++ b/icu4j/eclipse-build/pdebuild/build.properties @@ -1,5 +1,5 @@ ############################################################################### -# Copyright (c) 2003-2013 IBM Corporation and others. +# Copyright (c) 2003-2014 IBM Corporation and others. # All rights reserved. This program and the accompanying materials # are made available under the terms of the Eclipse Public License v1.0 # which accompanies this distribution, and is available at @@ -188,6 +188,7 @@ skipFetch=true #J2SE-1.3= #J2SE-1.4= #J2SE-1.5= +J2SE-1.5=@JAVA_RT@ #JavaSE-1.6= #PersonalJava-1.1= #PersonalJava-1.2=