21

What is snapshot builds/sources version?

2

2 Answers 2

31

Specific to JDK 7, snapshot releases are for users to download and review while the platform is still being developed.

http://www.oracle.com/technetwork/java/javase/downloads/ea-jsp-142245.html

As a general source control (version control) term, a snapshot version indicates a view of the source code taken at a specific time. This is not necessarily stable or ready for full use and can be changed in the future, as opposed to a release version which is stable and should be final.

1
  • Nice reference. Thank you. Apr 10, 2015 at 13:35
7

That's another name for so-called daily build (or periodic build or nightly build). A script just builds all the sources periodically. This way anyone who is interested in the recent changes can have the almost freshest version every day. A tag is applied to the sources in the repository so that they can be later retrieved to reproduce the build - that forms "a snapshot" of the sources for that build.

Compare this to "official release" - it is carefully planned. Usually a separate branch is created in the repository where only necessary edits are committed. Then after the team decides it is good enough they run the build process, test it thoroughly and publish.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.