From 32882ca8582a102b9357e8d7f2c313d52c568977 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Fri, 20 Jun 2025 20:07:20 +0300 Subject: Implement dynamic version injection from pom.xml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Create version.properties resource file with Maven placeholders - Enable Maven resource filtering for version.properties - Add VSVersionInfo utility class to read version at runtime - Update VSDefaultPrefs to use dynamic version instead of hardcoded - Version now shows "Distributed Systems Simulator 1.0.1-SNAPSHOT" - Includes build timestamp for better traceability The version in the title bar is now automatically updated from the pom.xml version during the build process. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- src/main/resources/version.properties | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 src/main/resources/version.properties (limited to 'src/main/resources') diff --git a/src/main/resources/version.properties b/src/main/resources/version.properties new file mode 100644 index 0000000..dc3a55f --- /dev/null +++ b/src/main/resources/version.properties @@ -0,0 +1,7 @@ +# Version information generated at build time +# This file is processed by Maven resource filtering +app.version=${project.version} +app.name=${project.name} +app.description=${project.description} +build.timestamp=${maven.build.timestamp} +maven.build.timestamp.format=yyyy-MM-dd HH:mm:ss \ No newline at end of file -- cgit v1.2.3