INTSAMPLES-131: Fix README.md for Gradle
JIRA: https://jira.spring.io/browse/INTSAMPLES-131 INTSAMPLES-131: PR comments
This commit is contained in:
committed by
Gary Russell
parent
53dfc4914f
commit
95ec35c768
@@ -36,13 +36,14 @@ The following Spring Integration components are being used:
|
||||
|
||||
## Running the Samples
|
||||
|
||||
To run the two samples, simply execute either **CronOddEvenDemo** or **IntervalOddEvenDemoTestApp** in package **org.springframework.integration.samples.oddeven**. You can also execute those two samples using the [Exec Maven Plugin](http://mojo.codehaus.org/exec-maven-plugin/):
|
||||
To run the two samples, simply execute either **CronOddEvenDemo** or **IntervalOddEvenDemoTestApp** in package **org.springframework.integration.samples.oddeven**.
|
||||
You can also execute those two samples using the [Gradle Application Plugin](http://www.gradle.org/docs/current/userguide/application_plugin.html):
|
||||
|
||||
$ mvn clean package exec:java -P cron
|
||||
$ gradlew :oddeven:runCronOddEvenDemo
|
||||
|
||||
which will execute **CronOddEvenDemo**. In order to run **IntervalOddEvenDemoTestApp**, execute:
|
||||
|
||||
$ mvn clean package exec:java -P interval
|
||||
$ gradlew :oddeven:runIntervalOddEvenDemoTestApp
|
||||
|
||||
For both samples you should see the output similar to this:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user