ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: InvocationTargetException tying to build do a javadoc command
Date Mon, 11 Aug 2003 16:43:47 GMT
sourcepath should be ".", not "com"
try to nest a fileset to make the task search only under com/..

<target name="javadoc" description="javadoc - create javadoc">
      <mkdir dir="docs/api"/>
      <javadoc
    sourcepath="."
            defaultexcludes="yes"
    packagenames="com.company1.*, com.company2.*"
            destdir="docs/api"
            author="true"
            version="true"
            use="true"
            windowtitle="MyCompany API">
         <classpath refid="classpath"/>
         <fileset dir=".">
              <include name="com/**/*.java"/>
         </fileset>
  </javadoc>
   </target>

Antoine
----- Original Message -----
From: "Anthony Smith" <anthony.smith@fedex.com>
To: <user@ant.apache.org>
Sent: Monday, August 11, 2003 6:32 PM
Subject: InvocationTargetException tying to build do a javadoc command


>
> I run this target and get the following error at the bottom:
>
> The build.xml file is located in the same directory where the com folder
is
> located.
>
>
>  <target name="javadoc" description="javadoc - create javadoc">
>      <mkdir dir="docs/api"/>
>      <javadoc
>    sourcepath="com"
>            defaultexcludes="yes"
>    packagenames="com.company1.*, com.company2.*"
>            destdir="docs/api"
>            author="true"
>            version="true"
>            use="true"
>            windowtitle="MyCompany API">
>         <classpath refid="classpath"/>
>  </javadoc>
>   </target>
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message