I've added this to the build.xml.

Thanks
Andy

Caleb Cushing wrote:
> this was passed to me by another dev that's been helping me build my
> ebuild.
>
> --- build.xml 2008-12-31 12:14:04.000000000 -0800
> +++ build-new.xml     2009-02-16 15:34:19.000000000 -0800
> @@ -35,6 +35,7 @@
>    <!-- set global properties for this build -->
>    <property name="build" value="./build/classes/"/>
>    <property name="src" value="./src/"/>
> +  <property name="docs" value="./javadoc"/>
>    <property name="dist" value="./build/targets/"/>
>    <property name="jarpath" value="./lib/"/>
>    <property name="webinf.jarpath" value="./webapp/WEB-INF/lib/"/>
> @@ -94,6 +95,7 @@
>               <tstamp/>
>               <mkdir dir="${build}"/>
>               <mkdir dir="${dist}"/>
> +             <mkdir dir="${docs}"/>
>       </target>
>
>       <target name="clean">
> @@ -291,8 +293,14 @@
>
>               <!-- build WAR file -->
>               <zip destfile="./build/j2ee/openbd.war" basedir="./build/j2ee/
> webapp"/>
> -
> -
> -
>       </target>
> +
> +             <target name="docs" depends="init">
> +                     <javadoc sourcepath="${src}"
> +                             destdir="${docs}"
> +                             author="true"
> +                             version="true"
> +                             use="true"
> +                             windowtitle="${ant.project.name} API"/>
> +             </target>
>  </project>
>
> >
>   


--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to