demo vs. sample directories in the jdk
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Wed Mar 16 14:59:40 UTC 2011
2011/3/16 7:55 -0700, alan.bateman at oracle.com:
> ... Today we have a "sample" and a "demo" directory and
> it's not always clear where to put new sample code. I'm trying to remember why
> we have two locations. I think, but might be wrong, that the demo directory is
> sample code that is compiled by the build so that both the source and
> "ready-to-run" binaries are in the JDK image. The sample directory on the other
> hand is sample code that is not compiled by the build but instead is just
> copied into the JDK image along with a build.xml or projects files. Is that
> right?
Yep.
- Mark
More information about the build-dev
mailing list