svn commit: r1364214 - in /logging/log4j/log4j2/trunk: pom.xml src/site/resources/css/site.css src/site/site.vm src/site/site.xml

2012-07-21 Thread rgoers
Author: rgoers
Date: Sun Jul 22 04:54:46 2012
New Revision: 1364214

URL: http://svn.apache.org/viewvc?rev=1364214&view=rev
Log:
Fix footer and sidebar formatting

Added:
logging/log4j/log4j2/trunk/src/site/resources/css/site.css
logging/log4j/log4j2/trunk/src/site/site.vm
Modified:
logging/log4j/log4j2/trunk/pom.xml
logging/log4j/log4j2/trunk/src/site/site.xml

Modified: logging/log4j/log4j2/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/pom.xml?rev=1364214&r1=1364213&r2=1364214&view=diff
==
--- logging/log4j/log4j2/trunk/pom.xml (original)
+++ logging/log4j/log4j2/trunk/pom.xml Sun Jul 22 04:54:46 2012
@@ -257,6 +257,8 @@
   
 navigation.xml,changes.xml
   
+  ${log4j.parent.dir}/src/site
+  site.vm
 
   
   
+#macro ( topMenu $menus )
+#foreach( $menu in $menus )
+#if ( $menu.name )
+
+$menu.name 
+
+#foreach( $item in $menu.items )
+#set ( $currentItemHref = $PathTool.calculateLink( 
$item.href, $relativePath ) )
+#set ( $currentItemHref = $currentItemHref.replaceAll( 
'\\', '/' ) )
+#topLink( $currentItemHref $item.name $item.target 
)
+#end
+
+
+#end
+#end
+#end
+##
+#macro ( topLink $href $name $target )
+#set ( $linkTitle = ' title="' + $name + '"' )
+#if( $target )
+#set ( $linkTarget = ' target="' + $target + '"' )
+#else
+#set ( $linkTarget = "" )
+#end
+$name
+#end
+##
+#macro ( topLinks $links )
+#set ( $counter = 0 )
+#foreach( $item in $links )
+#set ( $counter = $counter + 1 )
+#set ( $currentItemHref = $PathTool.calculateLink( $item.href, 
$relativePath ) )
+#set ( $currentItemHref = $currentItemHref.replaceAll( '\\', '/' ) )
+#topLink( $currentItemHref $item.name $item.target )
+#end
+#end
+##
+#macro ( link $href $name $target $img $position $alt $border $width $height )
+#set ( $linkTitle = ' title="' + $name + '"' )
+#if( $target )
+#set ( $linkTarget = ' target="' + $target + '"' )
+#else
+#set ( $linkTarget = "" )
+#end
+#if ( $href.toLowerCase().startsWith("http:/") || 
$href.toLowerCase().startsWith("https:/") ||
+$href.toLowerCase().startsWith("ftp:/") || 
$href.toLowerCase().startsWith("mailto:";) ||
+$href.toLowerCase().startsWith("file:/") || 
($href.toLowerCase().indexOf("://") != -1) )
+#set ( $linkClass = ' class="externalLink"' )
+#else
+#set ( $linkClass = "" )
+#end
+#if ( $img )
+#if ( $position == "left" )
+#image($img $alt 
$border $width $height)$name
+#else
+$name #image($img $alt 
$border $width $height)
+#end
+#else
+$name
+#end
+#end
+##
+#macro ( image $img $alt $border $width $height )
+#if( $img )
+#if ( ! ( $img.toLowerCase().startsWith("http:/") || 
$img.toLowerCase().startsWith("https:/") ||
+$img.toLowerCase().startsWith("ftp:/") || 
$img.toLowerCase().startsWith("mailto:";) ||
+$img.toLowerCase().startsWith("file:/") || 
($img.toLowerCase().indexOf("://") != -1) ) )
+#set ( $imgSrc = $PathTool.calculateLink( $img, $relativePath ) )
+#set ( $imgSrc = $imgSrc.replaceAll( '\\', '/' ) )
+#set ( $imgSrc = ' src="' + $imgSrc + '"' )
+#else
+#set ( $imgSrc = ' src="' + $img + '"' )
+#end
+#if( $alt )
+#set ( $imgAlt = ' alt="' + $alt + '"' )
+#else
+#set ( $imgAlt = ' alt=""' )
+#end
+#if( $border )
+#set ( $imgBorder = ' border="' + $border + '"' )
+#else
+#set ( $imgBorder = "" )
+#end
+#if( $width )
+#set ( $imgWidth = ' width="' + $width + '"' )
+#else
+#set ( $imgWidth = "" )
+#end
+#if( $height )
+#set ( $imgHeight = ' height="' + $height + '"' )
+#else
+#set ( $imgHeight = "" )
+#end
+
+#end
+#end
+#macro ( banner $banner $id )
+#if ( $banner )
+#if( $banner.href )
+#set ( $hrf = $banner.href )
+#if ( ! ( $hrf.toLowerCase().startsWith("http:/") || 
$hrf.toLowerCase().startsWith("https:/") ||
+$hrf.toLowerCase().startsWith("ftp:/") || 
$hrf.toLowerCase().startsWith("mailto:";) ||
+$hrf.toLowerCase().startsWith("file:/") || 
($hrf.toLowerCase().indexOf("://") != -1) ) )
+#set ( $hrf = $PathTool.calculateLink( $hrf, $relativePath ) )
+#set ( $hrf = $hrf.replaceAll( '\\', '/' ) )
+#if ( ( $hrf == '' ) )
+#set ( $hrf = './' )
+#end
+#end
+
+#else
+

svn commit: r1364193 - /logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm

2012-07-21 Thread rgoers
Author: rgoers
Date: Sat Jul 21 23:55:41 2012
New Revision: 1364193

URL: http://svn.apache.org/viewvc?rev=1364193&view=rev
Log:
Remove out of place paragraph

Modified:
logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm

Modified: logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm
URL: 
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm?rev=1364193&r1=1364192&r2=1364193&view=diff
==
--- logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm Sat Jul 21 23:55:41 
2012
@@ -38,9 +38,6 @@
   directory.
 
   
-
-  Applications that use Maven can retrieve the artifacts from the 
Maven Central repository by using
-
   

  To use Log4j 2 in your application make sure that both the API and 
Core jars are in the application's




svn commit: r1364192 - in /logging/log4j/log4j2/trunk/src/site/xdoc: build.xml build.xml.vm

2012-07-21 Thread rgoers
Author: rgoers
Date: Sat Jul 21 23:54:29 2012
New Revision: 1364192

URL: http://svn.apache.org/viewvc?rev=1364192&view=rev
Log:
Add content to Using in Applications section

Added:
logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm
  - copied, changed from r1361607, 
logging/log4j/log4j2/trunk/src/site/xdoc/build.xml
Removed:
logging/log4j/log4j2/trunk/src/site/xdoc/build.xml

Copied: logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm (from r1361607, 
logging/log4j/log4j2/trunk/src/site/xdoc/build.xml)
URL: 
http://svn.apache.org/viewvc/logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm?p2=logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm&p1=logging/log4j/log4j2/trunk/src/site/xdoc/build.xml&r1=1361607&r2=1364192&rev=1364192&view=diff
==
--- logging/log4j/log4j2/trunk/src/site/xdoc/build.xml (original)
+++ logging/log4j/log4j2/trunk/src/site/xdoc/build.xml.vm Sat Jul 21 23:54:29 
2012
@@ -42,7 +42,24 @@
   Applications that use Maven can retrieve the artifacts from the 
Maven Central repository by using
 
   
-
+   
+ To use Log4j 2 in your application make sure that both the API and 
Core jars are in the application's
+ classpath. With Maven add the dependencies listed below to your 
pom.xml.
+   
+