@@ -120,9 +120,9 @@ you've built them using the preceding instructions.
120120The sample has three executables. You should run each command in a separate terminal window, from
121121the ` samples ` directory.
122122
123- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.helloworld.ActivityHost" run
124- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.helloworld.WorkflowHost" run
125- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.helloworld.WorkflowExecutionStarter" run
123+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.helloworld.ActivityHost
124+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.helloworld.WorkflowHost
125+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.helloworld.WorkflowExecutionStarter
126126
127127### Hello Lambda
128128
@@ -171,26 +171,26 @@ The *HelloLambda* sample uses an AWS Lambda task instead of running an activity,
171171run the workflow host and workflow starter. Run each command in a separate terminal window from the
172172` samples ` directory.
173173
174- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.hellolambda.WorkflowHost" run
175- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.hellolambda.WorkflowExecutionStarter" run
174+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.hellolambda.WorkflowHost
175+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.hellolambda.WorkflowExecutionStarter
176176
177177### Booking
178178
179179The sample has three executables. You should run each command in a separate terminal window, from
180180the ` samples ` directory.
181181
182- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.booking.ActivityHost" run
183- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.booking.WorkflowHost" run
184- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.booking.WorkflowExecutionStarter" run
182+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.booking.ActivityHost
183+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.booking.WorkflowHost
184+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.booking.WorkflowExecutionStarter
185185
186186### Cron
187187
188188The sample has three executables. You should run each command in a separate terminal window, from
189189the ` samples ` directory.
190190
191- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.cron.ActivityHost" run
192- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.cron.WorkflowHost" run
193- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.cron.CronWorkflowExecutionStarter" -Dmain- args="\"*/10 * * * * *\" PST 60" run
191+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.cron.ActivityHost
192+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.cron.WorkflowHost
193+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.cron.CronWorkflowExecutionStarter -Dexec. args="\"*/10 * * * * *\" PST 60"
194194
195195The workflow starter takes three command line arguments that * must* be specified:
196196
@@ -208,9 +208,9 @@ The workflow starter takes three command line arguments that *must* be specified
208208The sample has three executables. You should run each command in a separate terminal window, from
209209the ` samples ` directory.
210210
211- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.cronwithretry.ActivityHost" run
212- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.cronwithretry.WorkflowHost" run
213- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.cronwithretry.CronWithRetryWorkflowExecutionStarter" -Dmain-args="\"*/10 * * * * *\" PST 60" run
211+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.cronwithretry.ActivityHost
212+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.cronwithretry.WorkflowHost
213+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.cronwithretry.CronWithRetryWorkflowExecutionStarter" -Dmain-args="\"*/10 * * * * *\" PST 60
214214
215215The workflow starter takes three command line arguments that * must* be specified:
216216
@@ -239,25 +239,25 @@ bucket that you want the sample to use:
239239The sample has three executables. You should run each command in a separate terminal window, from
240240the ` samples ` directory.
241241
242- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.fileprocessing.ActivityHost" run
243- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.fileprocessing.WorkflowHost" run
244- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.fileprocessing.WorkflowExecutionStarter" run
242+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.fileprocessing.ActivityHost
243+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.fileprocessing.WorkflowHost
244+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.fileprocessing.WorkflowExecutionStarter
245245
246246### Periodic Workflow
247247
248248The sample has three executables. You should run each command in a separate terminal window, from
249249the ` samples ` directory.
250250
251- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.periodicworkflow.ActivityHost" run
252- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.periodicworkflow.WorkflowHost" run
253- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.periodicworkflow.WorkflowExecutionStarter" run
251+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.periodicworkflow.ActivityHost
252+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.periodicworkflow.WorkflowHost
253+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.periodicworkflow.WorkflowExecutionStarter
254254
255255### Split Merge
256256
257257The sample has three executables. You should run each command in a separate terminal window, from
258258the ` samples ` directory.
259259
260- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.splitmerge.ActivityHost" run
261- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.splitmerge.WorkflowHost" run
262- ant -f build.xml -Dmain-class=" com.amazonaws.services.simpleworkflow.flow.examples.splitmerge.WorkflowExecutionStarter" run
260+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.splitmerge.ActivityHost
261+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.splitmerge.WorkflowHost
262+ mvn exec:java -Dexec.mainClass= com.amazonaws.services.simpleworkflow.flow.examples.splitmerge.WorkflowExecutionStarter
263263
0 commit comments