Amigos ha tempos utilizo relatórios e ate ai sem problemas
agora na nova versão do netBeans comecou dar erro nesta linha
[size=18][/size]C:\X\teste\build.xml:3: Unexpected element “{}property” {antlib:org.apache.tools.ant}property[size=12][/size]
o codigo xml
<!-- Customize the following property to point to the folder
in which you unpacked your Jasper Reports release -->
[b] <property name="jrc.home" value="C:/Arquivos de programas/JasperSoft"/>[/b]
<!-- Define the classpath used for report compilation -->
<path id="jrc.classpath">
<fileset dir="${jrc.home}/dist"
includes="*.jar"/>
<fileset dir="${jrc.home}/lib"
includes="*.jar"/>
</path>
<!-- Define the custom Ant task that compiles report definitions -->
<taskdef name="jrc"
classname="net.sf.jasperreports.ant.JRAntCompileTask">
<classpath refid="jrc.classpath"/>
</taskdef>
<!-- Define the target that will compile reports, after Java compiles
have been completed -->
<target name="-post-compile"
description="Compile all Jasper Reports Definitions">
<!-- Create the output directory first -->
<mkdir dir="${build.web.dir}/WEB-INF/reports"/>
<!-- Compile report definition -->
<jrc srcdir="src/reports"
destdir="${build.web.dir}/WEB-INF/reports">
<classpath
refid="jrc.classpath"/>
<include
name="*.jrxml"/>
</jrc>
<!-- Omit the report definition sources from the webapp -->
<delete>
<fileset dir="${build.web.dir}/WEB-INF/classes"
includes="*.jrxml"/>
</delete>
</target>
O tutorial na qual eu utilizo é este
http://www.netbeans.org/kb/55/vwp-reports.html
Quem puder ajudar agradeço.