呼应了蚂蚁文件集筛选调试 [英] Echoing out ant fileset to screen for Debugging

查看:112
本文介绍了呼应了蚂蚁文件集筛选调试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这样的:

    <ivy:buildlist reference="build-path">
        <fileset dir="${root.dir}">
            <include name="*/build.xml" />
            <include name="controllers/*/build.xml" />
        </fileset>
    </ivy:buildlist>


    <subant buildpathref="build-path">
        <target name="jar.all" />
        <target name="publish-local" />
    </subant>

我想呼应了一切,这是在构建路径引用(用于调试一些事情)。

I want to echo out everything that is in the "build-path" reference (for debugging some things).

我曾尝试:

<echo>${build-path}</echo>

但它只是回声,准确的文字$ {建设路}

but it just echos that exact text "${build-path}"

推荐答案

您可以使用记录 (说实话,它在某处...)的toString 助手:

You can use the documented (honest, it's in there somewhere...) toString helper:

<echo message="My build-path is ${toString:build-path}" />

这篇关于呼应了蚂蚁文件集筛选调试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆