<?xml version="1.0" encoding="utf-8" ?>
<project name="rk3-create-components">

	<import file="${basedir}/compiled/resources/xml/components.xml"/>
	<import file="${rk.home}/shared/core/ant-scripts/shared.xml"/>

	<target name="create-components">

		<!-- core -->
		<antcall target="create-component">
			<param name="component" value="core"/>
			<param name="ext-x64" value=""/>
		</antcall>

		<!-- tomcat -->
		<antcall target="create-component">
			<param name="component" value="tomcat"/>
			<param name="ext-x64" value=""/>
		</antcall>

		<!-- imagemagick -->
		<antcall target="create-component">
			<param name="component" value="imagemagick"/>
			<param name="ext-x64" value=""/>
		</antcall>

		<!-- Flax doesn't want GhostScript -->
		<if><bool><not><equals arg1="${forward.install.flax}" arg2="true"/></not></bool>
			<!-- (windows and mac only) -->
			<if><bool><or><equals arg1="${rk.os}" arg2="windows"/><equals arg1="${rk.os}" arg2="mac"/></or></bool>
				<!-- ghostscript -->
				<antcall target="create-component">
					<param name="component" value="ghostscript"/>
					<param name="ext-x64" value=""/>
				</antcall>
			</if>
		</if>

	</target>


</project>
