You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By contrast, however, I found it impossible to use "git clone" to obtain spring-boot source code examples. Below are some of my failed attempts. I finally realized the only way to get the "boot" code was to fork and then do a git clone from my own 29meg fork. You really did not mean to require that, did you? It means nobody can use boot examples unless they have a GitHub account and fork the entire boot repo. None of the other spring.io guides have that requirement. (See failed attempts to "git clone" below)
Spring Boot samples are not really the same as Getting Started Guides, and yes, we did intend them to be in the same repo as the rest of the code because we use them for integration testing. You certainly don't need to fork a repo to clone it from github, but then Spring Boot is nothing unusual there - Github has guides and quick links for downloads and clones that should work for everyone.
As @dsyer says above, if you want to see the extra samples, clone the whole spring-boot project and then you drill into spring-boot-cli/samples to see the integration scripts. They are nice snippets of using Spring Boot with the CLI.
The other http://spring.io guides provide a working example of how to obtain the source code examples. For instance, it says at http://spring.io/guides/gs/authenticating-ldap/
the following:
Download and unzip the source repository for this guide, or clone it using Git: git clone https://github.com/spring-guides/gs-authenticating-ldap.git
By contrast, however, I found it impossible to use "git clone" to obtain spring-boot source code examples. Below are some of my failed attempts. I finally realized the only way to get the "boot" code was to fork and then do a git clone from my own 29meg fork. You really did not mean to require that, did you? It means nobody can use boot examples unless they have a GitHub account and fork the entire boot repo. None of the other spring.io guides have that requirement. (See failed attempts to "git clone" below)
C:\rdg_dev\Spring\spring.io\tuts>git clone https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-simple
Cloning into 'spring-boot-sample-simple'...
fatal: repository 'https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/spring-boot-sample-simple/' not found
C:\rdg_dev\Spring\spring.io\tuts>git clone https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples
Cloning into 'spring-boot-samples'...
fatal: repository 'https://github.com/spring-projects/spring-boot/tree/master/spring-boot-samples/' not found
The text was updated successfully, but these errors were encountered: