Skip to content

Commit

Permalink
Java starting point added
Browse files Browse the repository at this point in the history
  • Loading branch information
gam committed Dec 2, 2011
1 parent fbd9a12 commit 1990743
Show file tree
Hide file tree
Showing 8 changed files with 119 additions and 0 deletions.
8 changes: 8 additions & 0 deletions java/conway/.classpath
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java"/>
<classpathentry kind="src" output="target/test-classes" path="src/test/java"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
<classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
1 change: 1 addition & 0 deletions java/conway/.gitignore
@@ -0,0 +1 @@
target/
23 changes: 23 additions & 0 deletions java/conway/.project
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>conway</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.maven.ide.eclipse.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.maven.ide.eclipse.maven2Nature</nature>
</natures>
</projectDescription>
6 changes: 6 additions & 0 deletions java/conway/.settings/org.eclipse.jdt.core.prefs
@@ -0,0 +1,6 @@
#Fri Dec 02 23:56:56 CET 2011
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.source=1.6
8 changes: 8 additions & 0 deletions java/conway/.settings/org.maven.ide.eclipse.prefs
@@ -0,0 +1,8 @@
#Fri Dec 02 23:52:57 CET 2011
activeProfiles=
eclipse.preferences.version=1
fullBuildGoals=process-test-resources
resolveWorkspaceProjects=true
resourceFilterGoals=process-resources resources\:testResources
skipCompilerPlugin=true
version=1
54 changes: 54 additions & 0 deletions java/conway/pom.xml
@@ -0,0 +1,54 @@
<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>coderetreat</groupId>
<artifactId>conway</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>Conway's Game of Life</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.8.5</version>
</dependency>
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.5</version>
<configuration>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
</plugins>
</build>
</project>
5 changes: 5 additions & 0 deletions java/conway/src/main/java/coderetreat/conway/GameOfLife.java
@@ -0,0 +1,5 @@
package coderetreat.conway;

public class GameOfLife {

}
14 changes: 14 additions & 0 deletions java/conway/src/test/java/coderetreat/conway/GameOfLifeTest.java
@@ -0,0 +1,14 @@
package coderetreat.conway;

import static org.junit.Assert.*;

import org.junit.Test;

public class GameOfLifeTest {

@Test
public void test() {
fail("Not yet implemented");
}

}

0 comments on commit 1990743

Please sign in to comment.