<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at
     
         http://www.apache.org/licenses/LICENSE-2.0
     
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License. -->

<project name="hdk_by_hdk" default="run" basedir=".">

    <target name="setup"/>
    
    <property environment="env"/>
    <property name="my.path" value="${tested.jdk}/bin${path.separator}${env.PATH}"/>

    <target name="run">
        <exec-ant dir="${trunk.dir}">
            <jvmarg line="-Xmx800M -Dtarget.dir=${target.dir}"/>
            <env key="JAVA_HOME" value="${tested.jdk}"/>
            <env key="PATH" value="${my.path}"/>
        </exec-ant>
    </target>

</project>


<?xml version="1.0" encoding="UTF-8"?>
<!-- 
    Licensed to the Apache Software Foundation (ASF) under one or more
    contributor license agreements.  See the NOTICE file distributed with
    this work for additional information regarding copyright ownership.
    The ASF licenses this file to You under the Apache License, Version 2.0
    (the "License"); you may not use this file except in compliance with
    the License.  You may obtain a copy of the License at
     
         http://www.apache.org/licenses/LICENSE-2.0
     
     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License. -->

<project name="hdk_by_hdk" default="run" basedir=".">

    <target name="setup"/>
    <property environment="env"/>
    
    <!-- workaround: properties are case sensitive -->
    <!-- even the env. vars on OS are not          -->
    <property name="env.PATH" value="${env.Path}" />
    
    <property name="my.path" value="${tested.jdk}/bin${path.separator}${env.PATH}"/>

    <target name="run">
        <exec-ant dir="${trunk.dir}">
            <jvmarg line="-Xmx800M -Dtarget.dir=${target.dir}"/>
            <env key="JAVA_HOME" value="${tested.jdk}"/>
            <env key="PATH" value="${my.path}"/>
        </exec-ant>
    </target>

</project>


Add workaround for 'env.PATH' env. variable for HDK by HDK testing scenario
Add workaround for 'env.PATH' env. variable for HDK by HDK testing scenario

svn path=/harmony/enhanced/buildtest/branches/2.0/; revision=545703
