Author: carnold
Date: Fri Jul 20 19:55:18 2007
New Revision: 558232

URL: http://svn.apache.org/viewvc?view=rev&rev=558232
Log:
Tweak web site publishing

Modified:
    incubator/log4php/trunk/   (props changed)
    incubator/log4php/trunk/build.xml
    incubator/log4php/trunk/pom.xml
    incubator/log4php/trunk/src/site/apt/download.apt
    incubator/log4php/trunk/src/site/site.xml

Propchange: incubator/log4php/trunk/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Jul 20 19:55:18 2007
@@ -1,3 +1 @@
-build
-dist
-build.properties
+target

Modified: incubator/log4php/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/build.xml?view=diff&rev=558232&r1=558231&r2=558232
==============================================================================
--- incubator/log4php/trunk/build.xml (original)
+++ incubator/log4php/trunk/build.xml Fri Jul 20 19:55:18 2007
@@ -102,12 +102,41 @@
        </target>
 
        <target name="post-site" depends="checkout-site, update-site"/>
+
+        <target name="mime=html">
+            <exec executable="svn">
+               <arg value="propset"/>
+                <arg value="svn:mime-type"/>
+                <arg value="text/html"/>
+                <arg value="${src.html}"/>
+            </exec>
+        </target>
+
+        <target name="mime=css">
+            <exec executable="svn">
+               <arg value="propset"/>
+                <arg value="svn:mime-type"/>
+                <arg value="text/css"/>
+                <arg value="${src.css}"/>
+            </exec>
+        </target>
        
        <target name="site-deploy">
                <!-- Add any new files (and generate innocuous warnings for the 
existing content)  -->
-               <exec executable="csh" dir="target/site-deploy" 
failonerror="true">
+                <delete file="target/site-deploy/svn-commit.tmp~"/>
+               <exec executable="bash" dir="target/site-deploy" 
failonerror="true">
                        <arg line='-c "svn add --force *"'/>
                </exec>
+                <foreach target="mime=html" param="src.html">
+                        <path>
+                                <fileset dir="target/site-deploy" 
includes="**/*.html"/>
+                        </path>
+                </foreach>
+                <foreach target="mime=css" param="src.css">
+                        <path>
+                                <fileset dir="target/site-deploy" 
includes="**/*.css"/>
+                        </path>
+                </foreach>
                <!--  requires that SVN_EDITOR, VISUAL or EDITOR being set to 
edit commit description -->
                <exec executable="svn" dir="target/site-deploy" 
failonerror="true">
                    <arg value="commit"/>

Modified: incubator/log4php/trunk/pom.xml
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/pom.xml?view=diff&rev=558232&r1=558231&r2=558232
==============================================================================
--- incubator/log4php/trunk/pom.xml (original)
+++ incubator/log4php/trunk/pom.xml Fri Jul 20 19:55:18 2007
@@ -189,7 +189,6 @@
             <reports>
               <report>scm</report>
               <report>dependencies</report>
-              <report>cim</report>
               <report>issue-tracking</report>
               <report>mailing-list</report>
               <report>license</report>

Modified: incubator/log4php/trunk/src/site/apt/download.apt
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/site/apt/download.apt?view=diff&rev=558232&r1=558231&r2=558232
==============================================================================
--- incubator/log4php/trunk/src/site/apt/download.apt (original)
+++ incubator/log4php/trunk/src/site/apt/download.apt Fri Jul 20 19:55:18 2007
@@ -22,18 +22,5 @@
 
   Apache log4php is distributed under the 
{{{http://www.apache.org/licenses/LICENSE-2.0.html} Apache License, version 
2.0}}.
 
-  The link in the Mirrors column should display a list of available mirrors 
with a
-  default selection based on your inferred location.  If you do not see that 
page,
-  try a different browser.  The checksum and signature are links to
-  the originals on the main distribution server.
-  
-*-------------------------+---------+----------+-----------+
-|                         | Mirrors | Checksum | Signature |
-*-------------------------+---------+----------+-----------+
-| apache-log4php-2.0 (tar.gz)      | 
{{{http://www.apache.org/dyn/closer.cgi/logging/log4j/companions/component/1.0/apache-log4php-2.0.tar.gz}
 apache-log4php-2.0.tar.gz}} | 
{{{http://www.apache.org/dist/logging/log4j/companions/component/1.0/apache-log4php-2.0.tar.gz.md5}
 apache-log4php-2.0.tar.gz.md5}} | 
{{{http://www.apache.org/dist/logging/log4j/companions/component/1.0/apache-log4php-2.0.tar.gz.asc}
 apache-log4php-2.0.tar.gz.asc}} |
-*-------------------------+---------+----------+-----------+
-| apache-log4php-2.0 (zip)      | 
{{{http://www.apache.org/dyn/closer.cgi/logging/log4j/companions/component/1.0/apache-log4php-2.0.zip}
 apache-log4php-2.0.zip}} | 
{{{http://www.apache.org/dist/logging/log4j/companions/component/1.0/apache-log4php-2.0.zip.md5}
 apache-log4php-2.0.zip.md5}} | 
{{{http://www.apache.org/dist/logging/log4j/companions/component/1.0/apache-log4php-2.0.zip.asc}
 apache-log4php-2.0.zip.asc}} |
-*-------------------------+---------+----------+-----------+
 
-  Please read {{{http://httpd.apache.org/dev/verification.html}Verifying 
Apache HTTP Server Releases}}
-   for more information on why you should verify our releases.
+   No releases have yet been made.

Modified: incubator/log4php/trunk/src/site/site.xml
URL: 
http://svn.apache.org/viewvc/incubator/log4php/trunk/src/site/site.xml?view=diff&rev=558232&r1=558231&r2=558232
==============================================================================
--- incubator/log4php/trunk/src/site/site.xml (original)
+++ incubator/log4php/trunk/src/site/site.xml Fri Jul 20 19:55:18 2007
@@ -49,7 +49,14 @@
         
         <menu name="Development">
                 <item name="Repository" href="/source-repository.html"/>
-                <item name="Continuous Integration" href="/integration.html"/>
         </menu>
+
+       <menu name="Apache">
+               <item name="Home" href="http://www.apache.org"/>        
+               <item name="Sponsorship" 
href="http://www.apache.org/foundation/sponsorship.html"/>
+               <item name="Thanks" 
href="http://www.apache.org/foundation/thanks.html"/>
+               <item name="Conferences" href="http://www.apachecon.com"/>
+       </menu>
+
   </body>
 </project>


Reply via email to