Jag får inte till paketinformationen när jag kör javadoc. I paketet pasture (alltså i samma katalog) har jag nu en fil package-info.java med följande innehåll:
/*
@(#)package.html 1.60 98/01/27
Copyright 1998 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.
This software is the confidential and proprietary information of Sun
Microsystems, Inc. ("Confidential Information"). You shall not
disclose such Confidential Information and shall use it only in
accordance with the terms of the license agreement you entered into
with Sun.
CopyrightVersion 1.2
*/
/*
##### THIS IS THE TEMPLATE FOR THE PACKAGE DOC COMMENTS. #####
##### TYPE YOUR PACKAGE COMMENTS HERE. BEGIN WITH A #####
##### ONE-SENTENCE SUMMARY STARTING WITH A VERB LIKE: #####
*/
/**
Provides for....
<h2>Package Specification</h2>
##### FILL IN ANY SPECS NEEDED BY JAVA COMPATIBILITY KIT #####
<ul>
<li><a href="">##### REFER TO ANY FRAMEMAKER SPECIFICATION HERE #####</a>
</ul>
<h2>Related Documentation</h2>
For overviews, tutorials, examples, guides, and tool documentation, please see:
<ul>
<li><a href="">##### REFER TO NON-SPEC DOCUMENTATION HERE #####</a>
</ul>
<!-- Put @see and @since tags down here. -->
*/
package pasture;
Men när jag kör javadoc så får jag ingen information om paketet. Paketen pasture och simulation hittas och alla dess klasser/exceptions/interface men bredvid paketnamnen syns ingen som helst information. Inte heller när jag klickar på pasture så kommer någon paketinformation upp.
Exemplet hittade jag här. Har även provat döpa om den till package.html men utan framgång (vad jag förstår så är det package-info.java som gäller numera).
Vad har jag missat?