Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / Tools / June 2005

Tip: Looking for answers? Try searching our database.

Ant's javadoc does not take packages.html?

Thread view: 
Son KwonNam - 28 May 2005 16:05 GMT
I made a javadoc task and i put packages.html files in packages directories.

But ant shows me error messages.

[javadoc] javadoc: Illegal package name:
"/home/kwon37xi/workspace/myprj/src/net/kldp/jsd/packages.html"

How can I make Ant to recognize packages.html??

Thanks,
KwonNam.
Tobias Schierge - 29 May 2005 17:29 GMT
Hi,

> How can I make Ant to recognize packages.html??

Rename it to package.html

Regards,

Tobias
Signature

<http://www.schierge.de/tobias/>

Son KwonNam - 30 May 2005 01:28 GMT
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 :
> Hi,
>
[quoted text clipped - 5 lines]
>
> Tobias
"." - 30 May 2005 22:09 GMT
> 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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.