Product Idea

Expand all | Collapse all

Possibility to disable Velocity macro caching?

Jump to Best Answer
  • 1.  Possibility to disable Velocity macro caching?

    Posted 06-02-2015 11:55
    Is there any way to disable the macro caching of the velocity templates (which is highly annoying during development)?

    The velocity engine has a configuration file "velocity.properties" where it is potentially configurable if the caching should be enabled or not. But it seems that it does not exist within the jama installation/apache directory.
    Is there any other way to disable this or are we looking for the wrong file (named differently?) at the wrong place?


  • 2.  Re: Possibility to disable Velocity macro caching?

    Posted 06-04-2015 00:54
    Hi Nils, thank you for posting your question in our community. I am afraid currently we can not disable macro caching in velocity in Jama. While it is technically possible, it is considered as a feature request as we need to make changes into the application to support that. As a workaround, you can change the name of the macro every time you make any changes to the macro to avoid restarting the server.


  • 3.  RE: Re: Possibility to disable Velocity macro caching?

    Posted 06-09-2017 15:51
    Yes, this is truly annoying, more than annoying.  I was turning the air blue with curses until I came across this post.  I can only strongly urge that this feature request get implemented as soon as possible. Even the suggested workaround does not seem to work very well.

    ------------------------------
    Brian Nolan
    Solute, Inc.
    San Diego CA
    ------------------------------



  • 4.  RE: Re: Possibility to disable Velocity macro caching?

    Posted 06-14-2017 11:22
    I correct myself--the workaround works.  Rename the macros, not the file within which they are being used!

    ------------------------------
    Brian Nolan
    Solute, Inc.
    San Diego CA
    ------------------------------



  • 5.  RE: Re: Possibility to disable Velocity macro caching?

    Posted 12 days ago
    Hi,

    will macro caching be disabled with the new velocity engine? This would be such a huge improvement.

    Thank you,
    Anna

    ------------------------------
    Anna Henke
    MeVis BreastCare GmbH & Co. KG
    ------------------------------



  • 6.  RE: Re: Possibility to disable Velocity macro caching?

    Posted 11 days ago
    Hi,
    Absolutely agreed with Anna and Brian (in 2017)
    Macro caching is also very troublesome for us during the Report writing. It costs us a lot unproductive work with renaming, which is the current Workaround.
    We also would like to have the possibility to disable this velocity macro Caching at least for the development Environment.  If this Feature has not come with the new velocity engine yet, please add that as Feature request with +1 von uns.

    Thanks
    Lien



    ------------------------------
    Lien Bäcker
    Gira, Giersiepen GmbH & Co. KG
    ------------------------------



  • 7.  RE: Re: Possibility to disable Velocity macro caching?

    Posted 11 days ago
    I agree with Anna and Lien.
    +1 from us.

    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------



  • 8.  RE: Re: Possibility to disable Velocity macro caching?

    Posted 7 days ago
    Hi Alessandro, Lien and Anna:

    I see you found one of our old threads, seeing how we are doing a lot of current work with our Velocity I am going to change this Support thread into a Product Idea and tag it accordingly.

    Thank you for you input here!

    ------------------------------
    Chloe Elliott
    Jama Software
    Portland OR
    ------------------------------



  • 9.  RE: Re: Possibility to disable Velocity macro caching?
    Best Answer

    Posted 4 days ago
    As of 8.44 we've updated Velocity and it no longer caches macros. Thank you for highlighting this issue to our team!

    @Anna, @Alessandro, @Lien, @Brian, and @nbr​​​​​

    ------------------------------
    Robin Calhoun
    Product Manager
    Jama Software
    ------------------------------



  • 10.  RE: Re: Possibility to disable Velocity macro caching?

    Posted 4 days ago
    Much rejoicing!

    Theresa Soares
    Verification and Validation Engineer III, System Verification
    FUJIFILM SonoSite, Inc.
    theresa.soares@fujifilm.com
    www.sonosite.com

    425.442.1523 mobile



    NOTICE:  This message, including any attachments, is only for the use of the intended recipient(s) and may contain confidential, sensitive and/or privileged information, or information otherwise prohibited from dissemination or disclosure by law or regulation, including applicable export regulations.  If the reader of this message is not the intended recipient, you are hereby notified that any use, disclosure, copying, dissemination or distribution of this message or any of its attachments is strictly prohibited.  If you received this message in error, please contact the sender immediately by reply email and destroy this message, including all attachments, and any copies thereof.





  • 11.  RE: Re: Possibility to disable Velocity macro caching?

    Posted 3 days ago
    Thx!

    ------------------------------
    Alessandro
    Systems Engineer
    SICK AG
    ------------------------------