blob: d02da1e8f38199ab70724a7220f12df6f24ceb35 [file] [log] [blame]
<!--===========================================================================
This is the build file for the PDI SDK Step Plugin
This build file will use the subfloor.xml file as the default build
process and should only override the tasks that need to differ from
the common build file.
============================================================================-->
<project name="kettle-sdk-step-plugin" basedir="." default="default">
<description>
This build file works with the subfloor.xml file.
</description>
<!-- Import the subfloor-pkg.xml file which contains all the default tasks -->
<import file="build-res/subfloor-pkg.xml" />
<!--
AS STATED ABOVE, THE ONLY TASKS THAT SHOULD EXIST IN THIS BUILD FILE ARE
THE TASKS THAT NEED TO DIFFER FROM THE DEFAULT IMPLEMENTATION OF THE TASKS
FOUND IN common_build.xml.
-->
<!--
override to:
- include the source directly (this is SDK demo code)
- include kettle dependency jars
- include the build folder (used by the SDK user to build the plugin)
- include eclipse project files for convenience
-->
<target name="assemble.copy-libs">
<copy todir="${approot.stage.dir}/lib">
<fileset dir="${lib.dir}"/>
</copy>
<copy todir="${approot.stage.dir}/src">
<fileset dir="src" excludes="**/.DS_Store" />
</copy>
<copy todir="${approot.stage.dir}/build">
<fileset dir="build" />
</copy>
<copy file="eclipse/classpath.xml" tofile="${approot.stage.dir}/.classpath">
<filterset>
<filter token="PROJECT-REVISION" value="${project.revision}"/>
<filter token="METASTORE-REVISION" value="${dependency.pentaho-metadata.revision}"/>
</filterset>
</copy>
<copy file="eclipse/project.xml" tofile="${approot.stage.dir}/.project" />
</target>
</project>