This project is based from the Spring Tool Suite (STS) Spring MVC project. We've added a bb-manifest.xml and an example of a view that uses the Blackboard Tags to render a page that has the look and feel of other Blackboard Learn pages. Lastly, we've added code that uses the Logback Java APIs to create log files.
Note: To use the /coursetest action you must have created a course with the courseId mbk-test on your Learn system.
Credit to Shane Argo @ All the Ducks for the b2-logging-utils. Thank you Shane! https://github.com/AllTheDucks/b2-logging-utils
Credit to Scott Hurrey for all the assistance getting this project to pre-compile JSP pages and insert them in the .war file.
git clone https://github.com/mark-b-kauffman/bbdn-bbloggerb2.git bbdn-bblogbackb2
To build the project, just run:
./gradlew build
To deploy the B2 to your Learn server, run:
./gradlew -Dserver=host:port deployB2
Example: ./gradlew -Dserver=localhost:9876 deployB2
MODIFY THE SCHEMA NAME (BBLEARN below) TO MATCH THAT OF THE SYSTEM YOU DEPLOY TO.
Home URL Example: https://<hostname>/webapps/bbdn-bblogbackb2-BBLEARN/
Learn Page URL Example: https://<hostname>/webapps/bbdn-bblogbackb2-BBLEARN/learnhello
Continual Logging URL Example: https://<hostname>/webapps/bbdn-bblogbackb2-BBLEARN/logbacklog