You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Frank Glaser (JIRA)" <de...@velocity.apache.org> on 2010/10/21 15:56:18 UTC
[jira] Created: (VELOCITY-782) UNC Path support for Velocity
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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Commented: (VELOCITY-782) UNC Path support for Velocity
Posted by "Misagh Moayyed (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12926634#action_12926634 ]
Misagh Moayyed commented on VELOCITY-782:
-----------------------------------------
I have implemented a UNFileResourceLoader, very similar to the FileResourceLoader to handle UNC paths, along with a test case. Will attach the patch asap. :)
> 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Issue Comment Edited: (VELOCITY-782) UNC Path support for
Velocity
Posted by "Misagh Moayyed (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-782?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927099#action_12927099 ]
Misagh Moayyed edited comment on VELOCITY-782 at 11/1/10 3:19 PM:
------------------------------------------------------------------
Patch adds a new resource loader: UNCFileResourceLoader
Adds two test cases for absolute and relative path tests.
Keyword: PatchAvailable
was (Author: mmoayyed):
Patch adds a new resource loader: UNCFileResourceLoader
Adds two test cases for absolute and relative path tests.
> 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
> Attachments: patch1-0
>
>
> 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org
[jira] Updated: (VELOCITY-782) UNC Path support for Velocity
Posted by "Misagh Moayyed (JIRA)" <de...@velocity.apache.org>.
[ https://issues.apache.org/jira/browse/VELOCITY-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Misagh Moayyed updated VELOCITY-782:
------------------------------------
Attachment: patch1-0
Patch adds a new resource loader: UNCFileResourceLoader
Adds two test cases for absolute and relative path tests.
> 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
> Attachments: patch1-0
>
>
> 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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org