如何使用Gradle部署到Glassfish?

时间:2017-08-19 04:56:39

标签: gradle deployment glassfish ejb ear

Gradle如何部署到Glassfish?

Ant example

<target name="deploy"
    description="deploys application to glassfish">
    <exec failonerror="true" executable="cmd">
     <arg value="/c" />
     <arg value="asadmin --user ${gfUser} --passwordfile ${gfPassFile} --host ${host} deploy build/${war}" />
    </exec>
</target>

是的,我可以使用asadmin但是从Gradle这样做会更加Groovy。

0 个答案:

没有答案