<project name="javadoc" default="generate">

<property name="packages" value="com.skype.*"/>
<property name="ipc.src" value="../../../../../ipc/java"/>
<property name="api.src" value="../../api"/>

<target name="generate">

	<echo>Generating javadoc documentation</echo>

	<javadoc
		packagenames="${packages}"
		stylesheetfile="skypekit_javadoc.css"
		destdir="../html"
		version="true"
		windowtitle="SkypeKit Java Wrapper Reference"
		linksource="yes"
		overview="overview.html">

		<fileset dir="${ipc.src}" >
			<include name="**/*.java"/>
			<exclude name="**/LocalSocketTransport.java"/>
			<exclude name="**/SkypeKitRunner.java"/>
		</fileset>
		<fileset dir="${api.src}" />

	   <bottom><![CDATA[<i>Copyright &#169; 2010, 2011 Skype Technologies. All Rights Reserved.</i>]]></bottom>
	</javadoc>

</target>

<target name="generate-android">
    
    <echo>Generating javadoc for Android</echo>
    <javadoc
        packagenames="${packages}"
        stylesheetfile="skypekit_javadoc.css"
		destdir="${javadoc.destdir}"
		version="true"
		windowtitle="SkypeKit Java Wrapper Reference"
		linksource="yes"
		overview="overview.html">

        <fileset dir="${ipc.src}"/>
		<fileset dir="${api.src}">
            <include name="**/*.java"/>
            <exclude name="client/**/*.java"/>
        </fileset>

	   <bottom><![CDATA[<i>Copyright &#169; 2010, 2011 Skype Technologies. All Rights Reserved.</i>]]></bottom>
	</javadoc>

</target>
</project>
