Author: ihabunek
Date: Sat Aug 18 09:19:56 2012
New Revision: 1374533

URL: http://svn.apache.org/viewvc?rev=1374533&view=rev
Log:
Replaced phpdoc with apigen, at least until phpdoc v2 is stable.

Added:
    logging/log4php/trunk/apigen.neon
Modified:
    logging/log4php/trunk/build.xml

Added: logging/log4php/trunk/apigen.neon
URL: 
http://svn.apache.org/viewvc/logging/log4php/trunk/apigen.neon?rev=1374533&view=auto
==============================================================================
--- logging/log4php/trunk/apigen.neon (added)
+++ logging/log4php/trunk/apigen.neon Sat Aug 18 09:19:56 2012
@@ -0,0 +1,21 @@
+# 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.
+
+source: src/main/php
+destination: target/site/apidocs
+charset: UTF-8
+title: Apache log4php
+progressbar: no
+googleAnalytics: UA-26177991-1

Modified: logging/log4php/trunk/build.xml
URL: 
http://svn.apache.org/viewvc/logging/log4php/trunk/build.xml?rev=1374533&r1=1374532&r2=1374533&view=diff
==============================================================================
--- logging/log4php/trunk/build.xml (original)
+++ logging/log4php/trunk/build.xml Sat Aug 18 09:19:56 2012
@@ -117,7 +117,7 @@
        <condition property="phpunit.exec" value="phpunit.bat" else="phpunit">
                <os family="windows" />
        </condition>
-       <condition property="phpdoc.exec" value="phpdoc.bat" else="phpdoc">
+       <condition property="apigen.exec" value="apigen.bat" else="apigen">
                <os family="windows" />
        </condition>
        <condition property="pear.exec" value="pear.bat" else="pear">
@@ -160,20 +160,10 @@
                </move>
        </target>
        
-       <!-- Generates API documentation (requires phpdoc). -->
+       <!-- Generates API documentation (requires apigen). -->
        <target name="api-docs">
                <mkdir dir="target/site/apidocs" />
-               <exec executable="${phpdoc.exec}" failonerror="true">
-                       <arg value="-d" />
-                       <arg value="src/main/php" />
-                       <arg value="-t" />
-                       <arg value="target/site/apidocs" />
-                       <arg value="-o" />
-                       <arg value="HTML:frames:DOM/default" />
-                       <arg value="-ti" />
-                       <arg value="Apache log4php ${project.version} - 
GENERATED FILES - License: ASL 2.0" />
-                       <arg value="--parseprivate" />
-               </exec>
+               <exec executable="${apigen.exec}" failonerror="true" />
        </target>
        
        <!-- Copies google custom engine definition to site folder. -->


Reply via email to