public boolean generateJasperReport() throws ExcepcionAplicacion {
   check();
   File dir = Reporter.getUserDefinedReportsDir();
   if (dir == null) {
     throw new ExcepcionAplicacion(
         Bitacora.getTextoMensaje(CBM.RECURSO_NO_DISPONIBLE, EAC.REPORT_SOURCE_DIR));
   }
   String sep = System.getProperties().getProperty("file.separator");
   String informe = getReportSourceFileName();
   String tempname = "informe" + "-" + _tipo.name().toLowerCase() + "." + "jrxml" + "." + "vm";
   String filename = dir.getPath() + sep + informe + "." + "jrxml";
   Report report = new Report(this, _tipo);
   VelocityContext context = VelocityAid.newVelocityContext();
   context.put("report", report);
   context.put("eacode", EAB.ENTERPRISE_APPLICATION_CODE);
   return write(context, tempname, filename);
 }