This is an automated email from the ASF dual-hosted git repository.

joshtynjala pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-compiler.git

commit 80e8afd90a821b0fa48943b7fe42fee1f803e6fd
Author: Josh Tynjala <[email protected]>
AuthorDate: Mon Apr 14 13:52:56 2025 -0700

    debugger: generate build.number.date before version.properties is written 
so that it isn't empty
    
    If it was already written, that's fine. Ant won't overwrite it in that case.
---
 debugger/build.xml | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debugger/build.xml b/debugger/build.xml
index e0a6acafe..62ef235de 100644
--- a/debugger/build.xml
+++ b/debugger/build.xml
@@ -37,6 +37,10 @@
             <src path="${basedir.generated.src}" />
             <src path="${basedir.src}" />
         </javac>
+        <tstamp>
+            <!-- if this property hasn't been set yet, do it now -->
+            <format property="build.number.date" pattern="yyyyMMdd" />
+        </tstamp>
         <echo file="${basedir.bin}/flex/tools/debugger/cli/version.properties" 
append="false">build=${build.number.date}</echo>
         <copy todir="${basedir.bin}">
             <fileset dir="${basedir.src}/../resources" includes="**/*.txt, 
**/*.properties" />

Reply via email to