Snippets - a simple code snippet manager (student project)
Travis CI | Codecov |
---|---|
A code snippet manager built with Java and tested with JUnit. GUI by JavaFX. Database functionality by SQLite. Code coverage by JaCoCo. Style enforcement by Checkstyle. Documentation by JavaDoc.
IDE used is JetBrains IntelliJ IDEA Professional.
Download a release here.
Double-click the downloaded JAR -file. If that doesn't work, use this command:
java -jar Snippets.jar
Before you start:
- Please make sure that your OS properly detects Java
- Maven must be installed also, and your OS must be able to find it
- Build the project (see instructions below)
This will also generate a runnable JAR -file.
mvn clean package
The optional clean argument ensures no collisions happen with existing files, but building will take a bit longer.
Output: "target/snippets-1.0.jar" (do not open the one that says "original" in it)
mvn test
Output: (will be printed to console)
mvn jacoco:report
Output: "target/site/jacoco/index.html"
JavaDoc has been written for all publicly-visible members.
mvn javadoc:javadoc
Output: "target/site/apidocs/index.html"
Checkstyle checks can be manually created with this command:
mvn jxr:jxr checkstyle:checkstyle
Output: "target/site/checkstyle.xml"