Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 268862297c
Fetching contributors…

Cannot retrieve contributors at this time

85 lines (62 sloc) 2.332 kb
<?xml version="1.0"?>
<project name="portal-test-tck" basedir="." default="test" xmlns:antelope="antlib:ise.antelope.tasks">
<import file="build-test.xml" />
<target name="prepare-tck">
<antcall target="prepare-portal-ext-properties" />
<echo file="portal-impl/src/portal-ext.properties" append="true">
tck.url=true</echo>
<exec executable="cmd.exe">
<arg line="/c svn revert portal-web/docroot/WEB-INF/web.xml" />
</exec>
<antcall target="clean" />
<antcall target="start" />
<ant antfile="build-dist.xml" target="build-dist-tomcat" />
<delete dir="tools/tck" />
<unzip src="${portlet.tck.zip}" dest="tools/tck" />
<replace file="tools/tck/bin/ts.jte">
<replacefilter token="http://localhost:8080/pluto/tck" value="http://localhost:8080/c/portal/tck" />
</replace>
<echo file="tools/tck/bin/build.properties" append="true">
work.dir=${basedir.unix}/tools/tck/work</echo>
<delete dir="${user.home}/liferay" />
<copy todir="${user.home}/liferay/deploy" flatten="true">
<fileset
dir="tools/tck"
includes="**/*.war"
/>
</copy>
<antcall target="rebuild-database" inheritAll="false">
<param name="skip.delete-liferay-home" value="true" />
</antcall>
</target>
<target name="run-tck-286-tomcat">
<antcall target="prepare-tck" />
<parallel>
<exec dir="${app.server.tomcat.bin.dir}" executable="catalina${file.suffix.bat}" resolveexecutable="true">
<arg line="run" />
</exec>
<sequential>
<waitfor>
<http url="http://localhost:8080" />
</waitfor>
<sleep seconds="60" />
<exec dir="tools/tck/src/com" executable="${basedir}/tools/tck/bin/tsant.bat">
<arg line="runclient" />
<env key="TS_HOME" value="${basedir}\tools\tck" />
</exec>
<exec dir="${app.server.tomcat.bin.dir}" executable="shutdown${file.suffix.bat}" resolveexecutable="true" />
</sequential>
</parallel>
<mkdir dir="portal-impl/test-results" />
<java
classname="com.liferay.portal.tools.TCKtoJUnitConverter"
classpathref="project.classpath"
fork="true"
newenvironment="true"
>
<jvmarg value="-Dexternal-properties=com/liferay/portal/tools/dependencies/portal-tools.properties" />
<arg value="tools/tck/work/jtData/harness.trace" />
<arg value="portal-impl/test-results" />
</java>
</target>
</project>
Jump to Line
Something went wrong with that request. Please try again.