Skip to content

Commit

Permalink
LPS-22440
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhoun authored and brianchandotcom committed Oct 24, 2011
1 parent 3906ddf commit 4693386
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions build-test-jonas.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0"?>

<project name="portal-test-jonas" basedir="." default="test" xmlns:antelope="antlib:ise.antelope.tasks">
<import file="build-test.xml" />

<target name="run-jonas">
<antcall target="run-simple-server">
<param name="simple.server.dir" value="${app.server.jonas.dir}" />
<param name="simple.server.bin.dir" value="${app.server.jonas.bin.dir}" />
<param name="simple.server.deploy.dir" value="${app.server.jonas.deploy.dir}" />
<param name="simple.server.lib.global.dir" value="${app.server.jonas.lib.global.dir}" />
<param name="simple.server.portal.dir" value="${app.server.jonas.portal.dir}" />
<param name="simple.server.start.executable" value="jonas${file.suffix.bat}" />
<param name="simple.server.start.executable.arg.line" value="start" />
<param name="simple.server.stop.executable" value="jonas${file.suffix.bat}" />
<param name="simple.server.stop.executable.arg.line" value="stop" />
</antcall>
</target>

<target name="run-selenium-jonas">
<if>
<not>
<isset property="build.app.server" />
</not>
<then>
<ant antfile="build-dist.xml" target="build-dist-jonas" />
</then>
</if>

<antcall target="revert-test-properties" />

<antcall target="prepare-virtual-host-name-properties" />

<antcall target="start-selenium" />

<antcall target="run-jonas">
<param name="test.class" value="${test.name}" />
</antcall>

<antcall target="stop-selenium" />
</target>
</project>

0 comments on commit 4693386

Please sign in to comment.