Uploaded image for project: 'Velocity Tools'
  1. Velocity Tools
  2. VELTOOLS-200

Current Velocity Tools View use deprecated Velocity properties

Agile BoardAttach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.1
    • None
    • VelocityView
    • None

    Description

      when using current Velocity with current Velocity Tools View , I get the following error messages in the log:

      org.apache.velocity.deprecation - configuration key 'resource.loader' has been deprecated in favor of 'resource.loaders'
      org.apache.velocity.deprecation - configuration key 'webapp.resource.loader.class' has been deprecated in favor of 'resource.loader.webapp.class'
      org.apache.velocity.deprecation - configuration key 'string.resource.loader.class' has been deprecated in favor of 'resource.loader.string.class'
      org.apache.velocity.deprecation - configuration key 'runtime.introspector.uberspect' has been deprecated in favor of 'introspector.uberspect.class'

       

      OK so maybe the old property names are used to be compatible to old Velocity Engine versions, but the default is that we use current versions - so a "compatibility mode" should be made smarter than just continuing to use deprecated properties.

      my gradle includes:

      earlib group: 'org.apache.velocity', name: 'velocity-engine-core', version: '2.3'
      earlib group: 'org.apache.velocity.tools', name: 'velocity-tools-view', version: '3.1'

       

      This has also been mentioned in a recent stackoverflow thread

      https://stackoverflow.com/questions/73026164/velocity-warnings-about-deprecated-keys-that-i-dont-even-use

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            ghueller Gernot Hueller

            Dates

              Created:
              Updated:

              Slack

                Issue deployment