Does nobody build documentation?

Andrew John Hughes gnu_andrew at member.fsf.org
Thu Jan 7 17:14:40 PST 2010


2010/1/8 Kelly O'Hair <Kelly.Ohair at sun.com>:
>
> Not many jdk developers build the docs on a regular basis that I know of.
> The docs are certainly built nightly from the master area (jdk7/jdk7),
> and should be built as part of the promoted build process.
>
> I have not seen this problem before. I noticed that the sourcepath is a
> little strange:
>   -sourcepath
>
> "../../src/share/classes:../../src/solaris/classes:/mnt/builder/icedtea/gensrc:../../src/share/doc/stub:/share/classes:/mnt/builder/icedtea/impsrc"
>  \
>
> It include a path /share/classes ????
>
> -kto
>

RELEASEDOCS_SRCPATH =
"$(SHARE_SRC)/classes$(CLASSPATH_SEPARATOR)$(PLATFORM_SRC)/classes$(CLASSPATH_SEPARATOR)$(GENSRCDIR)$(CLASSP\
ATH_SEPARATOR)$(SHARE_SRC)/doc/stub$(CLASSPATH_SEPARATOR)$(CLOSED_SRC)/share/classes$(CLASSPATH_SEPARATOR)$(IMPORTSRCDIR)"

CLOSED_SRC isn't set when binary plugs aren't imported so you end up
with /share/classes.  It doesn't exist so it's not going to do any
damage.

Strangely, building the docs via IcedTea on the same tree worked.  The
sourcepath is the same for both.  IcedTea seems to set
ALT_JDK_IMPORT_PATH for some reason, while my OpenJDK build doesn't so
that may be the issue.
-- 
Andrew :-)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net

PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint: F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8


More information about the jdk7-dev mailing list