<?xml version="1.0"?>

<project name="portal-test-themes" basedir="." default="test" xmlns:antelope="antlib:ise.antelope.tasks">
	<import file="build-test.xml" />

	<target name="run-themes-jboss-mysql">
		<antcall target="prepare-mysql" />

		<exec dir="${lp.plugins.dir}" executable="cmd.exe">
			<arg line="/c svn --username ${svn.username} --password ${svn.password} update" />
		</exec>

		<ant antfile="build-test-jboss.xml" target="run-selenium-jboss">
			<property name="test.name" value="ThemesTestSuite" />
			<property name="theme.plugins.includes" value="08-gulona-theme,liferay-jedi-theme" />
		</ant>
	</target>

	<target name="run-themes-tomcat-mysql">
		<antcall target="prepare-mysql" />

		<exec dir="${lp.plugins.dir}" executable="cmd.exe">
			<arg line="/c svn --username ${svn.username} --password ${svn.password} update" />
		</exec>

		<ant antfile="build-test-tomcat.xml" target="run-selenium-tomcat">
			<property name="test.name" value="ThemesTestSuite" />
			<property name="theme.plugins.includes" value="08-gulona-theme,liferay-jedi-theme" />
		</ant>
	</target>
</project>