| title | Java Project Build script | |||||
|---|---|---|---|---|---|---|
| version | 5.2 | |||||
| description | bring a very simple tool to compile java project to a jar file with JAR dependencies, execute unit test and check quality code. | |||||
| createdAt | 2023-10-23 | |||||
| author |
|
|||||
| tag | java, build, unit-test, javadoc, doc, wrapjar, zip |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * {@link Configuration} loads a properties file and | |
| * let user gather converted value to | |
| * <ul> | |
| * <li>Integer,</li> | |
| * <li>Double,</li> | |
| * <li>Boolean,</li> | |
| * <li>String.</li> | |
| * <li>{@link Dimension} </li> | |
| * <li>{@link Rectangle2D}</li> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Bounding Box for any object managed by the system. | |
| * | |
| * @author Frédéric Delorme | |
| */ | |
| public class BoundingBox { | |
| /** | |
| * position for the boundingbox. | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.List; | |
| import java.util.Objects; | |
| /** | |
| * {@link Vector2d} class is to define, manage and operate 2D Vector. | |
| * <p> | |
| * eg.usage : | |
| * | |
| * <pre> | |
| * // create a vector |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| alias l='ls --color=yes' | |
| alias ll='l -l' | |
| alias mci='mvn clean install' | |
| alias mcin='mci -DskipTests=true' | |
| alias mpp='mvn release:prepare' | |
| alias mpperf='mvn release:perform' | |
| alias idea='idea64.exe %1 &' | |
| alias ltree="ls -R | grep ":$" | sed -e 's/:$//' -e 's/[^-][^\/]*\//--/g' -e 's/^/ /' -e 's/-/|/'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| <modelVersion>4.0.0</modelVersion> | |
| <groupId>core</groupId> | |
| <artifactId>usecasetdd</artifactId> | |
| <version>0.0.2-SNAPSHOT</version> | |
| <name>UseCaseTDD</name> | |
| <description>A demonstration project on how to create sustainable project.</description> | |
| <inceptionYear>2022</inceptionYear> | |
| <properties> |
- Install Powerline
(from https://www.ricalo.com/blog/install-powerline-ubuntu/#install-powerline)
sudo apt install powerlineactivate is by pasting in the ~/.bashrc :
