Rename spring{framework-meta => -guides}

This commit is contained in:
Chris Beams 2013-08-24 14:52:42 +02:00
parent b2685d1458
commit 601aee94c7
1 changed files with 5 additions and 5 deletions

View File

@ -28,12 +28,12 @@ To **start from scratch**, move on to [Set up the project](#scratch).
To **skip the basics**, do the following: To **skip the basics**, do the following:
- [Download][zip] and unzip the source repository for this guide, or clone it using [Git][u-git]: - [Download][zip] and unzip the source repository for this guide, or clone it using [Git][u-git]:
`git clone https://github.com/springframework-meta/gs-batch-processing.git` `git clone https://github.com/spring-guides/gs-batch-processing.git`
- cd into `gs-batch-processing/initial`. - cd into `gs-batch-processing/initial`.
- Jump ahead to [Create a business class](#initial). - Jump ahead to [Create a business class](#initial).
**When you're finished**, you can check your results against the code in `gs-batch-processing/complete`. **When you're finished**, you can check your results against the code in `gs-batch-processing/complete`.
[zip]: https://github.com/springframework-meta/gs-batch-processing/archive/master.zip [zip]: https://github.com/spring-guides/gs-batch-processing/archive/master.zip
[u-git]: /understanding/Git [u-git]: /understanding/Git
@ -53,7 +53,7 @@ In a project directory of your choosing, create the following subdirectory struc
### Create a Gradle build file ### Create a Gradle build file
Below is the [initial Gradle build file](https://github.com/springframework-meta/gs-batch-processing/blob/master/initial/build.gradle). But you can also use Maven. The pom.xml file is included [right here](https://github.com/springframework-meta/gs-batch-processing/blob/master/initial/pom.xml). Below is the [initial Gradle build file](https://github.com/spring-guides/gs-batch-processing/blob/master/initial/build.gradle). But you can also use Maven. The pom.xml file is included [right here](https://github.com/spring-guides/gs-batch-processing/blob/master/initial/pom.xml).
`build.gradle` `build.gradle`
```gradle ```gradle
@ -432,7 +432,7 @@ For demonstration purposes, there is code to create a `JdbcTemplate`, query the
Now that your `Application` class is ready, you simply instruct the build system to create a single, executable jar containing everything. This makes it easy to ship, version, and deploy the service as an application throughout the development lifecycle, across different environments, and so forth. Now that your `Application` class is ready, you simply instruct the build system to create a single, executable jar containing everything. This makes it easy to ship, version, and deploy the service as an application throughout the development lifecycle, across different environments, and so forth.
Below are the Gradle steps, but if you are using Maven, you can find the updated pom.xml [right here](https://github.com/springframework-meta/gs-batch-processing/blob/master/complete/pom.xml) and build it by typing `mvn clean package`. Below are the Gradle steps, but if you are using Maven, you can find the updated pom.xml [right here](https://github.com/spring-guides/gs-batch-processing/blob/master/complete/pom.xml) and build it by typing `mvn clean package`.
Update your Gradle `build.gradle` file's `buildscript` section, so that it looks like this: Update your Gradle `build.gradle` file's `buildscript` section, so that it looks like this:
@ -453,7 +453,7 @@ Further down inside `build.gradle`, add the following to the list of applied plu
```groovy ```groovy
apply plugin: 'spring-boot' apply plugin: 'spring-boot'
``` ```
You can see the final version of `build.gradle` [right here]((https://github.com/springframework-meta/gs-batch-processing/blob/master/complete/build.gradle). You can see the final version of `build.gradle` [right here]((https://github.com/spring-guides/gs-batch-processing/blob/master/complete/build.gradle).
The [Spring Boot gradle plugin][spring-boot-gradle-plugin] collects all the jars on the classpath and builds a single "über-jar", which makes it more convenient to execute and transport your service. The [Spring Boot gradle plugin][spring-boot-gradle-plugin] collects all the jars on the classpath and builds a single "über-jar", which makes it more convenient to execute and transport your service.
It also searches for the `public static void main()` method to flag as a runnable class. It also searches for the `public static void main()` method to flag as a runnable class.