Uploaded image for project: 'Velocity'
  1. Velocity
  2. VELOCITY-782

UNC Path support for Velocity

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • None
    • None
    • None
    • None
    • Jameica 1.10 + Hibiscus 1.12
      Windows 7 Ultimate x64
      WHS

    Description

      Add UNC Path support for the getTemplate function:

      Here an extract of the Hibiscus log file:
      ...
      [Mon Oct 18 18:23:16 CEST 2010][INFO][de.willuhn.jameica.gui.internal.parts.BackgroundTaskMonitor.check] creating progress monitor for GUI
      [Mon Oct 18 18:23:16 CEST 2010][INFO][de.willuhn.jameica.gui.internal.parts.BackgroundTaskMonitor$2.run] activating progress monitor
      [Mon Oct 18 18:23:16 CEST 2010][INFO][de.willuhn.boot.BootLoader.resolve] init service de.willuhn.jameica.services.VelocityService
      [Mon Oct 18 18:23:16 CEST 2010][INFO][de.willuhn.boot.BootLoader.resolve] used time to init de.willuhn.jameica.services.VelocityService: 285 millis
      [Mon Oct 18 18:23:16 CEST 2010][ERROR][de.willuhn.jameica.services.VelocityService$VelocityLogger.log] ResourceManager : unable to find resource 'de.willuhn.jameica.hbci.rmi.Umsatz.csv.vm' in any resource loader.
      [Mon Oct 18 18:23:16 CEST 2010][ERROR][de.willuhn.jameica.hbci.io.VelocityExporter.doExport] error while writing into export file
      org.apache.velocity.exception.ResourceNotFoundException: Unable to find resource 'de.willuhn.jameica.hbci.rmi.Umsatz.csv.vm'
      at org.apache.velocity.runtime.resource.ResourceManagerImpl.loadResource(ResourceManagerImpl.java:452)
      at org.apache.velocity.runtime.resource.ResourceManagerImpl.getResource(ResourceManagerImpl.java:335)
      at org.apache.velocity.runtime.RuntimeInstance.getTemplate(RuntimeInstance.java:1102)
      at org.apache.velocity.app.VelocityEngine.getTemplate(VelocityEngine.java:549)
      at de.willuhn.jameica.hbci.io.VelocityExporter.doExport(VelocityExporter.java:107)
      at de.willuhn.jameica.hbci.gui.dialogs.ExportDialog$3.run(ExportDialog.java:193)
      at de.willuhn.jameica.gui.GUI$6.run(GUI.java:912)
      [Mon Oct 18 18:23:16 CEST 2010][ERROR][de.willuhn.jameica.messaging.LogMessageConsumer.handleMessage] Fehler beim Schreiben in die Export-Datei
      ...

      Attachments

        1. patch1-0
          15 kB
          Misagh Moayyed

        Activity

          People

            Unassigned Unassigned
            betonme Frank Glaser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: