Permalink
Browse files

initial commit

  • Loading branch information...
mikaelhg committed Dec 11, 2011
0 parents commit 0ccf556caf24dd71b1b24e3472cbf80d7fab4d17
Showing with 75 additions and 0 deletions.
  1. +22 −0 README.md
  2. +21 −0 pom.xml
  3. +15 −0 src/main/java/javahelp/Application.java
  4. +17 −0 src/test/java/javahelp/ApplicationTest.java
@@ -0,0 +1,22 @@
+# Ask Reddit for Java help with this project
+
+Clone this project, copy your code to the src/main/java directory, and commit your project to GitHub.
+
+Try to make sure that your code compiles. If the problem is that it doesn't compile, that's OK.
+
+Now you're ready to ask for Java help on Reddit, at http://www.reddit.com/r/javahelp/
+
+Do not ask for Java help through this project. Do not contact me directly to ask for Java help,
+unless you start the conversation by transferring 2500€ to my account.
+
+Excellent instructions as to how to get started with Git and GitHub can be found at http://help.github.com/
+
+If you wish to discuss Git and GitHub further, there's a subreddit for that, http://www.reddit.com/r/git
+
+Comprehensive instructions as to how to install the Java Development Kit can be found at
+http://docs.oracle.com/javase/7/docs/webnotes/install/
+
+Rudimentary instructions on how to get started with the IntelliJ IDEA development environment
+can be found at http://www.jetbrains.com/idea/webhelp/getting-started-with-intellij-idea.html
+
+IntelliJ IDEA and its installation can be further discussed at http://devnet.jetbrains.net/community/idea/ideacommunity?view=discussions
21 pom.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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>javahelp</groupId>
+ <artifactId>javahelp</artifactId>
+ <version>1.0</version>
+ <name>Java help starting point</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.10</version>
+ <scope>test</scope>
+ </dependency>
+ </dependencies>
+
+</project>
@@ -0,0 +1,15 @@
+package javahelp;
+
+/**
+ * This is a demonstration application which merely prints "Hello, World!" to the standard output.
+ *
+ * You can use it as a starting point for demonstrating your problem, or you can copy your code to the
+ * src/main/java folder, and remove this class.
+ */
+public class Application {
+
+ public static void main(final String ... args) {
+ System.out.println("Hello, World!");
+ }
+
+}
@@ -0,0 +1,17 @@
+package javahelp;
+
+import org.junit.Test;
+
+import static org.junit.Assert.assertEquals;
+
+public class ApplicationTest {
+
+ /**
+ * After adding your own unit tests relevant to your project, you can remove this demonstration test.
+ */
+ @Test
+ public void mathTest() {
+ assertEquals("one plus two is three", 1 + 2, 3);
+ }
+
+}

0 comments on commit 0ccf556

Please sign in to comment.