ITeye博客

ant && bat 接收用户输入

q_wong · 2010-10-11 10:03 · Default · 编程语言 · Ant · Markdown

bat:

 

@echo off
set /p test=
echo %test%
pause

 ant:

<target name="default" depends="depends" description="description">
        <input addproperty="test" ></input>
    	<echo message="${test}" ></echo>
    </target>

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。