Hi,

I am new to xJavadoc and I wonder how I could call xJavadoc from Apache
Ant???

To generate normal Sun Java documentation using standard Sun javadoc, we
just need to create a simple build.xml with the following task: {or simply
run javadoc command from command prompt under windows}

<target name="apijavadoc">
        <mkdir dir="${prod}/api"/>
        <fileset dir="${api}/">
          <include name="**/*.java"/>
          <exclude name="**/*Impl.java"/>
        </fileset>
        <javadoc packagenames="com.abc.*,com.xyz.*"
           sourcepath="src"
           excludepackagenames=""
           defaultexcludes="yes"
           destdir="${prod}/api"
           author="true"
           version="true"
           use="true"
           windowtitle="API"
           nodeprecated="true"
           public="true">
        </javadoc>
</target>

However, as xJavadoc is not one of the core or optional task defined in
Apache Ant, does it mean I have to write my own task in order to run
xJavadoc from Apache Ant?

I have searched through xJavadoc site and found no executables (only the
library .jar). Does anyone know how I could start with this? I am hoping to
get some executables to try directly. Like: "xjavadoc com.xyz.*" in command
prompt

The main purposes for me to use xJavadoc are such that I could:
- exclude some classes from a package
- exclude some apis from a class
when generating java api documentation.

Have anyone try this before, if so, please give me some advice on this.

Thanks in advance!

Best regards,
Sue



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to