Thank you, but it does not work.
I got the same error message.
[javadoc] javadoc: Illegal package name:
C:\myprj\src\my\pkg\db\package.html"
And this is the javadoc part of my Ant build.xml.
<!-- building javadoc -->
<target name="apidoc" depends="prepare">
<javadoc destdir="${apidoc.dir}" charset="utf-8" use="true">
<classpath refid="classpath" />
<fileset dir="${src.dir}">
<include name="**/*" />
<exclude name="**/*.properties" />
</fileset>
</javadoc>
</target>
"prepare" target just makes some directories.
What am I doing wrong??
Regards,
KwonNam.
Tobias Schierge :
> Thank you, but it does not work.
> I got the same error message.
>
> [javadoc] javadoc: Illegal package name:
> C:\myprj\src\my\pkg\db\package.html"
Looks like a javadoc problem. What files are being selected from the
<fileset>? Maybe you are including something you don't want to. When you
run ant use the -verbose flag and/or the -debug flag. Look at the output
and see if something jumps out at you.
> And this is the javadoc part of my Ant build.xml.
> <!-- building javadoc -->
[quoted text clipped - 25 lines]
> >
> > Tobias

Signature
Send e-mail to: darrell dot grainger at utoronto dot ca
Son KwonNam - 01 Jun 2005 12:24 GMT
I tried packageset instead of fileset with package.html files, and I
succeeded!
<!-- building javadoc -->
<target name="apidoc" depends="prepare">
<javadoc destdir="${apidoc.dir}" charset="euc-kr" use="true">
<classpath refid="classpath" />
<packageset dir="${src.dir}" defaultexcludes="yes">
<include name="mypkg/**" />
</packageset>
</javadoc>
</target>
Thanks,
KwonNam.
. wrote:
>>Thank you, but it does not work.
>>I got the same error message.
[quoted text clipped - 37 lines]
>>>
>>>Tobias