annotate jasper-ant.xml @ 324:a49456faf505

fix spelling
author Marc Davis <davis@ssdt-ohio.org>
date Thu, 09 Feb 2023 14:02:12 -0500
parents 23c4f06b3880
children
rev   line source
57
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
1 <?xml version="1.0" encoding="UTF-8"?>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
2 <project name="jasper-ant" basedir="." xmlns:ivy="antlib:fr.jayasoft.ivy.ant">
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
3
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
4 <target name="-jasper-init" depends="init">
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
5 <property name="reports.src.dir" value="${basedir}/reports" />
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
6 <property name="reports.dest.dir" value="${build.web.dir}/WEB-INF/reports" />
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
7
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
8 <ivy:settings id="jasper.ivy.id"/>
70
23c4f06b3880 fix jasper config
smith@nwoca.org
parents: 57
diff changeset
9 <ivy:resolve id="jasper.ivy.id" conf="compile" log="quiet"/>
57
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
10 <ivy:cachepath
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
11 resolveId="jasper.ivy.id"
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
12 pathid="jasper.classpath"
70
23c4f06b3880 fix jasper config
smith@nwoca.org
parents: 57
diff changeset
13 conf="compile"
57
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
14 type="jar"
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
15 log="quiet"/>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
16
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
17 <taskdef name="jrc" classname="net.sf.jasperreports.ant.JRAntCompileTask" classpathref="jasper.classpath"/>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
18 <property name="jasper.initialized" value="true"/>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
19
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
20 </target>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
21
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
22 <target name="jasper-compile-reports" depends="-jasper-init"
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
23 description="Compiles Jasper report designs.">
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
24 <mkdir dir="${reports.dest.dir}"/>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
25 <jrc
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
26 destdir="${reports.dest.dir}"
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
27 tempdir="${reports.dest.dir}"
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
28 keepjava="false"
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
29 xmlvalidation="true">
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
30 <src>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
31 <fileset dir="${reports.src.dir}">
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
32 <include name="**/*.jrxml"/>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
33 </fileset>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
34 </src>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
35 <classpath refid="jasper.classpath"/>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
36 </jrc>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
37 </target>
f7f21e9d2296 CM-127: add jasper-ant script for compiling Jasper report definitions
smith@nwoca.org
parents:
diff changeset
38 </project>