harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Qiu (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-5337) [buildtest] tests directory cannot been checked out in ant 1.7.0
Date Mon, 24 Dec 2007 05:47:43 GMT
[buildtest] tests directory cannot been checked out in ant 1.7.0
----------------------------------------------------------------

                 Key: HARMONY-5337
                 URL: https://issues.apache.org/jira/browse/HARMONY-5337
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
         Environment: linux, windows 32
            Reporter: Sean Qiu


The root of the problem is that the behavior of task <xmlproperty> is changed in  ANT
1.7.0.

Loading parameters.xml [1] property file with ant, 
the value of "parameter.required.noupdate" is different between version 1.6.5 and 1.7.0 of
ANT. 
In the case of 1.6.5, value of the property is unset but "" in 1.7.0.

So the expression in framework.xml [2] will always return false,
It makes that the "do-svn-update-bt" unreachable 
and the script cannot find the tests directory before checking it out.

1. parameters.xml
<parameters>
    <required/>
        <noupdate description="Turns off local BTI repository updates on 'install' and
'setup' stages."/>
    </repository>
</parameters>

2. framework.xml
            <if>
                 <and>
                    <not><isset property="framework.parameters.repository.noupdate"/></not>
                     <not><contains string="${framework.parameters.repository.awaited}"
                                    substring="|${tmp.relative.path}|"/></not>
                 </and>
            <then>
                <do-svn-update-bt path="${tmp.relative.path}"/>
            </then>
            </if>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message