[Qt-jambi-interest] [RFC PATCH 2/5] [BUILD] Copy version.properties into qtjambi source dir on initialization

Francis Galiegue fgaliegue at gmail.com
Sun Dec 27 18:44:59 CET 2009


This is necessary so that, eventually, qtjambi.jar will read the version from
this file instead of relying on the currently existing Version.java.

Signed-off-by: Francis Galiegue <fgaliegue at gmail.com>
---
 build.xml |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/build.xml b/build.xml
index 0439662..5943612 100644
--- a/build.xml
+++ b/build.xml
@@ -38,6 +38,7 @@
     <target name="init" depends="init.taskdef"
         description="Initializes the Qt Jambi build environment." >
         <qtjambi-initialize verbose="true" configuration="${qtjambi.config}"/>
+        <copy file="version.properties" todir="${java.srcdir}/qtjambi/"/>
     </target>
 
     <!--
@@ -469,6 +470,7 @@
                 <include name="*.jar"/>
             </fileset>
         </delete>
+        <delete file="${java.srcdir}/qtjambi/version.properties"/>
     </target>
 
     <target name="help" description="Provides detailed help.">
-- 
1.6.6.rc3




More information about the Qt-jambi-interest mailing list