Author: aidan
Date: Thu Dec 11 07:00:46 2008
New Revision: 725708

URL: http://svn.apache.org/viewvc?rev=725708&view=rev
Log:
Make .Net 0-8 build a little nicer, move timestamp to property and make the zip 
unpack to a subdir instead of cwd

Modified:
    incubator/qpid/trunk/qpid/dotnet/default.build

Modified: incubator/qpid/trunk/qpid/dotnet/default.build
URL: 
http://svn.apache.org/viewvc/incubator/qpid/trunk/qpid/dotnet/default.build?rev=725708&r1=725707&r2=725708&view=diff
==============================================================================
--- incubator/qpid/trunk/qpid/dotnet/default.build (original)
+++ incubator/qpid/trunk/qpid/dotnet/default.build Thu Dec 11 07:00:46 2008
@@ -206,16 +206,17 @@
         <call target="build"/>
 
         <property name="build.date" value="${datetime::now()}"/>
+        <property name="build.timestamp" 
value="${framework::get-target-framework()}-${datetime::get-year(build.date)}${datetime::get-month(build.date)}${datetime::get-day(build.date)}"/>
 
-        <zip 
zipfile="${build.dir}/Qpid.NET-${framework::get-target-framework()}-${datetime::get-year(build.date)}${datetime::get-month(build.date)}${datetime::get-day(build.date)}.zip">
-            <fileset basedir="${build.dir}">
+        <zip zipfile="${build.dir}/Qpid.NET-${build.timestamp}.zip">
+            <fileset basedir="${build.dir}" 
prefix="Qpid.NET-${build.timestamp}">
                 <include name="**/*.*"/>
                 <exclude name="**/*.Tests.*"/>
                 <exclude name="**/nunit.framework.dll"/>
                 <exclude name="**/*.exe"/>            
             </fileset>
             
-            <fileset basedir="${base.dir}">
+            <fileset basedir="${base.dir}" 
prefix="Qpid.NET-${build.timestamp}">
                 <include name="LICENSE.txt"/>
                 <include name="NOTICE.txt"/>
                 <include name="README.txt"/>


Reply via email to