HADOOP-6131. A sysproperty should not be set unless the property is set on the ant command line in build.xml (hong tang via mahadev)

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@792302 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Mahadev Konar 2009-07-08 20:35:26 +00:00
parent 708f3fc781
commit da8cf6702a
2 changed files with 7 additions and 2 deletions

View File

@ -868,6 +868,9 @@ Trunk (unreleased changes)
HADOOP-6114. Fix javadoc documentation for FileStatus.getLen. HADOOP-6114. Fix javadoc documentation for FileStatus.getLen.
(Dmitry Rzhevskiy via dhruba) (Dmitry Rzhevskiy via dhruba)
HADOOP-6131. A sysproperty should not be set unless the property
is set on the ant command line in build.xml (hong tang via mahadev)
Release 0.20.1 - Unreleased Release 0.20.1 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -507,8 +507,10 @@
<sysproperty key="java.library.path" <sysproperty key="java.library.path"
value="${build.native}/lib:${lib.dir}/native/${build.platform}"/> value="${build.native}/lib:${lib.dir}/native/${build.platform}"/>
<sysproperty key="install.c++.examples" value="${install.c++.examples}"/> <sysproperty key="install.c++.examples" value="${install.c++.examples}"/>
<sysproperty key="io.compression.codec.lzo.class" <!-- set io.compression.codec.lzo.class in the child jvm only if it is set -->
value="${io.compression.codec.lzo.class}"/> <syspropertyset dynamic="no">
<propertyref name="io.compression.codec.lzo.class"/>
</syspropertyset>
<!-- set compile.c++ in the child jvm only if it is set --> <!-- set compile.c++ in the child jvm only if it is set -->
<syspropertyset dynamic="no"> <syspropertyset dynamic="no">
<propertyref name="compile.c++"/> <propertyref name="compile.c++"/>