forked from liferay/liferay-portal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
29 lines (24 loc) · 1007 Bytes
/
build.xml
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
<?xml version="1.0"?>
<project name="benchmarks" basedir="." default="run">
<import file="../build-common.xml" />
<target name="build-sample-sql">
<path id="sample.sql.builder.classpath">
<fileset dir="${sdk.dir}/dist" includes="com.liferay.portal.tools.sample.sql.builder*.jar" />
<fileset dir="${sdk.dir}/dist" includes="com.liferay.wiki.*.jar" />
<path refid="project.classpath" />
</path>
<property name="sample.sql.properties.file" value="${basedir}/benchmarks.properties" />
<java
classname="com.liferay.portal.tools.sample.sql.builder.SampleSQLBuilder"
classpathref="sample.sql.builder.classpath"
>
<sysproperty key="external-properties" value="com/liferay/portal/tools/dependencies/portal-tools.properties" />
<arg value="${sample.sql.properties.file}" />
</java>
</target>
<target name="clean">
<delete includeemptydirs="true">
<fileset dir="." includes="*.csv,*.sql,benchmarks-actual.properties,output/**,temp/**" />
</delete>
</target>
</project>