-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathBuild.xml
More file actions
35 lines (29 loc) · 1011 Bytes
/
Copy pathBuild.xml
File metadata and controls
35 lines (29 loc) · 1011 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<project name="Selenium DOH Runner" default="compile" basedir=".">
<property name="src.dir" value="src"/>
<property name="build.dir" value="bin"/>
<property name="dist.dir" value="dist"/>
<property name="main-class" value="SeleniumDohRunner"/>
<property name="selenium.libs" location="D:\Workspaces\Oct\eCommonClientCI\libs\Selenium\selenium-2.33.0"/>
<path id="classpath">
<fileset dir="${selenium.libs}" includes="**/*.jar"/>
<fileset dir="lib" includes="*.jar"/>
</path>
<target name="compile">
<mkdir dir="${build.dir}"/>
<javac srcdir="${src.dir}"
destdir="${build.dir}"
classpathref="classpath"
/>
</target>
<target name="dist" depends="compile" >
<mkdir dir="${dist.dir}"/>
<jar destfile="${dist.dir}\SeleniumDohRunner.jar" basedir="${build.dir}" />
<copy todir="${dist.dir}">
<fileset dir="lib"/>
</copy>
</target>
<target name="clean">
<delete dir="${build.dir}"/>
<delete dir="${dist.dir}"/>
</target>
</project>