| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
For more information, see s4.io
Build using Gradle
USAGE: gradlew TASK1, TASK2, ...
Main Tasks:
build/s4-image/
bin/
s4-ext/
s4-example-apps/
s4-apps/
app-name1/
lib/
(app-name1-*.jar)
app-name1-conf.xml
s4-core/
lib/
conf/
lock/
logs
s4-driver/lib/
driver jar
dependencies jars
java examples jar
bin/
python, perl, and shell scripts
# Download the project files from the repository. git clone https://github.com/s4/s4.git # Create image ./gradlew allImage # set the S4_IMAGE environmental variable cd build/s4-image/ export S4_IMAGE=`pwd` # get the sample application git clone git://github.com/s4/twittertopiccount.git # build the sample application ./gradlew install # deploy the sample application into the S4 image (relies in the S4_IMAGE environmental variable) ./gradlew deploy # set the TWIT_LISTENER environmental variable cd build/install/twitter_feed_listener export TWIT_LISTENER=`pwd` # Start server with twittertopiccount app $S4_IMAGE/scripts/start-s4.sh -r client-adapter & # start the client adapter $S4_IMAGE/scripts/run-client-adapter.sh -s client-adapter -g s4 -d $S4_IMAGE/s4-core/conf/default/client-stub-conf.xml & # run a client to send events into the S4 cluster. Replace *your-twitter-user* and *your-twitter-password* with your Twitter userid and password. $TWIT_LISTENER/bin/twitter_feed_listener *your-twitter-user* *your-twitter-password* & # Check output cat /tmp/top_n_hashtags
The command gradle eclipse will create an eclipse project that you can import from the Eclipse IDE.
There is now a Gradle plugin for the Eclipse IDE. To install Gradle without installing the full Spring development environment follow the instructions under the heading "Installing from update site". There is also a discussion in the Gradle mailing list.
| Back | FazBrowse Home | New Git URL |