-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.xml
30 lines (25 loc) · 857 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
30
<project name="Pentaho Additional Formulas" basedir="." default="main">
<property file="build.properties" />
<path id="classpath">
<fileset dir="${lib.dir}" includes="**/*.jar" />
</path>
<target name="clean">
<delete dir="build" />
</target>
<target name="compile">
<mkdir dir="${classes.dir}"/>
<javac srcdir="${src.dir}" destdir="${classes.dir}" classpathref="classpath"/>
</target>
<target name="jar">
<mkdir dir="${jar.dir}"/>
<jar destfile="${jar.dir}/pentaho-additional-formulas.jar" basedir="${classes.dir}">
<manifest>
<attribute name="Main-Class" value="org.pentaho.reporting.libraries.formula.function.datetime.QuarterFunction"/>
</manifest>
<fileset dir="src" >
<include name="**/*.properties" />
</fileset>
</jar>
</target>
<target name="main" depends="clean,compile,jar" />
</project>