Emmanuel Bourg pushed to branch master at Debian Java Maintainers / velocity
Commits: cc22d35e by Emmanuel Bourg at 2026-10-30T13:40:17+01:00 Restored the RuntimeConstants removed in Velocity 2.0 - - - - - 2 changed files: - debian/changelog - debian/patches/velocity-1.7-compatibility.patch Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,10 @@ +velocity (2.4.1-2) unstable; urgency=medium + + * Team upload. + * Restored the RuntimeConstants removed in Velocity 2.0 + + -- Emmanuel Bourg <[email protected]> Fri, 30 Oct 2026 13:39:57 +0100 + velocity (2.4.1-1) unstable; urgency=medium * Team upload. ===================================== debian/patches/velocity-1.7-compatibility.patch ===================================== @@ -5,6 +5,8 @@ Description: Restore the Velocity 1.7 API still used by the reverse dependencies - RuntimeInstance.setConfiguration(ExtendedProperties) - ResourceLoader.commonInit(RuntimeServices, ExtendedProperties) - InternalHousekeepingContext.getTemplateNameStack() returning Object[] + - RuntimeConstants.RUNTIME_LOG, RUNTIME_LOG_LOGSYSTEM, RUNTIME_LOG_LOGSYSTEM_CLASS + and SET_NULL_ALLOWED (ignored) Author: Emmanuel Bourg <[email protected]> Forwarded: not-needed --- a/velocity-engine-core/pom.xml @@ -313,3 +315,35 @@ Forwarded: not-needed + } + } +} +--- a/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java ++++ b/velocity-engine-core/src/main/java/org/apache/velocity/runtime/RuntimeConstants.java +@@ -66,6 +66,18 @@ + */ + String RUNTIME_LOG_TRACK_LOCATION = "runtime.log.track_location"; + ++ /** Location of the log file (Velocity 1.7, ignored since 2.0). */ ++ @Deprecated ++ String RUNTIME_LOG = "runtime.log"; ++ ++ /** The runtime logger (Velocity 1.7, ignored since 2.0). */ ++ @Deprecated ++ String RUNTIME_LOG_LOGSYSTEM = "runtime.log.logsystem"; ++ ++ /** The class of the runtime logger (Velocity 1.7, ignored since 2.0). */ ++ @Deprecated ++ String RUNTIME_LOG_LOGSYSTEM_CLASS = "runtime.log.logsystem.class"; ++ + /* + * ---------------------------------------------------------------------- + * D I R E C T I V E C O N F I G U R A T I O N +@@ -476,6 +488,10 @@ + */ + String SPACE_GOBBLING = "parser.space_gobbling"; + ++ /** Whether #set accepts null values (Velocity 1.7, ignored since 2.0). */ ++ @Deprecated ++ String SET_NULL_ALLOWED = "directive.set.null.allowed"; ++ + /** + * Space gobbling modes + * @since 2.0 View it on GitLab: https://salsa.debian.org/java-team/velocity/-/commit/cc22d35e128532ad6fbf805a5d00efbb863ebd48 -- View it on GitLab: https://salsa.debian.org/java-team/velocity/-/commit/cc22d35e128532ad6fbf805a5d00efbb863ebd48 You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help
_______________________________________________ pkg-java-commits mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-commits

