Repository navigation
Developer Info
eostermueller edited this page Sep 21, 2014
·
26 revisions
Here are instructions for building wuqiSpank yourself. If you instead want to just install and run the pre-built wuqiSpank, go here.
- 1.7 JDK (required to get ConcurrentLinkedDeque)
- Maven
In its current state, building the repo will get your this error:
ERROR] Failed to execute goal on project wuqiSpank-war: Could not resolve dependencies for project org.wuqiSpank:wuqiSpank-war:war:1:
Could not find artifact com.github.eostermueller:graph-lib:jar:2.4.0.4 in central (http://repo.maven.apache.org/maven2) -> [Help 1]
To make the above error go away:
- Download wuqiSpank-0.02.jar
- Unzip wuqiSpank.war from wuqiSpank-0.02.jar
- Unzip graph-lib-2.4.0.4.jar from wuqiSpank.war (it's in WEB-INF/lib).
- Add graph-lib-2.4.0.4.jar to your local repo:
mvn install:install-file -Dfile=graph-lib.jar -DgroupId=com.github.eostermueller -DartifactId=graph-lib -Dversion=2.4.0.4 -Dpackaging=jar
wuqiSpank.jar builds to WUQISPANK_HOME/wuqispank-master/wuqiSpank/target. See this link for how to run this little beast.
- Open a browser to
https://github.com/eostermueller/wuqispankand "Download ZIP" (bottom right of page). - Unzip the file to new folder that we'll refer to as WUQISPANK_HOME
- cd to
WUQISPANK_HOME/wuqispank-master/wuqiSpank -
mvn testshould produce this output:
Results :
Tests run: 70, Failures: 0, Errors: 0, Skipped: 1
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 7.194 s
[INFO] Finished at: 2014-05-04T09:06:42-06:00
[INFO] Final Memory: 11M/226M
[INFO] ------------------------------------------------------------------------
-
mvn packageshould produce this output:
[INFO]
[INFO] --- tomcat7-maven-plugin:2.0:exec-war-only (tomcat-run) @ wuqiSpank-war ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.072 s
[INFO] Finished at: 2014-05-04T09:08:57-06:00
[INFO] Final Memory: 26M/365M
[INFO] ------------------------------------------------------------------------
To work with wuqiSpank in Eclipse, you'll need to first install the Eclipse M2E Plugin.
Open Eclipse. Choose File / Import / Existing Maven Project Point this folder: 'WUQISPANK_HOME/wuqispank-master'
I use this Eclipse version:
Version: Kepler Service Release 2
Build id: 20140224-0627