Custom Code Starter project that has all Maven files, folder structures, and EntryPointExtender.java ready.
You can get your code running on StackMob in two ways:
- running via a JAR
- running via GitHub
Running via a JAR
To build a JAR, run
mvn package from the root folder. You can then Upload your JAR to StackMob, where we'll load your method into your Development environment automatically.
Running via GitHub
If you fork this repository, you can link your Custom Code GitHub repository to StackMob. StackMob will build your project for you and load your methods into your Development environment automatically.
Did you change your Java package? (
com.myproject.customcode). Be sure you update
<mainClass>com.stackmob.customcode.EntryPointExtender</mainClass> (line 78) in your
pom.xml to the appropriate package.