从ant运行Gradle命令
以下是my build.xml(已成功运行)中的一个片段 试试这个:从ant运行Gradle命令,gradle,grails,ant,Gradle,Grails,Ant,以下是my build.xml(已成功运行)中的一个片段 试试这个: <target name="test-functional" description="run functional tests"> <antcall target="init"/> <antcall target="compile"/> <echo>Running functional tests...</echo> <exec
<target name="test-functional" description="run functional tests">
<antcall target="init"/>
<antcall target="compile"/>
<echo>Running functional tests...</echo>
<exec executable="${gradlew}" failonerror="true">
<arg value="iT"/>
<arg value="--tests"/>
<arg value="com.mygrailsapp.geb.**"/>
<arg value="-Dgeb.env=firefox"/>
<arg value="-Dgrails.server.port.http=8090"/>
</exec>
</target>
正在运行功能测试。。。
试试这个:
<target name="test-functional" description="run functional tests">
<antcall target="init"/>
<antcall target="compile"/>
<echo>Running functional tests...</echo>
<exec executable="${gradlew}" failonerror="true">
<arg value="iT"/>
<arg value="--tests"/>
<arg value="com.mygrailsapp.geb.**"/>
<arg value="-Dgeb.env=firefox"/>
<arg value="-Dgrails.server.port.http=8090"/>
</exec>
</target>
正在运行功能测试。。。
<target name="test-functional" description="run functional tests">
<antcall target="init"/>
<antcall target="compile"/>
<echo>Running functional tests...</echo>
<exec executable="${gradlew}" failonerror="true">
<arg value="iT"/>
<arg value="--tests"/>
<arg value="com.mygrailsapp.geb.**"/>
<arg value="-Dgeb.env=firefox"/>
<arg value="-Dgrails.server.port.http=8090"/>
</exec>
</target>