Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Puzzling javadoc behavior

Thread Tools

Puzzling javadoc behavior
Posts: n/a
I am using javadoc and found some puzzling behavior. Can anyone please
explain it to me?

I have the following directories


and files

mypackage/, which contains the illegal character
\35, on purpose. The reason for that will be soon clear.

javadoc -d docs temp/mypackage/

Gives me the message

..\mypackage\ illegal character: \35

My question is: why does javadoc even look at directory mypackage at
all? It was told to process temp/mypackage/ only. In
other words, why are files in mypackage relevant at all?

In fact, if I rename mypackage to something else, everything works as

Clearly, javadoc is assuming there may be a source code tree with the
processed packages from the current directory, but was is the purpose
of such an assumption?

Any help appreciated. Thank you.


Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
a puzzling document.write behavior VK Javascript 4 03-30-2008 09:35 AM
More puzzling behavior while subclassing datetime Python 3 11-16-2006 10:52 AM
Puzzling Virtual Directory Behavior Jav ASP General 3 06-11-2006 09:06 PM
puzzling behavior in simple variable comparison Perl Misc 5 09-27-2005 02:33 AM
Puzzling Browser Refresh and session attribute behavior GIMME Java 1 04-14-2004 11:27 PM