From 6e024e00ec5bb416bc0b6fa2855362273e8d187e Mon Sep 17 00:00:00 2001 From: "sigonasr2, Sig, Sigo" Date: Mon, 1 Nov 2021 10:46:54 +0000 Subject: [PATCH] Setup java build project Co-authored-by: sigonasr2 --- .classpath | 44 ++++++++++++++++++++++ .gitignore | 2 + .project | 34 +++++++++++++++++ .settings/org.eclipse.core.resources.prefs | 4 ++ .settings/org.eclipse.jdt.apt.core.prefs | 2 + .settings/org.eclipse.jdt.core.prefs | 9 +++++ .settings/org.eclipse.m2e.core.prefs | 4 ++ .vscode/settings.json | 3 ++ coauthors.sh | 2 +- pom.xml | 5 ++- run | 2 +- src/sig/SigRenderer.java | 16 ++++++++ 12 files changed, 123 insertions(+), 4 deletions(-) create mode 100644 .classpath create mode 100644 .gitignore create mode 100644 .project create mode 100644 .settings/org.eclipse.core.resources.prefs create mode 100644 .settings/org.eclipse.jdt.apt.core.prefs create mode 100644 .settings/org.eclipse.jdt.core.prefs create mode 100644 .settings/org.eclipse.m2e.core.prefs create mode 100644 .vscode/settings.json create mode 100644 src/sig/SigRenderer.java diff --git a/.classpath b/.classpath new file mode 100644 index 0000000..f0257c5 --- /dev/null +++ b/.classpath @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..92145bc --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +/bin/ +/target/ \ No newline at end of file diff --git a/.project b/.project new file mode 100644 index 0000000..b6308c0 --- /dev/null +++ b/.project @@ -0,0 +1,34 @@ + + + SigRenderer + + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + + + org.eclipse.jdt.core.javanature + org.eclipse.m2e.core.maven2Nature + + + + 1635762766231 + + 30 + + org.eclipse.core.resources.regexFilterMatcher + node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ + + + + diff --git a/.settings/org.eclipse.core.resources.prefs b/.settings/org.eclipse.core.resources.prefs new file mode 100644 index 0000000..f06b710 --- /dev/null +++ b/.settings/org.eclipse.core.resources.prefs @@ -0,0 +1,4 @@ +eclipse.preferences.version=1 +encoding//src/sig=UTF-8 +encoding/=UTF-8 +encoding/src=UTF-8 diff --git a/.settings/org.eclipse.jdt.apt.core.prefs b/.settings/org.eclipse.jdt.apt.core.prefs new file mode 100644 index 0000000..d4313d4 --- /dev/null +++ b/.settings/org.eclipse.jdt.apt.core.prefs @@ -0,0 +1,2 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.apt.aptEnabled=false diff --git a/.settings/org.eclipse.jdt.core.prefs b/.settings/org.eclipse.jdt.core.prefs new file mode 100644 index 0000000..1b6e1ef --- /dev/null +++ b/.settings/org.eclipse.jdt.core.prefs @@ -0,0 +1,9 @@ +eclipse.preferences.version=1 +org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8 +org.eclipse.jdt.core.compiler.compliance=1.8 +org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled +org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning +org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore +org.eclipse.jdt.core.compiler.processAnnotations=disabled +org.eclipse.jdt.core.compiler.release=disabled +org.eclipse.jdt.core.compiler.source=1.8 diff --git a/.settings/org.eclipse.m2e.core.prefs b/.settings/org.eclipse.m2e.core.prefs new file mode 100644 index 0000000..f897a7f --- /dev/null +++ b/.settings/org.eclipse.m2e.core.prefs @@ -0,0 +1,4 @@ +activeProfiles= +eclipse.preferences.version=1 +resolveWorkspaceProjects=true +version=1 diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e0f15db --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "java.configuration.updateBuildConfiguration": "automatic" +} \ No newline at end of file diff --git a/coauthors.sh b/coauthors.sh index aa69875..1a77cd8 100755 --- a/coauthors.sh +++ b/coauthors.sh @@ -37,5 +37,5 @@ if(/COMMIT_EDITMSG/g.test(commitMessage)){ } EOF chmod +x .git/hooks/prepare-commit-msg -cd LLSIG +cd /workspace/SigRenderer echo "Environment is setup!" \ No newline at end of file diff --git a/pom.xml b/pom.xml index 467cfda..9bf90c3 100644 --- a/pom.xml +++ b/pom.xml @@ -8,7 +8,7 @@ SigRenderer 0 - SigRenderer + sig.SigRenderer UTF-8 @@ -26,6 +26,7 @@ + src @@ -72,7 +73,7 @@ - main.java.LLSIG.LLSIG + sig.SigRenderer diff --git a/run b/run index 362fb8e..8f3f586 100755 --- a/run +++ b/run @@ -1,2 +1,2 @@ mvn compile assembly:single -java -jar target/LLSIG-1.0-SNAPSHOT-jar-with-dependencies.jar \ No newline at end of file +java -jar target/SigRenderer-0-jar-with-dependencies.jar \ No newline at end of file diff --git a/src/sig/SigRenderer.java b/src/sig/SigRenderer.java new file mode 100644 index 0000000..3730bcb --- /dev/null +++ b/src/sig/SigRenderer.java @@ -0,0 +1,16 @@ +package sig; +import javax.swing.JFrame; +import javax.vecmath.Vector3d; + +public class SigRenderer { + Vector3d vec; + + SigRenderer(JFrame f) { + vec = new Vector3d(); + System.out.println(vec); + } + public static void main(String[] args) { + JFrame f = new JFrame("SigRenderer"); + new SigRenderer(f); + } +}