You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by dp...@apache.org on 2017/04/26 09:11:47 UTC
[03/50] [abbrv] logging-log4net git commit: Cnaged CORE build to
CLI_1_0. Updated package target
Cnaged CORE build to CLI_1_0. Updated package target
Project: http://git-wip-us.apache.org/repos/asf/logging-log4net/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4net/commit/dd6dbc94
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4net/tree/dd6dbc94
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4net/diff/dd6dbc94
Branch: refs/heads/origin/trunk
Commit: dd6dbc946c06fef6054e2af757a0a6b056de4702
Parents: 6c76eda
Author: Nicko Cadell <ni...@apache.org>
Authored: Mon Feb 14 03:17:06 2005 +0000
Committer: Nicko Cadell <ni...@apache.org>
Committed: Mon Feb 14 03:17:06 2005 +0000
----------------------------------------------------------------------
log4net.build | 41 ++++++++++++++++++++---------------------
log4net.include | 34 +++++++++++++++++-----------------
2 files changed, 37 insertions(+), 38 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/dd6dbc94/log4net.build
----------------------------------------------------------------------
diff --git a/log4net.build b/log4net.build
index 9225d2e..6d0f810 100755
--- a/log4net.build
+++ b/log4net.build
@@ -175,7 +175,7 @@
</if>
<if test="${framework::exists('net-1.0')}">
<call target="compile-net-1.0" />
- <call target="compile-core" />
+ <call target="compile-cli-1.0" />
</if>
<if test="${not framework::exists('net-1.0')}">
<if test="${property::exists('project.build.package') and project.build.package}">
@@ -201,12 +201,15 @@
</if>
<if test="${not framework::exists('net-2.0')}">
<if test="${property::exists('project.build.package') and project.build.package}">
+ <!-- .NET 2.0 Build Skipped for Package
<fail message="The .NET Framework 2.0 is not available." />
+ -->
+ <echo message="The .NET Framework 2.0 is not available. Build skipped during package." />
</if>
<if test="${not(property::exists('project.build.package') and project.build.package)}">
<echo message="The .NET Framework 2.0 is not available. Build skipped." />
</if>
- </if>
+ </if>
<if test="${framework::exists('mono-1.0')}">
<call target="compile-mono-1.0" />
</if>
@@ -462,17 +465,19 @@
</if>
</target>
<!--
- This version is built targeting .NET 1.0, but does not contain any
- classes that are .NET 1.0 or Windows-specific.
+ This version is built to run on any CLI 1.0 (ECMA 335) standard runtime.
+ The build excludes any code that is platform specific.
+ The .NET 1.0 compiler and library are used to build the assembly.
- Therefore, the log4net Core is runtime compatible with the following
- frameworks :
+ The log4net CLI 1.0 assembly is runtime compatible with the following frameworks :
* Microsoft .NET Framework 1.0 (and higher)
* Mono 1.0 (and higher)
- We only provide this "flavor" of log4net in release configuration.
+ We only provide this "flavor" of log4net in release configuration because
+ debugging information is not standardized and would be too closely tied to
+ a specific implementation.
-->
- <target name="compile-core" description="Builds Core version" depends="set-core-configuration, check-log4net-basedir" if="${current.build.config.release}">
+ <target name="compile-cli-1.0" description="Builds CLI 1.0 version" depends="set-cli-1.0-configuration, check-log4net-basedir, clean-current-bin-dir" if="${current.build.config.release}">
<delete>
<fileset basedir="${current.bin.dir}">
<include name="log4net.*" />
@@ -518,7 +523,7 @@
<!-- Target for generating docs for all runtime configurations -->
<target name="generate-sdkdoc-all" depends="check-current-build-config">
<echo message="Generating SDK documentation temporarily disabled." />
- <!--
+ <!--
<echo message="Generating SDK documentation based on the ${current.build.config} build configuration for all runtime configurations." />
<if test="${framework::exists('netcf-1.0')}">
<call target="set-netcf-1.0-runtime-configuration" />
@@ -532,7 +537,7 @@
<call target="set-net-1.1-runtime-configuration" />
<call target="generate-sdkdoc" />
</if>
- -->
+ -->
<!-- NAnt doesn't yet come with a version of NDoc that can handle .NET 2.0 assemblies -->
<!-- Mono 1.0 does not support extracting xml documentation -->
<!-- SSCLI 1.0 does not support extracting xml documentation -->
@@ -641,8 +646,8 @@
<fileset basedir="src">
<include name="**/*" />
<exclude name="**/obj/**" />
- <exclude name="log4net.csproj.user" />
- <exclude name="log4net.suo" />
+ <exclude name="*.csproj.user" />
+ <exclude name="*.suo" />
<exclude name="log4net.ndoc" />
<exclude name="log4net*.xml" />
<exclude name="**/*.sln.old" />
@@ -670,25 +675,19 @@
<mkdir dir="${current.package.dir}/doc" />
<copy todir="${current.package.dir}/doc" includeemptydirs="false">
<fileset basedir="doc">
- <include name="*" />
- </fileset>
- </copy>
- <mkdir dir="${current.package.dir}/doc/manual" />
- <copy todir="${current.package.dir}/doc/manual" includeemptydirs="false">
- <fileset basedir="doc/manual">
- <include name="*" />
+ <include name="**/*" />
</fileset>
</copy>
</target>
<target name="package-release-files" depends="check-current-package-dir, check-log4net-basedir">
<copy todir="${current.package.dir}">
<fileset basedir=".">
- <include name="index.html" />
+ <!-- <include name="index.html" /> -->
<include name="build.cmd" />
<include name="ChangeLog.txt" />
<include name="log4net.build" />
<include name="log4net.include" />
- <include name="releasenotes.html" />
+ <!-- <include name="releasenotes.html" /> -->
<include name="LICENSE.txt" />
<include name="log4net.snk" />
</fileset>
http://git-wip-us.apache.org/repos/asf/logging-log4net/blob/dd6dbc94/log4net.include
----------------------------------------------------------------------
diff --git a/log4net.include b/log4net.include
index bdedbe3..4f543a5 100755
--- a/log4net.include
+++ b/log4net.include
@@ -43,10 +43,10 @@
<if test="${not property::exists('sdkdoc.dir')}">
<property name="sdkdoc.dir" value="${doc.dir}/sdk" />
</if>
- <!--
- Temporarily disabled SDK generation through NAnt build
+ <!--
+ Temporarily disabled SDK generation through NAnt build
<mkdir dir="${sdkdoc.dir}" />
- -->
+ -->
</target>
<target name="check-sdkdoc-debug">
<if test="${not property::exists('sdkdoc.debug')}">
@@ -85,10 +85,10 @@
<if test="${not property::exists('current.sdkdoc.dir')}">
<fail message="The current sdk document directory has not been specified." />
</if>
- <!--
- Temporarily disabled SDK generation through NAnt build
- <mkdir dir="${sdkdoc.dir}" />
- -->
+ <!--
+ Temporarily disabled SDK generation through NAnt build
+ <mkdir dir="${sdkdoc.dir}" />
+ -->
</target>
<target name="check-current-sdkdoc-debug">
<if test="${not property::exists('current.sdkdoc.debug')}">
@@ -128,11 +128,11 @@
</target>
<target name="clean-current-sdkdoc-dir" depends="check-current-sdkdoc-dir" description="cleaning the current SDK documentation directory">
<echo message="Cleaning the ${current.sdkdoc.dir} SDK documentation directory." />
- <!--
- Temporarily disabled SDK generation through NAnt build
+ <!--
+ Temporarily disabled SDK generation through NAnt build
<delete dir="${current.sdkdoc.dir}" if="${directory::exists(current.sdkdoc.dir)}" />
<mkdir dir="${current.sdkdoc.dir}" />
- -->
+ -->
</target>
<!-- Targets for setting up the environment -->
<target name="set-build-configuration" depends="check-current-build-config">
@@ -246,15 +246,15 @@
<property name="current.sdkdoc.dir" value="${sdkdoc.dir}/${framework::get-family(framework::get-target-framework())}/${framework::get-version(framework::get-target-framework())}" />
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true" />
</target>
- <target name="set-core-configuration">
+ <target name="set-cli-1.0-configuration" depends="check-bin-dir">
<property name="nant.settings.currentframework" value="net-1.0" />
<property name="current.build.debug" value="${build.debug}" dynamic="true" />
- <property name="current.build.defines.csc" value="${build.defines.csc},CORE" dynamic="true" />
- <property name="current.build.defines.jsc" value="${build.defines.jsc},CORE" dynamic="true" />
- <property name="current.build.defines.vbc" value="${build.defines.vbc},CORE=True" dynamic="true" />
- <property name="current.build.defines.vjc" value="${build.defines.vjc},CORE" dynamic="true" />
- <property name="current.build.defines.cl" value="${build.defines.cl} /D CORE" dynamic="true" />
- <property name="current.bin.dir" value="${bin.dir}" />
+ <property name="current.build.defines.csc" value="${build.defines.csc},CLI,CLI_1_0" dynamic="true" />
+ <property name="current.build.defines.jsc" value="${build.defines.jsc},CLI,CLI_1_0" dynamic="true" />
+ <property name="current.build.defines.vbc" value="${build.defines.vbc},CLI=True,CLI_1_0=True" dynamic="true" />
+ <property name="current.build.defines.vjc" value="${build.defines.vjc},CLI,CLI_1_0" dynamic="true" />
+ <property name="current.build.defines.cl" value="${build.defines.cl} /D CLI /D CLI_1_0" dynamic="true" />
+ <property name="current.bin.dir" value="${bin.dir}/cli/1.0/${current.build.config}" />
<property name="current.sdkdoc.dir" value="${sdkdoc.dir}" />
<property name="current.sdkdoc.debug" value="${sdkdoc.debug}" dynamic="true" />
</target>