mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-10993 enhance environment checking in eclipse plug-in script
X-SVN-Rev: 36503
This commit is contained in:
parent
4426b0e313
commit
6a0ce1cf73
2 changed files with 16 additions and 1 deletions
|
@ -30,4 +30,10 @@
|
|||
#
|
||||
# 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
|
||||
#
|
||||
# NOTE: slashes must be forward slashes. Backslashes will NOT work.
|
||||
#
|
||||
# IF java.rt variable has embedded space(s)...
|
||||
# ...each element containing an embedded space java.rt must indivudually quoated and the elements separated by a semi-colon.
|
||||
# ex. "C:/Program Files/IBM/Java50JDK/jre/lib/vm.jar";"C:/Program Files/IBM/Java50JDK/jre/lib/core.jar"
|
||||
# ^^^
|
||||
java.rt=
|
||||
|
|
|
@ -92,14 +92,23 @@
|
|||
depends="checkProps,initEclipseLauncher,initEclipseOSGiJar,initEclipsePDE"
|
||||
description="Initialize eclipse PDE build environment">
|
||||
<echo message="[PDE build configuration properties]"/>
|
||||
<echo message=" Ant version: ${ant.version}"/>
|
||||
<echo message=" Eclipse home: ${eclipse.home}"/>
|
||||
<echo message=" Launcher jar: ${eclipse.launcher}"/>
|
||||
<echo message=" OSGi bundle jar: ${eclipse.osgi.jar}"/>
|
||||
<echo message=" Base OS: ${eclipse.baseos}"/>
|
||||
<echo message=" Base WS: ${eclipse.basews}"/>
|
||||
<echo message=" Base ARCH: ${eclipse.basearch}"/>
|
||||
</target>
|
||||
<echo message=" java.rt: ${java.rt}"/>
|
||||
|
||||
<!-- try and detect use of backslashes -->
|
||||
<condition property="java-rt-has-noSlashes">
|
||||
<matches pattern="/" string="${java.rt}"/>
|
||||
</condition>
|
||||
<fail message="java.rt variable has no slashes!" unless="java-rt-has-noSlashes"/>
|
||||
|
||||
</target>
|
||||
|
||||
<target name="initEclipseLauncher"
|
||||
if="eclipse.home"
|
||||
description="Locate org.eclipse.equinox.launcher jar file for eclipse 3.3 and beyond">
|
||||
|
|
Loading…
Add table
Reference in a new issue