Compiling a build.xml file using Ant-Collection of common programming errors
You’re going have to help us out a bit here…
Are you building JasperReports-4.6.0? Or, are you using JasperReports as part of your build.xml
? Is this a test build.xml
demoing JasperReports?
The error says Check that any custom tasks/types have been declared, so what is the Ant task in line #37? Is there a in the build.xml
? Does it have a classpath defined? If you have a taskdef, please let us see what it is, and what the custom task is.
I’m downloading iReport to see if I can figure out what you’re doing, but it’s taking 15 minutes. I bet you’re supposed to put some jar into $ANT_HOME/lib
. Maybe that JasperReports or iReport jarfile.
As soon as I can download iReport and see what you’re talking about, I’ll update my answer.
Meanwhile, include the relevant code around line #35 in your build.xml
and the taskdef
task in your build.xml
.
Finished downloading iReport and there is no build.xml
file in it. You’re going to have to post your code, so we can look at it.
Again, my assumption is that there’s some jar file that they assumed you’d stick in /opt/ant/lib
and didn’t.