You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Jarkko Viinamäki (JIRA)" <de...@velocity.apache.org> on 2010/01/11 09:07:54 UTC

[jira] Updated: (VELOCITY-617) Jakarta Commons ORO at runtime

     [ https://issues.apache.org/jira/browse/VELOCITY-617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jarkko Viinamäki updated VELOCITY-617:
--------------------------------------

    Attachment: velocity-617.patch

This patch marks ORO dependency as optional (which is I guess the only possible way to mark this kind of dependency). AFAIK there is no way to change the text on the Maven generated dependencies.html page. 

ORO is only used by this runtime class:
org.apache.velocity.app.event.implement.EscapeReference

So if that handler is not used, ORO is not needed during runtime. This patch also updates Velocity Developer Guide.

During compile time ORO is obviously needed and there are two other classes that use ORO:
org.apache.velocity.test.BaseTestCase
org.apache.velocity.convert.WebMacro

> Jakarta Commons ORO at runtime
> ------------------------------
>
>                 Key: VELOCITY-617
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-617
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Documentation
>    Affects Versions: 1.5, 1.6
>            Reporter: Adrian Tarau
>            Priority: Minor
>             Fix For: 1.7
>
>         Attachments: velocity-617.patch
>
>
> There is a misleading information on the dependency page(http://velocity.apache.org/engine/releases/velocity-1.5/dependencies.html , These dependencies are required to compile and run the application) about oro.
> "The most common case is the integration of the Velocity runtime into your application. In this case, you must add commons-collections, commons-lang and oro to your application (and optional logging if required). If you already have one or more of these libraries in your application, you should check if you need to update their versions. "
> also
> "These dependencies are required to compile and run the application"
> Except if Velocity is configured to escape references, oro is not need it at runtime, only at compile time(most of the users don't care about compile time).

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