Running the producer via maven (via bash)

cat-town
Dan Buch 12 years ago
parent 04c57cc71f
commit 2ef0c8207a

@ -0,0 +1,3 @@
#!/bin/bash
cd $(dirname $(dirname $0))
mvn scala:run -Dlauncher=ch02-hello-world-producer -DaddArgs="$1"

@ -90,7 +90,7 @@
<configuration> <configuration>
<launchers> <launchers>
<launcher> <launcher>
<id>sylvilagus-ch02-hello-world-producer</id> <id>ch02-hello-world-producer</id>
<mainClass>com.meatballhat.sylvilagus.ch02.HelloWorldProducer</mainClass> <mainClass>com.meatballhat.sylvilagus.ch02.HelloWorldProducer</mainClass>
</launcher> </launcher>
</launchers> </launchers>

Loading…
Cancel
Save