keycloak-scim/dist/build.xml

40 lines
1.7 KiB
XML
Raw Normal View History

2013-11-01 14:23:49 +00:00
<project name="keycloak-dist" basedir=".">
2013-11-13 17:49:11 +00:00
<target name="wildfly">
<unzip src="${org.wildfly:wildfly-dist:zip}" dest="${project.build.directory}"/>
2013-11-01 14:23:49 +00:00
<chmod perm="755">
2013-11-13 17:49:11 +00:00
<fileset dir="${project.build.directory}/wildfly-${wildfly.version}/bin">
2013-11-01 14:23:49 +00:00
<include name="**/*.sh"/>
</fileset>
</chmod>
<move todir="${build.target.dir}" overwrite="true">
2013-11-13 17:49:11 +00:00
<fileset dir="${project.build.directory}/wildfly-${wildfly.version}">
2013-11-01 14:23:49 +00:00
<include name="**/*"/>
</fileset>
</move>
2013-11-13 17:49:11 +00:00
<delete dir="${project.build.directory}/wildfly-${wildfly.version}"/>
2013-11-01 14:23:49 +00:00
</target>
2013-11-13 17:49:11 +00:00
<!--
2013-11-01 14:23:49 +00:00
<target name="resteasy-modules">
<get src="http://sourceforge.net/projects/resteasy/files/Resteasy%20JAX-RS/${resteasy.version}/resteasy-jaxrs-${resteasy.version}-all.zip"
dest="${project.build.directory}" skipexisting="true"/>
<unzip src="${project.build.directory}/resteasy-jaxrs-${resteasy.version}-all.zip"
dest="${project.build.directory}">
<patternset>
<include name="resteasy-jaxrs-${resteasy.version}/resteasy-jboss-modules-${resteasy.version}.zip"/>
</patternset>
<mapper type="flatten"/>
</unzip>
<unzip src="${project.build.directory}/resteasy-jboss-modules-${resteasy.version}.zip"
dest="${build.target.dir}/modules"/>
</target>
2013-11-13 17:49:11 +00:00
-->
2013-11-01 14:23:49 +00:00
<target name="keycloak-server">
<copy file="${org.keycloak:keycloak-server:war}"
tofile="${build.target.dir}/standalone/deployments/auth-server.war" overwrite="true"/>
</target>
2013-11-13 17:49:11 +00:00
<target name="all" depends="wildfly, keycloak-server"/>
2013-11-01 14:23:49 +00:00
</project>