You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4cxx-dev@logging.apache.org by ts...@apache.org on 2016/03/25 20:41:49 UTC

svn commit: r1736647 - in /incubator/log4cxx/trunk: build.xml src/site/apt/building/maven.apt

Author: tschoening
Date: Fri Mar 25 19:41:49 2016
New Revision: 1736647

URL: http://svn.apache.org/viewvc?rev=1736647&view=rev
Log:
Project file generation moved to autogen, because this si called during a release and "site" itself doesn't use the generated project files anyway. They only need to exist for a release.

Modified:
    incubator/log4cxx/trunk/build.xml
    incubator/log4cxx/trunk/src/site/apt/building/maven.apt

Modified: incubator/log4cxx/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/build.xml?rev=1736647&r1=1736646&r2=1736647&view=diff
==============================================================================
--- incubator/log4cxx/trunk/build.xml (original)
+++ incubator/log4cxx/trunk/build.xml Fri Mar 25 19:41:49 2016
@@ -2003,7 +2003,7 @@
 	</target>
 
 	<target	name="site"
-			depends="apidocs, gen-release-projects">
+			depends="apidocs">
 		<replace	dir="${target.dir}/site"
 					includes="**/*.html">
 			<replacetoken>&lt;html</replacetoken>
@@ -2138,6 +2138,14 @@
 		<exec executable="sh">
 			<arg value="autogen.sh" />
 		</exec>
+
+		<!--
+			This was coupled with "site" originally, but made building "site" itself on Windows unneccessary
+			hard and the projects are not even used on the website, but only in releases instead. This target
+			is called in that case and some part of project files generation is unix centered already, too.
+		 -->
+		<antcall target="gen-release-projects">
+		</antcall>
 	</target>
 </project>
 

Modified: incubator/log4cxx/trunk/src/site/apt/building/maven.apt
URL: http://svn.apache.org/viewvc/incubator/log4cxx/trunk/src/site/apt/building/maven.apt?rev=1736647&r1=1736646&r2=1736647&view=diff
==============================================================================
--- incubator/log4cxx/trunk/src/site/apt/building/maven.apt (original)
+++ incubator/log4cxx/trunk/src/site/apt/building/maven.apt Fri Mar 25 19:41:49 2016
@@ -62,7 +62,7 @@ $ mvn package
 *--------------------------+---------------------------------------------------------------------------------------------+
 | package                  | build logcxx library and build and run unit tests and examples.                             |
 *--------------------------+---------------------------------------------------------------------------------------------+
-| site                     | Generate documentation and IDE project files, requires doxygen.                             |
+| site                     | Generate website and apidoc files, requires doxygen.                                        |
 *--------------------------+---------------------------------------------------------------------------------------------+
 | site assembly:assembly   | Generate snapshot tarball and zip file.                                                     |
 *--------------------------+---------------------------------------------------------------------------------------------+