-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathbuild.xml
53 lines (44 loc) · 1.85 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<project name="openi" basedir="." default="default">
<!-- Import the subfloor-pkg.xml file which contains all the default ant targets -->
<import file="build-res/subfloor-pkg.xml" />
<property name="openi-sample.solutions.dir" value="${basedir}/package-res/openi-sample" description="" />
<target name="install">
<unzip src="${dist.dir}/${package.basename}.zip" dest="${pentaho.solutions.dir}/system" overwrite="true">
</unzip>
<copy todir="${pentaho.solutions.dir}/openi-sample" overwrite="true">
<fileset dir="${openi-sample.solutions.dir}"/>
</copy>
</target>
<!--
override the compile classpath to include the pentaho libraries from your platform installation
-->
<path id="classpath">
<fileset dir="${devlib.dir}">
<include name="*.jar" />
</fileset>
<fileset dir="${lib.dir}">
<include name="*.jar" />
</fileset>
<fileset dir="${pentaho.lib.dir}">
<include name="pentaho-bi-platform-*.jar" />
</fileset>
<dirset dir="${pentaho.classes.dir}" />
</path>
<!-- Copy all jars over to the plugin zip,
except for pentaho platform jars which the platform provides -->
<target name="assemble.copy-libs">
<copy todir="${approot.stage.dir}/lib">
<fileset dir="${lib.dir}" excludes="pentaho-bi-platform-*.jar" />
<fileset file="${dist.dir}/${ivy.artifact.id}-${project.revision}.jar" />
</copy>
</target>
<!--
The following overrides are in place to suppress IVY dependency management. If you
want to turn IVY back on, comment out these overrides.
-->
<!-- Set default target to skip the ivy "resolve" step -->
<target name="default" depends="clean-all,dist,package" />
<!-- Set the clean-all target to skip the "clean-jars" step. We do not want our build
process to delete the "lib" dir -->
<target name="clean-all" depends="clean"/>
</project>