You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by gg...@apache.org on 2013/09/11 05:41:09 UTC
svn commit: r1521725 - in /logging/log4j/log4j2/trunk/src/site: pdf.xml
site.xml
Author: ggregory
Date: Wed Sep 11 03:41:08 2013
New Revision: 1521725
URL: http://svn.apache.org/r1521725
Log:
Replacing "&" with "and" in the text of the docs fixes PDF generation on my machine. Otherwise "mvn clean site" does not work for me. This is odd as others on the ML report that PDF generation works for them. Before this, I would get:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-pdf-plugin:1.2:pdf (pdf) on project log4j: Error during document generation: Error creating PDF from C:\vcs\svn\apache\log4j2\trunk\target\pdf\log4j-users-guide.fo:23:9
0
[ERROR] org.xml.sax.SAXParseException; systemId: file:/C:/vcs/svn/apache/log4j2/trunk/target/pdf/log4j-users-guide.fo; lineNumber: 23; columnNumber: 90; The entity name must immediately follow the '&' in the entity reference.
Modified:
logging/log4j/log4j2/trunk/src/site/pdf.xml
logging/log4j/log4j2/trunk/src/site/site.xml
Modified: logging/log4j/log4j2/trunk/src/site/pdf.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/pdf.xml?rev=1521725&r1=1521724&r2=1521725&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/pdf.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/pdf.xml Wed Sep 11 03:41:08 2013
@@ -32,7 +32,7 @@
<item name="Log4j 1.x Migration" ref="manual/migration.html"/>
<item name="API" ref="/manual/api.html"/>
<item name="Configuration" ref="/manual/configuration.html"/>
- <item name="Web Applications & JSPs" ref="/manual/webapp.html"/>
+ <item name="Web Applications and JSPs" ref="/manual/webapp.html"/>
<item name="Plugins" ref="/manual/plugins.html"/>
<item name="Lookups" ref="/manual/lookups.html"/>
<item name="Appenders" ref="/manual/appenders.html"/>
Modified: logging/log4j/log4j2/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/site.xml?rev=1521725&r1=1521724&r2=1521725&view=diff
==============================================================================
--- logging/log4j/log4j2/trunk/src/site/site.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/site.xml Wed Sep 11 03:41:08 2013
@@ -61,7 +61,7 @@
<item name="Unit Testing in Maven" href="/manual/configuration.html#UnitTestingInMaven"/>
</item>
- <item name="Web Applications & JSPs" href="/manual/webapp.html" collapse="true">
+ <item name="Web Applications and JSPs" href="/manual/webapp.html" collapse="true">
<item name="Servlet 3.0 and Newer" href="/manual/webapp.html#Servlet-3.0" />
<item name="Servlet 2.5" href="/manual/webapp.html#Servlet-2.5" />
<item name="Context Parameters" href="/manual/webapp.html#ContextParams" />