-
Notifications
You must be signed in to change notification settings - Fork 96
Java IDE and SBT Eclipse
First, create a Java project in your favorite Java environment (Eclipse, NetBeans, ...). Then, you need to run ./install.sh
from Squall bin directory. Finally, you need to import the Squall source code (e.g., squall-core/src
, examples
) and reference the following set of jars (exactly in this order):
-
all the jar files inside
apache-storm-0.9.4/lib
(Squall installation automatically downloads this version of Storm in the root Squall directory). -
jar file
squall-core/target/squall-dependencies-0.2.0.jar
Finally, select src/sql/main/ParserMain.java
as the main class and specify full path to the config file as the only argument. This is enough for running Squall in Local Mode. For running Squall in Cluster Mode, you need to recompile the code (invoke recompile.sh
from the Squall bin directory) and run it (invoke squall_cluster.sh
from the Squall bin directory). For more information how to do this automatically during compilation/running process, please consult your Java environment documentation.
Alternatively, Eclipse SBT plugin imports all the dependencies automatically in an Eclipse project.