Changeset 1725

Show
Ignore:
Timestamp:
07/21/08 00:37:33 (4 months ago)
Author:
mikey
Message:

add support for api doc creation

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • labs/incubator/build.xml

    r1718 r1725  
    174174  <target name="test-all" depends="test, test-integration" description="Runs all available checks and tests."/> 
    175175 
     176  <target name="create-api-doc" description="Creates API docs"> 
     177    <delete> 
     178      <fileset dir="${stubbles.base.dir}/docs/api"> 
     179        <include name="**/*"/> 
     180      </fileset> 
     181    </delete> 
     182    <phpdoc title="Stubbles" 
     183            destdir="${stubbles.base.dir}/docs/api" 
     184            sourcecode="yes" 
     185            output="HTML:frames:DOM/earthli" 
     186            defaultpackagename="stubbles"> 
     187      <fileset dir="src/main/php"> 
     188        <include name="**/*.php"/> 
     189        <exclude name="**/org/**"/> 
     190      </fileset> 
     191    </phpdoc> 
     192  </target> 
     193 
    176194  <target name="clear-cache" description="Clears all cache files."> 
    177195    <delete file="${stubbles.base.dir}/lib/.cache" verbose="true"/>