UNC Path support for Velocity
-----------------------------

                 Key: VELOCITY-782
                 URL: https://issues.apache.org/jira/browse/VELOCITY-782
             Project: Velocity
          Issue Type: Bug
         Environment: Jameica 1.10 + Hibiscus 1.12
Windows 7 Ultimate x64
WHS
            Reporter: Frank Glaser
            Priority: Minor


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
...

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to