You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4net-dev@logging.apache.org by ni...@apache.org on 2006/03/30 13:32:42 UTC
svn commit: r390090 - /logging/log4net/trunk/log4net.build
Author: nicko
Date: Thu Mar 30 03:32:36 2006
New Revision: 390090
URL: http://svn.apache.org/viewcvs?rev=390090&view=rev
Log:
Updated build file to place all files in the package zip within a common directory. This ensures that a user does not unzip the package into an existing directory, but the zip contents goes into a new directory.
Modified:
logging/log4net/trunk/log4net.build
Modified: logging/log4net/trunk/log4net.build
URL: http://svn.apache.org/viewcvs/logging/log4net/trunk/log4net.build?rev=390090&r1=390089&r2=390090&view=diff
==============================================================================
--- logging/log4net/trunk/log4net.build (original)
+++ logging/log4net/trunk/log4net.build Thu Mar 30 03:32:36 2006
@@ -152,7 +152,8 @@
</target>
<!-- Target for setting the package configuration -->
<target name="set-package-configuration" depends="check-package-dir, check-package-version">
- <property name="current.package.dir" value="${package.dir}/${nant.project.name}-${package.version}" />
+ <property name="current.package.name" value="${nant.project.name}-${package.version}" />
+ <property name="current.package.dir" value="${package.dir}/${current.package.name}" />
<property name="log4net.basedir" value="${current.package.dir}" />
<property name="current.package.zipfile" value="${project::get-name()}-${package.version}.zip" />
<property name="bin.dir" value="${current.package.dir}/bin" />
@@ -809,7 +810,7 @@
</fileset>
</delete>
<zip zipfile="${current.package.zipfile}" ziplevel="9">
- <fileset basedir="${current.package.dir}">
+ <fileset basedir="${current.package.dir}" prefix="${current.package.name}">
<include name="**/*" />
<!-- do not include the log4net keyfiles -->
<exclude name="**/*.snk" />