Skip to content

Commit

Permalink
LPS-51875 Proper classpath for the Sample SQL Builder
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Angel Pastor Olivar authored and brianchandotcom committed Dec 25, 2014
1 parent 5bc47e7 commit 5345dab
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion benchmarks/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,17 @@
<project name="benchmarks" basedir="." default="run">
<import file="../build-common.xml" />

<path id="sample.sql.builder.classpath">
<fileset dir="${project.dir}/tools/sdk/dist" includes="com.liferay.portal.tools*.jar" />
<path refid="project.classpath" />
</path>

<target name="build-sample-sql">
<property name="sample.sql.properties.file" value="${basedir}/benchmarks.properties" />

<java
classname="com.liferay.portal.tools.samplesqlbuilder.SampleSQLBuilder"
classpathref="project.classpath"
classpathref="sample.sql.builder.classpath"
>
<sysproperty key="external-properties" value="com/liferay/portal/tools/dependencies/portal-tools.properties" />
<arg value="${sample.sql.properties.file}" />
Expand Down

0 comments on commit 5345dab

Please sign in to comment.