From c269dca4b322ec708b4e68c1da989a6870b45cb4 Mon Sep 17 00:00:00 2001 From: dsyer Date: Mon, 21 Jul 2008 08:32:20 +0000 Subject: [PATCH] BATCH-735: Update to put no-deps instructions first --- src/site/apt/getting-started.apt | 56 ++++++++++++++++---------------- 1 file changed, 28 insertions(+), 28 deletions(-) diff --git a/src/site/apt/getting-started.apt b/src/site/apt/getting-started.apt index 69e0e8c98..e76cce002 100644 --- a/src/site/apt/getting-started.apt +++ b/src/site/apt/getting-started.apt @@ -11,6 +11,34 @@ Spring Batch Getting Started * Using the .Zip Distribution +** With Maven and Eclipse + + * Download the "no-dependencies" version of the distribution and unzip to create a directory <<>>>. + + * Get the Q4E Eclipse-plugin + (http://q4e.googlecode.com/svn/trunk/updatesite). If you can't or + don't want to install this plugin, you can use the + {{{http://maven.apache.org/plugins/maven-eclipse-plugin/}Maven + Eclipse Plugin}} to create the classpath entries you need. + + * Open Eclipse and create a workspace as for the non-Mavenized version. + + * Import the samples project as above. + + * The project should build cleanly without having to fix the dependencies. If it doesn't, make sure you are online, and maybe try building on the command line first to make sure all the dependencies are downloaded. See the {{{building.html}building instructions}} if you run into difficulty. + +** With Maven on the Command Line + + * Download the distribution as above. + + * Then run Maven in the spring-batch-samples directory, e.g. + ++--- +$ cd spring-batch-samples +$ mvn test +... ++--- + ** With Eclipse and without Maven Similar instructions would apply to other IDEs. @@ -31,34 +59,6 @@ Spring Batch Getting Started To launch a job from the command line instead of a unit test use the <<>> method (see Javadocs included in that class). -** With Maven on the Command Line - - * Download the distribution as above. - - * Then run Maven in the spring-batch-samples directory, e.g. - -+--- -$ cd spring-batch-samples -$ mvn test -... -+--- - -** With Maven and Eclipse - - * Download the distribution as above. - - * Get the Q4E Eclipse-plugin - (http://q4e.googlecode.com/svn/trunk/updatesite). If you can't or - don't want to install this plugin, you can use the - {{{http://maven.apache.org/plugins/maven-eclipse-plugin/}Maven - Eclipse Plugin}} to create the classpath entries you need. - - * Open Eclipse and create a workspace as for the non-Mavenized version. - - * Import the samples project as above. - - * The project should build cleanly without having to fix the dependencies. If it doesn't, make sure you are online, and maybe try building on the command line first to make sure all the dependencies are downloaded. See the {{{building.html}building instructions}} if you run into difficulty. - * Using Maven and Subversion * Check out the Spring Batch project from Subversion (instructions are available {{{source-repository.html}here}}).