You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by "Sean Qiu (JIRA)" <ji...@apache.org> on 2007/12/24 06:51:43 UTC
[jira] Updated: (HARMONY-5337) [buildtest] tests directory cannot
been checked out in ant 1.7.0
[ https://issues.apache.org/jira/browse/HARMONY-5337?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Qiu updated HARMONY-5337:
------------------------------
Attachment: Harmony-5337.diff
Could someone please try this patch?
> [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
> 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.