You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ts...@apache.org on 2020/08/08 09:57:54 UTC

[logging-log4cxx] branch gphr_30_docs updated (102e77e -> 9ed755d)

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

tschoening pushed a change to branch gphr_30_docs
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git.


    from 102e77e  Added a PoC to model necessary bins for tests using a local MVN-repo.
     new 416ef54  Couldn't find a reference that ZIP is necessary for tests. I don't have it in my PATH-variable.
     new 9ed755d  Had an additional look at what is really necessary for tests and couldn't find a reference to GREP anymore. Additionally, GZIP seems to be required at runtime in "gzcompressaction.cpp" as well, not only in tests or better, not additionally in tests. So I've refactored the modeled dependencies to take that into account.

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 pom.xml                                            |  17 +-
 .../log4cxx/deps}/gzip/1.10.0/gzip-1.10.0.pom      |   2 +-
 .../logging/log4cxx/deps}/sed/4.8.0/sed-4.8.0.pom  |   2 +-
 src/site/xdoc/building/index.xml                   | 436 ++++++++++-----------
 .../log4cxx/test-bins/grep/3.1.0/grep-3.1.0.pom    |  10 -
 5 files changed, 225 insertions(+), 242 deletions(-)
 rename src/{test/mvn_repo/org/apache/logging/log4cxx/test-bins => mvn_repo/org/apache/logging/log4cxx/deps}/gzip/1.10.0/gzip-1.10.0.pom (87%)
 rename src/{test/mvn_repo/org/apache/logging/log4cxx/test-bins => mvn_repo/org/apache/logging/log4cxx/deps}/sed/4.8.0/sed-4.8.0.pom (86%)
 delete mode 100644 src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/grep/3.1.0/grep-3.1.0.pom


[logging-log4cxx] 02/02: Had an additional look at what is really necessary for tests and couldn't find a reference to GREP anymore. Additionally, GZIP seems to be required at runtime in "gzcompressaction.cpp" as well, not only in tests or better, not additionally in tests. So I've refactored the modeled dependencies to take that into account.

Posted by ts...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tschoening pushed a commit to branch gphr_30_docs
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit 9ed755d528b87b409cd445ddce7981a7dcc7a104
Author: Thorsten Schöning <ts...@am-soft.de>
AuthorDate: Sat Aug 8 11:57:47 2020 +0200

    Had an additional look at what is really necessary for tests and couldn't find a reference to GREP anymore. Additionally, GZIP seems to be required at runtime in "gzcompressaction.cpp" as well, not only in tests or better, not additionally in tests. So I've refactored the modeled dependencies to take that into account.
---
 pom.xml                                                 | 17 +++++------------
 .../logging/log4cxx/deps}/gzip/1.10.0/gzip-1.10.0.pom   |  2 +-
 .../logging/log4cxx/deps}/sed/4.8.0/sed-4.8.0.pom       |  2 +-
 .../logging/log4cxx/test-bins/grep/3.1.0/grep-3.1.0.pom | 10 ----------
 4 files changed, 7 insertions(+), 24 deletions(-)

diff --git a/pom.xml b/pom.xml
index 26c0e4b..ee5e1ed 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,8 +19,8 @@
 
 		<!-- Local repos to model non-public dependencies for different purposes. -->
 		<repository>
-			<id>log4cxx_test_bins</id>
-			<url>file:///${project.basedir}/src/test/mvn_repo</url>
+			<id>log4cxx_non_public_deps</id>
+			<url>file:///${project.basedir}/src/mvn_repo</url>
 		</repository>
 	</repositories>
 
@@ -385,21 +385,14 @@
 		</dependency>
 
 		<dependency>
-			<groupId>org.apache.logging.log4cxx.test-bins</groupId>
-			<artifactId>grep</artifactId>
-			<version>3.1.0</version>
-			<scope>test</scope>
-			<type>pom</type>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.logging.log4cxx.test-bins</groupId>
+			<groupId>org.apache.logging.log4cxx.deps</groupId>
 			<artifactId>gzip</artifactId>
 			<version>1.10.0</version>
-			<scope>test</scope>
+			<scope>runtime</scope>
 			<type>pom</type>
 		</dependency>
 		<dependency>
-			<groupId>org.apache.logging.log4cxx.test-bins</groupId>
+			<groupId>org.apache.logging.log4cxx.deps</groupId>
 			<artifactId>sed</artifactId>
 			<version>4.8.0</version>
 			<scope>test</scope>
diff --git a/src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/gzip/1.10.0/gzip-1.10.0.pom b/src/mvn_repo/org/apache/logging/log4cxx/deps/gzip/1.10.0/gzip-1.10.0.pom
similarity index 87%
rename from src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/gzip/1.10.0/gzip-1.10.0.pom
rename to src/mvn_repo/org/apache/logging/log4cxx/deps/gzip/1.10.0/gzip-1.10.0.pom
index bb7193a..b15e4ca 100644
--- a/src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/gzip/1.10.0/gzip-1.10.0.pom
+++ b/src/mvn_repo/org/apache/logging/log4cxx/deps/gzip/1.10.0/gzip-1.10.0.pom
@@ -3,7 +3,7 @@
 			xmlns="http://maven.apache.org/POM/4.0.0"
 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 	<modelVersion>4.0.0</modelVersion>
-	<groupId>org.apache.logging.log4cxx.test-bins</groupId>
+	<groupId>org.apache.logging.log4cxx.deps</groupId>
 	<artifactId>gzip</artifactId>
 	<version>1.10.0</version>
 	<packaging>zip</packaging>
diff --git a/src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/sed/4.8.0/sed-4.8.0.pom b/src/mvn_repo/org/apache/logging/log4cxx/deps/sed/4.8.0/sed-4.8.0.pom
similarity index 86%
rename from src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/sed/4.8.0/sed-4.8.0.pom
rename to src/mvn_repo/org/apache/logging/log4cxx/deps/sed/4.8.0/sed-4.8.0.pom
index 3bb3d3a..15eced2 100644
--- a/src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/sed/4.8.0/sed-4.8.0.pom
+++ b/src/mvn_repo/org/apache/logging/log4cxx/deps/sed/4.8.0/sed-4.8.0.pom
@@ -3,7 +3,7 @@
 			xmlns="http://maven.apache.org/POM/4.0.0"
 			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
 	<modelVersion>4.0.0</modelVersion>
-	<groupId>org.apache.logging.log4cxx.test-bins</groupId>
+	<groupId>org.apache.logging.log4cxx.deps</groupId>
 	<artifactId>sed</artifactId>
 	<version>4.8.0</version>
 	<packaging>zip</packaging>
diff --git a/src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/grep/3.1.0/grep-3.1.0.pom b/src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/grep/3.1.0/grep-3.1.0.pom
deleted file mode 100644
index cb2203b..0000000
--- a/src/test/mvn_repo/org/apache/logging/log4cxx/test-bins/grep/3.1.0/grep-3.1.0.pom
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<project	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
-			xmlns="http://maven.apache.org/POM/4.0.0"
-			xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
-	<modelVersion>4.0.0</modelVersion>
-	<groupId>org.apache.logging.log4cxx.test-bins</groupId>
-	<artifactId>grep</artifactId>
-	<version>3.1.0</version>
-	<packaging>zip</packaging>
-</project>


[logging-log4cxx] 01/02: Couldn't find a reference that ZIP is necessary for tests. I don't have it in my PATH-variable.

Posted by ts...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tschoening pushed a commit to branch gphr_30_docs
in repository https://gitbox.apache.org/repos/asf/logging-log4cxx.git

commit 416ef540b4cd55d8353f1d90f88df370abeb6a39
Author: Thorsten Schöning <ts...@am-soft.de>
AuthorDate: Sat Aug 8 11:54:13 2020 +0200

    Couldn't find a reference that ZIP is necessary for tests. I don't have it in my PATH-variable.
---
 src/site/xdoc/building/index.xml | 436 +++++++++++++++++++--------------------
 1 file changed, 218 insertions(+), 218 deletions(-)

diff --git a/src/site/xdoc/building/index.xml b/src/site/xdoc/building/index.xml
index 037e692..e7303e6 100644
--- a/src/site/xdoc/building/index.xml
+++ b/src/site/xdoc/building/index.xml
@@ -1,218 +1,218 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one or more
- contributor license agreements.  See the NOTICE file distributed with
- this work for additional information regarding copyright ownership.
- The ASF licenses this file to You under the Apache License, Version 2.0
- (the "License"); you may not use this file except in compliance with
- the License.  You may obtain a copy of the License at
-
-      http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
--->
-<document>
-	<properties>
-		<title>Building Apache log4cxx</title>
-	</properties>
-
-	<body>
-		<section name="Building Apache log4cxx">
-			<p>
-				The project supports different build tools on different platforms, have a look at
-				the menu to find the platform you need. If your environment is not covered already,
-				feel free to ask about it on one of the <a href="../mail-lists.html">Mailing Lists</a>
-				or leave a bug in our <a href="../issue-tracking.html">Issue Tracker</a>. In this
-				case it would be very helpful of course if you could already provide some patches
-				to support your environment or at least provide some technical details about the
-				build tools, compiler etc. you use.
-			</p>
-		</section>
-
-		<section name="Running unit tests">
-			<p>
-				Autotools will link all tests into a single executable (testsuite).
-				The cmake build generates a number of executables which can be run using the ctest tool.
-				Some unit tests will fail if sed, gzip and zip are not available.
-			</p>
-		</section>
-
-		<section name="Covered by the team">
-			<p>
-				The following table provides an overview about the environments some of the team
-				members have access to and therefore normally should work out of the box or at
-				least were used sometimes in the past. This list by no means tells something about
-				how good the support on each platform is, it's just a guide.
-			</p>
-
-			<table>
-				<caption>Environments in use</caption>
-				<thead>
-					<tr>
-						<th id="os">OS</th>
-						<th id="os_arch">Architecture</th>
-						<th id="environment">Environment</th>
-						<th id="compiler">Compiler</th>
-						<th id="compiler_arch">Architecture</th>
-					</tr>
-				</thead>
-				<tbody>
-					<!-- Windows -->
-					<tr>
-						<td	headers="os"
-							rowspan="9">
-							Windows 7
-						</td>
-						<td	headers="os_arch"
-							rowspan="9">
-							x64
-						</td>
-						<td	headers="environment"
-							rowspan="6">
-							Win32
-						</td>
-						<td	headers="compiler">
-							MS Visual Studio 2008
-						</td>
-						<td	headers="compiler_arch"
-							rowspan="5">
-							x86 and x64
-						</td>
-					</tr>
-					<tr>
-						<td headers="compiler">MS Visual Studio 2010 (Pro)</td>
-					</tr>
-					<tr>
-						<td headers="compiler">MS Visual Studio 2010 (Express)</td>
-					</tr>
-					<tr>
-						<td headers="compiler">MS Visual Studio 2012</td>
-					</tr>
-					<tr>
-						<td headers="compiler">MS Visual Studio 2013 (Express)</td>
-					</tr>
-					<tr>
-						<td headers="compiler">Embarcadero C++ Builder XE 4</td>
-						<td headers="compiler_arch">x86</td>
-					</tr>
-					<tr>
-						<td	headers="environment"
-							rowspan="2">
-							MinGW
-						</td>
-						<td	headers="compiler">
-							gcc 4.5.4
-						</td>
-						<td	headers="compiler_arch"
-							rowspan="3">
-							x86 and x64
-						</td>
-					</tr>
-					<tr>
-						<td headers="compiler">gcc 4.6.4</td>
-					</tr>
-					<tr>
-						<td headers="environment">Cygwin</td>
-						<td headers="compiler">gcc 4.8.2</td>
-					</tr>
-					<tr>
-						<td headers="os">Windows 10</td>
-						<td headers="os_arch">x64</td>
-						<td headers="environment">Win32</td>
-						<td headers="compiler">MS Visual Studio 2019 (Community)</td>
-						<td headers="compiler_arch">x86</td>
-					</tr>
-					<!-- Linux -->
-					<tr>
-						<td	headers="os"
-							rowspan="2">
-							Debian
-						</td>
-						<td	headers="os_arch"
-							rowspan="2">
-							x86
-						</td>
-						<td	headers="environment"
-							rowspan="14">
-							Posix
-						</td>
-						<td	headers="compiler">
-							gcc
-						</td>
-						<td	headers="compiler_arch"
-							rowspan="2">
-							x86
-						</td>
-					</tr>
-					<tr>
-						<td headers="compiler">clang</td>
-					</tr>
-					<tr>
-						<td	headers="os" rowspan="8">
-							Ubuntu and Scientific Linux
-						</td>
-						<td	headers="os_arch"
-							rowspan="10">
-							x64
-						</td>
-						<td	headers="compiler">
-							gcc 4.5
-						</td>
-						<td	headers="compiler_arch"
-							rowspan="8">
-							x86 and x64
-						</td>
-					</tr>
-					<tr>
-						<td headers="compiler">gcc 4.6</td>
-					</tr>
-					<tr>
-						<td headers="compiler">gcc 4.7</td>
-					</tr>
-					<tr>
-						<td headers="compiler">gcc 4.8</td>
-					</tr>
-					<tr>
-						<td headers="compiler">gcc 7.5</td>
-					</tr>
-					<tr>
-						<td headers="compiler">Intel 11.1</td>
-					</tr>
-					<tr>
-						<td headers="compiler">Intel 12.1</td>
-					</tr>
-					<tr>
-						<td headers="compiler">Intel 13.1</td>
-					</tr>
-					<tr>
-						<td headers="os">Red Hat</td>
-						<td headers="compiler">gcc</td>
-					</tr>
-					<!-- Mac OS X -->
-					<tr>
-						<td headers="os">Mac OS X 10.9 Mavericks</td>
-						<td headers="compiler">Xcode 5.0.2</td>
-						<td headers="compiler_arch">x64</td>
-					</tr>
-					<!-- Arm -->
-					<tr>
-						<td headers="os">Raspian</td>
-						<td headers="os_arch">armv7</td>
-						<td headers="compiler">gcc 8.3</td>
-						<td headers="compiler_arch">armv7</td>
-					</tr>
-					<tr>
-						<td headers="os">Ubuntu 20.04</td>
-						<td headers="os_arch">armv8</td>
-						<td headers="compiler">gcc 9.10</td>
-						<td headers="compiler_arch">aarch</td>
-					</tr>
-				</tbody>
-			</table>
-		</section>
-	</body>
-</document>
\ No newline at end of file
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements.  See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+
+-->
+<document>
+	<properties>
+		<title>Building Apache log4cxx</title>
+	</properties>
+
+	<body>
+		<section name="Building Apache log4cxx">
+			<p>
+				The project supports different build tools on different platforms, have a look at
+				the menu to find the platform you need. If your environment is not covered already,
+				feel free to ask about it on one of the <a href="../mail-lists.html">Mailing Lists</a>
+				or leave a bug in our <a href="../issue-tracking.html">Issue Tracker</a>. In this
+				case it would be very helpful of course if you could already provide some patches
+				to support your environment or at least provide some technical details about the
+				build tools, compiler etc. you use.
+			</p>
+		</section>
+
+		<section name="Running unit tests">
+			<p>
+				Autotools will link all tests into a single executable (testsuite).
+				The cmake build generates a number of executables which can be run using the ctest
+				tool. Some unit tests will fail if sed and gzip are not available.
+			</p>
+		</section>
+
+		<section name="Covered by the team">
+			<p>
+				The following table provides an overview about the environments some of the team
+				members have access to and therefore normally should work out of the box or at
+				least were used sometimes in the past. This list by no means tells something about
+				how good the support on each platform is, it's just a guide.
+			</p>
+
+			<table>
+				<caption>Environments in use</caption>
+				<thead>
+					<tr>
+						<th id="os">OS</th>
+						<th id="os_arch">Architecture</th>
+						<th id="environment">Environment</th>
+						<th id="compiler">Compiler</th>
+						<th id="compiler_arch">Architecture</th>
+					</tr>
+				</thead>
+				<tbody>
+					<!-- Windows -->
+					<tr>
+						<td	headers="os"
+							rowspan="9">
+							Windows 7
+						</td>
+						<td	headers="os_arch"
+							rowspan="9">
+							x64
+						</td>
+						<td	headers="environment"
+							rowspan="6">
+							Win32
+						</td>
+						<td	headers="compiler">
+							MS Visual Studio 2008
+						</td>
+						<td	headers="compiler_arch"
+							rowspan="5">
+							x86 and x64
+						</td>
+					</tr>
+					<tr>
+						<td headers="compiler">MS Visual Studio 2010 (Pro)</td>
+					</tr>
+					<tr>
+						<td headers="compiler">MS Visual Studio 2010 (Express)</td>
+					</tr>
+					<tr>
+						<td headers="compiler">MS Visual Studio 2012</td>
+					</tr>
+					<tr>
+						<td headers="compiler">MS Visual Studio 2013 (Express)</td>
+					</tr>
+					<tr>
+						<td headers="compiler">Embarcadero C++ Builder XE 4</td>
+						<td headers="compiler_arch">x86</td>
+					</tr>
+					<tr>
+						<td	headers="environment"
+							rowspan="2">
+							MinGW
+						</td>
+						<td	headers="compiler">
+							gcc 4.5.4
+						</td>
+						<td	headers="compiler_arch"
+							rowspan="3">
+							x86 and x64
+						</td>
+					</tr>
+					<tr>
+						<td headers="compiler">gcc 4.6.4</td>
+					</tr>
+					<tr>
+						<td headers="environment">Cygwin</td>
+						<td headers="compiler">gcc 4.8.2</td>
+					</tr>
+					<tr>
+						<td headers="os">Windows 10</td>
+						<td headers="os_arch">x64</td>
+						<td headers="environment">Win32</td>
+						<td headers="compiler">MS Visual Studio 2019 (Community)</td>
+						<td headers="compiler_arch">x86</td>
+					</tr>
+					<!-- Linux -->
+					<tr>
+						<td	headers="os"
+							rowspan="2">
+							Debian
+						</td>
+						<td	headers="os_arch"
+							rowspan="2">
+							x86
+						</td>
+						<td	headers="environment"
+							rowspan="14">
+							Posix
+						</td>
+						<td	headers="compiler">
+							gcc
+						</td>
+						<td	headers="compiler_arch"
+							rowspan="2">
+							x86
+						</td>
+					</tr>
+					<tr>
+						<td headers="compiler">clang</td>
+					</tr>
+					<tr>
+						<td	headers="os" rowspan="8">
+							Ubuntu and Scientific Linux
+						</td>
+						<td	headers="os_arch"
+							rowspan="10">
+							x64
+						</td>
+						<td	headers="compiler">
+							gcc 4.5
+						</td>
+						<td	headers="compiler_arch"
+							rowspan="8">
+							x86 and x64
+						</td>
+					</tr>
+					<tr>
+						<td headers="compiler">gcc 4.6</td>
+					</tr>
+					<tr>
+						<td headers="compiler">gcc 4.7</td>
+					</tr>
+					<tr>
+						<td headers="compiler">gcc 4.8</td>
+					</tr>
+					<tr>
+						<td headers="compiler">gcc 7.5</td>
+					</tr>
+					<tr>
+						<td headers="compiler">Intel 11.1</td>
+					</tr>
+					<tr>
+						<td headers="compiler">Intel 12.1</td>
+					</tr>
+					<tr>
+						<td headers="compiler">Intel 13.1</td>
+					</tr>
+					<tr>
+						<td headers="os">Red Hat</td>
+						<td headers="compiler">gcc</td>
+					</tr>
+					<!-- Mac OS X -->
+					<tr>
+						<td headers="os">Mac OS X 10.9 Mavericks</td>
+						<td headers="compiler">Xcode 5.0.2</td>
+						<td headers="compiler_arch">x64</td>
+					</tr>
+					<!-- Arm -->
+					<tr>
+						<td headers="os">Raspian</td>
+						<td headers="os_arch">armv7</td>
+						<td headers="compiler">gcc 8.3</td>
+						<td headers="compiler_arch">armv7</td>
+					</tr>
+					<tr>
+						<td headers="os">Ubuntu 20.04</td>
+						<td headers="os_arch">armv8</td>
+						<td headers="compiler">gcc 9.10</td>
+						<td headers="compiler_arch">aarch</td>
+					</tr>
+				</tbody>
+			</table>
+		</section>
+	</body>
+</document>