From b1ade12838189661e0cde95c832d75a4f6f22ace Mon Sep 17 00:00:00 2001 From: Lukas Reichwein Date: Wed, 19 Jun 2019 17:23:25 +0200 Subject: [PATCH] initial commit with basic project struckture. --- .gitignore | 94 +++ LICENSE | 8 + README.md | 37 ++ pom.xml | 108 ++++ src/main/java/com/ugsbo/gui/MainApp.java | 8 + src/main/java/module-info.java | 8 + .../java/com/ugsbo/spike/JUnitSetupTest.java | 18 + style.xml | 598 ++++++++++++++++++ 8 files changed, 879 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 README.md create mode 100644 pom.xml create mode 100644 src/main/java/com/ugsbo/gui/MainApp.java create mode 100644 src/main/java/module-info.java create mode 100644 src/test/java/com/ugsbo/spike/JUnitSetupTest.java create mode 100644 style.xml diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..bf4ae07 --- /dev/null +++ b/.gitignore @@ -0,0 +1,94 @@ +# ---> Maven +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties + +# ---> Java +*.class + +# Mobile Tools for Java (J2ME) +.mtj.tmp/ + +# Package Files # +*.jar +*.war +*.ear + +# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml +hs_err_pid* + +# ---> eclipse +.metadata +bin/ +tmp/ +*.tmp +*.bak +*.swp +*~.nib +local.properties +.settings/ +.loadpath +.recommenders + +# External tool builders +.externalToolBuilders/ + +# Locally stored "Eclipse launch configurations" +*.launch + +# PyDev specific (Python IDE for Eclipse) +*.pydevproject + +# CDT-specific (C/C++ Development Tooling) +.cproject + +# CDT- autotools +.autotools + +# Java annotation processor (APT) +.factorypath + +# PDT-specific (PHP Development Tools) +.buildpath + +# sbteclipse plugin +.target + +# Tern plugin +.tern-project + +# TeXlipse plugin +.texlipse + +# STS (Spring Tool Suite) +.springBeans + +# Code Recommenders +.recommenders/ + +# Annotation Processing +.apt_generated/ + +# Scala IDE specific (Scala & Java development for Eclipse) +.cache-main +.scala_dependencies +.worksheet + +# Eclipse Core +.project + +# JDT-specific (Eclipse Java Development Tools) +.classpath + +# ---> VsCode +.vscode/ +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..472ac23 --- /dev/null +++ b/LICENSE @@ -0,0 +1,8 @@ +MIT License +Copyright (c) + +Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md new file mode 100644 index 0000000..12002b6 --- /dev/null +++ b/README.md @@ -0,0 +1,37 @@ +# UGSBO + +`Ultra Geile Studenten Benutzer Oberfläche (UGSBO)` + +## Funktionen +# UGSBO + +Ultra Geile Studenten Benutzer Oberfläche (UGSBO) + +Funktionen +- [ ] SAP für Studenten + - [ ] Was hab ich im Kühlschrank? + - [ ] Was hab ich im Kleiderschrank? +- [ ] Busplan für die Heimfahrt +- [ ] Busplan zu besonderen Personen + - [ ] Eltern +- [ ] Noten laden +- [ ] Mensa Plan laden +- [ ] Moodle api +- [ ] Social Media Anbindung +- [ ] Verschlüsselung / Entschlüsselung +- [ ] praktische Tools für die Uni? + - [ ] ABC-Analyse Rechner + - [ ] String Calculator + - [ ] Vokabeltrainer + - [ ] Matrix Rechner (transformation) +- [ ] TODO Liste +- [ ] Wetter API + - [ ] Wetter Zuhause + - [ ] Wetter an der UNI + - [ ] Wetter an anderen Orten +- [ ] Stundenplan + - [ ] Notizen + - [ ] Einbinden der Wetter-Funktion? +- [ ] Buchhaltung mit Auswertung +- [ ] RSS-Feed Reader für Nachrichten + - [ ] FEFE \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..35fb9b7 --- /dev/null +++ b/pom.xml @@ -0,0 +1,108 @@ + + + + 4.0.0 + + com.ugsbo + UGSBO + 1.0-SNAPSHOT + jar + + UGSBO + + http://www.example.com + + + UTF-8 + + + + + junit + junit + 4.11 + test + + + + org.mockito + mockito-core + 2.10.0 + test + + + org.openjfx + javafx-controls + 12.0.1 + + + org.openjfx + javafx-fxml + 12.0.1 + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.8.0 + + 11 + 11 + 11 + + + + + maven-clean-plugin + 3.1.0 + + + + maven-resources-plugin + 3.0.2 + + + maven-surefire-plugin + 2.22.1 + + + maven-jar-plugin + 3.0.2 + + + maven-install-plugin + 2.5.2 + + + maven-deploy-plugin + 2.8.2 + + + + maven-site-plugin + 3.7.1 + + + maven-project-info-reports-plugin + 3.0.0 + + + org.openjfx + javafx-maven-plugin + 0.0.2 + + 12 + UGSBO + launcher + UGSBO/com.ugsbo.gui.MainApp + + + + + + diff --git a/src/main/java/com/ugsbo/gui/MainApp.java b/src/main/java/com/ugsbo/gui/MainApp.java new file mode 100644 index 0000000..4a0dafe --- /dev/null +++ b/src/main/java/com/ugsbo/gui/MainApp.java @@ -0,0 +1,8 @@ +package com.ugsbo.gui; + +public class MainApp { + + public static void main(String[] args) { + System.out.println("HelloWorld!"); + } +} diff --git a/src/main/java/module-info.java b/src/main/java/module-info.java new file mode 100644 index 0000000..a48c156 --- /dev/null +++ b/src/main/java/module-info.java @@ -0,0 +1,8 @@ +module UGSBO { + requires javafx.controls; + requires javafx.fxml; + + opens com.ugsbo.gui to javafx.fxml; + + exports com.ugsbo.gui; +} \ No newline at end of file diff --git a/src/test/java/com/ugsbo/spike/JUnitSetupTest.java b/src/test/java/com/ugsbo/spike/JUnitSetupTest.java new file mode 100644 index 0000000..0db54a8 --- /dev/null +++ b/src/test/java/com/ugsbo/spike/JUnitSetupTest.java @@ -0,0 +1,18 @@ +package com.ugsbo.spike; + +import static org.junit.Assert.assertTrue; + +import org.junit.Test; + +/** + * Unit test that Only tests the the expected funktionallity of JUnit. + */ +public class JUnitSetupTest { + /** + * This Test only tests that the assertTrue funktion works like expected. + */ + @Test + public void shouldAlwaysBeTrue() { + assertTrue("The JUnit setup isn not correct, this test only assertTrue.", true); + } +} diff --git a/style.xml b/style.xml new file mode 100644 index 0000000..3b38d4a --- /dev/null +++ b/style.xml @@ -0,0 +1,598 @@ + + + + + + \ No newline at end of file