|
View:
New views
2 Messages
—
Rating Filter:
Alert me
|
|
|
[jira] Created: (VELOCITY-737) StringResourceLoader JavaDoc bugStringResourceLoader JavaDoc bug
-------------------------------- Key: VELOCITY-737 URL: https://issues.apache.org/jira/browse/VELOCITY-737 Project: Velocity Issue Type: Bug Components: Documentation Affects Versions: 1.7 Environment: Windows XP, Eclipse 3.3, Java 5 Reporter: Marcus Warm Priority: Minor see Velocity JavaDoc: http://velocity.apache.org/engine/devel/apidocs/org/apache/velocity/runtime/resource/loader/StringResourceLoader.html The line string.resource.loader.repository.class = org.apache.velocity.runtime.resource.loader.StringResourceRepositoryImpl is in my opinion wrong. It must be something like this: p.setProperty("string." + Velocity.RESOURCE_LOADER + ".repository.class", "org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl"); util instead of loader !! My problem is that I want to use Velocity with two files in a JAR and one file that can be anywhere in the file system. The latter is really hard to solve. So I read the file and use the StringResourceLoader. -- 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@... For additional commands, e-mail: dev-help@... |
|
|
[jira] Resolved: (VELOCITY-737) StringResourceLoader JavaDoc bug[ https://issues.apache.org/jira/browse/VELOCITY-737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nathan Bubna resolved VELOCITY-737. ----------------------------------- Resolution: Fixed Fix Version/s: 1.7 > StringResourceLoader JavaDoc bug > -------------------------------- > > Key: VELOCITY-737 > URL: https://issues.apache.org/jira/browse/VELOCITY-737 > Project: Velocity > Issue Type: Bug > Components: Documentation > Affects Versions: 1.7 > Environment: Windows XP, Eclipse 3.3, Java 5 > Reporter: Marcus Warm > Priority: Minor > Fix For: 1.7 > > > see Velocity JavaDoc: > http://velocity.apache.org/engine/devel/apidocs/org/apache/velocity/runtime/resource/loader/StringResourceLoader.html > The line > string.resource.loader.repository.class = org.apache.velocity.runtime.resource.loader.StringResourceRepositoryImpl > is in my opinion wrong. > It must be something like this: > p.setProperty("string." + Velocity.RESOURCE_LOADER + ".repository.class", "org.apache.velocity.runtime.resource.util.StringResourceRepositoryImpl"); > util instead of loader !! > My problem is that I want to use Velocity with two files in a JAR and one file that can be anywhere in the file system. The latter is really hard to solve. So I read the file and use the StringResourceLoader. -- 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@... For additional commands, e-mail: dev-help@... |
| Free embeddable forum powered by Nabble | Forum Help |