commit 111a9dc7c8362cd870c6e39f1418b049bf588f26 Author: happymeal2024 Date: Sun May 11 11:19:09 2025 +0200 first commit diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..f8c3a1f Binary files /dev/null and b/.DS_Store differ diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..26d3352 --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,3 @@ +# Default ignored files +/shelf/ +/workspace.xml diff --git a/.idea/compiler.xml b/.idea/compiler.xml new file mode 100644 index 0000000..e1081f2 --- /dev/null +++ b/.idea/compiler.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/encodings.xml b/.idea/encodings.xml new file mode 100644 index 0000000..aa00ffa --- /dev/null +++ b/.idea/encodings.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/.idea/jarRepositories.xml b/.idea/jarRepositories.xml new file mode 100644 index 0000000..712ab9d --- /dev/null +++ b/.idea/jarRepositories.xml @@ -0,0 +1,20 @@ + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..dab31a5 --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,12 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.mvn/jvm.config b/.mvn/jvm.config new file mode 100644 index 0000000..e69de29 diff --git a/.mvn/maven.config b/.mvn/maven.config new file mode 100644 index 0000000..e69de29 diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..dff1c8b --- /dev/null +++ b/pom.xml @@ -0,0 +1,81 @@ + + + + 4.0.0 + + de.vimo + jcmd + 1.0-SNAPSHOT + + jcmd + A simple jcmd. + + http://www.example.com + + + UTF-8 + 8 + 8 + + + + + junit + junit + 3.8.1 + + + + + + + + maven-clean-plugin + 3.4.0 + + + maven-site-plugin + 3.12.1 + + + maven-project-info-reports-plugin + 3.6.1 + + + + maven-resources-plugin + 3.3.1 + + + maven-compiler-plugin + 3.13.0 + + + maven-surefire-plugin + 3.3.0 + + + maven-jar-plugin + 3.4.2 + + + maven-install-plugin + 3.1.2 + + + maven-deploy-plugin + 3.1.2 + + + + + + + + + maven-project-info-reports-plugin + + + + diff --git a/src/.DS_Store b/src/.DS_Store new file mode 100644 index 0000000..a0c3472 Binary files /dev/null and b/src/.DS_Store differ diff --git a/src/main/java/de/vimo/Jcmd.class b/src/main/java/de/vimo/Jcmd.class new file mode 100644 index 0000000..c59c735 Binary files /dev/null and b/src/main/java/de/vimo/Jcmd.class differ diff --git a/src/main/java/de/vimo/Jcmd.java b/src/main/java/de/vimo/Jcmd.java new file mode 100644 index 0000000..3979f4a --- /dev/null +++ b/src/main/java/de/vimo/Jcmd.java @@ -0,0 +1,20 @@ +package de.vimo; + +import java.util.Scanner; + +public class Jcmd +{ + public static void main( String[] args ) + { + for (int i = 0; i < args.length; i++) { + System.out.println(args[i]); + } + + Scanner inputUser = new Scanner(args[1]); +// while (inputUser.hasNextLine()) { +// String line = inputUser.nextLine(); +// System.out.println(line); +// } +// inputUser.close(); + } +} diff --git a/src/site/site.xml b/src/site/site.xml new file mode 100644 index 0000000..461f180 --- /dev/null +++ b/src/site/site.xml @@ -0,0 +1,26 @@ + + + + + jcmd + https://maven.apache.org/images/apache-maven-project.png + https://www.apache.org/ + + + + https://maven.apache.org/images/maven-logo-black-on-white.png + https://maven.apache.org/ + + + + org.apache.maven.skins + maven-fluido-skin + 1.7 + + + + + + + \ No newline at end of file diff --git a/src/test/java/de/vimo/AppTest.java b/src/test/java/de/vimo/AppTest.java new file mode 100644 index 0000000..8650642 --- /dev/null +++ b/src/test/java/de/vimo/AppTest.java @@ -0,0 +1,38 @@ +package de.vimo; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} diff --git a/target/.DS_Store b/target/.DS_Store new file mode 100644 index 0000000..24cf8ce Binary files /dev/null and b/target/.DS_Store differ diff --git a/target/classes/de/vimo/Jcmd.class b/target/classes/de/vimo/Jcmd.class new file mode 100644 index 0000000..b9e0699 Binary files /dev/null and b/target/classes/de/vimo/Jcmd.class differ