harmony-commits mailing list archives

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

     [ https://issues.apache.org/jira/browse/HARMONY-5337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stepan Mishura resolved HARMONY-5337.
-------------------------------------

    Resolution: Fixed

Thanks Sean - the modified patch was applied to BTI branch 2.0 at r606692. (I've replaced
'equals' by 'istrue')
Please check that the patch was applied as you expected.

> [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
>            Assignee: Stepan Mishura
>         Attachments: Harmony-5337.diff
>
>
> 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