KEYCLOAK-10268 adapt configure.xml for windows

This commit is contained in:
vramik 2019-05-17 11:22:26 +02:00 committed by Hynek Mlnařík
parent d64f716a20
commit 1928fa3fb9

View file

@ -49,7 +49,11 @@
<fileset dir="${cli.tmp.dir}" includes="*.cli"/> <fileset dir="${cli.tmp.dir}" includes="*.cli"/>
</concat> </concat>
<bin-chmod/> <bin-chmod/>
<exec dir="${auth.server.home}/bin" executable="./${jboss.cli.executable}" failonerror="true"> <exec osfamily="unix" dir="${auth.server.home}/bin" executable="./${jboss.cli.executable}" failonerror="true">
<arg value="--file=${cli.tmp.dir}/result.cli"/>
</exec>
<exec osfamily="windows" executable="powershell" failonerror="true">
<arg value="${auth.server.home}/bin/${jboss.cli.executable}"/>
<arg value="--file=${cli.tmp.dir}/result.cli"/> <arg value="--file=${cli.tmp.dir}/result.cli"/>
</exec> </exec>
<cleanup/> <cleanup/>