Ensure to run child Ant process on the same JVM as the parent one rcp-installers-179089
authorDmitry Lipin <dlipin@netbeans.org>
Wed, 24 Feb 2010 18:50:41 +0300
branchrcp-installers-179089
changeset 1613708fc5d4423ec6
parent 161369 75072b15600d
child 161371 c562efa0acd4
Ensure to run child Ant process on the same JVM as the parent one
nbi/infra/build/.common/common.xml
nbi/infra/build/.common/product.xml
     1.1 --- a/nbi/infra/build/.common/common.xml	Wed Feb 24 17:00:58 2010 +0300
     1.2 +++ b/nbi/infra/build/.common/common.xml	Wed Feb 24 18:50:41 2010 +0300
     1.3 @@ -348,6 +348,7 @@
     1.4                    dir="${cvs.dir}/${nbproject.path}" 
     1.5                    failonerror="false"
     1.6                    failifexecutionfails="false">
     1.7 +                <env key="JAVA_HOME" value="${java.home}"/>
     1.8                  <arg value="${nb.target.clean}"/>
     1.9                  
    1.10                  <arg value="${nb.jdk.home}"/>
    1.11 @@ -709,6 +710,7 @@
    1.12                failonerror="true"
    1.13                failifexecutionfails="true"
    1.14                errorproperty="error.property">
    1.15 +            <env key="JAVA_HOME" value="${java.home}"/>
    1.16              <arg value="clean"/>
    1.17              <arg value="compile"/>
    1.18              
     2.1 --- a/nbi/infra/build/.common/product.xml	Wed Feb 24 17:00:58 2010 +0300
     2.2 +++ b/nbi/infra/build/.common/product.xml	Wed Feb 24 18:50:41 2010 +0300
     2.3 @@ -193,6 +193,7 @@
     2.4          <exec executable="${ant.executable}" 
     2.5                dir="${engine.dir}" 
     2.6                failonerror="false">
     2.7 +            <env key="JAVA_HOME" value="${java.home}"/>
     2.8              <arg value="clean"/>
     2.9              
    2.10              <arg value="-Dwork.dir=${engine.work.dir}"/>