diff --git a/.classpath b/.classpath new file mode 100644 index 0000000000000000000000000000000000000000..653dfd75c238077f262308f40d77be535ec58288 --- /dev/null +++ b/.classpath @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="UTF-8"?> +<classpath> + <classpathentry kind="src" output="target/classes" path="src/main/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + <attribute name="optional" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="src/test/java"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + <attribute name="test" value="true"/> + </attributes> + </classpathentry> + <classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + <attribute name="test" value="true"/> + <attribute name="optional" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> + <attributes> + <attribute name="maven.pomderived" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" path="target/generated-sources/annotations"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + <attribute name="ignore_optional_problems" value="true"/> + <attribute name="m2e-apt" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations"> + <attributes> + <attribute name="optional" value="true"/> + <attribute name="maven.pomderived" value="true"/> + <attribute name="ignore_optional_problems" value="true"/> + <attribute name="m2e-apt" value="true"/> + <attribute name="test" value="true"/> + </attributes> + </classpathentry> + <classpathentry kind="output" path="target/classes"/> +</classpath> diff --git a/.gitignore b/.gitignore index a6024f9c4e873de977cb42e8a8da0bdf6e4a4d59..9f970225adb6a6ada5c22d46d02684b6b0f5525e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -.classpath -target/ -.project \ No newline at end of file +target/ \ No newline at end of file diff --git a/README.md b/README.md index cb317a79c7555bcbc2c1bf2f33580d289d898222..48e5bae5c510e7a01c0c3784e096fbac2e588e41 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,16 @@ -# Lab 1 +# Lab 1 This is the source code for COM1028 lab_1 ## Getting Started +1. Open Eclipse +2. When you see the open dialogue, click on WorkSpace and create a new workspace called something meaningful (e.g., "COM1028_Labs"). A workspace is simply a folder where like projects are stored. If you don't see the dialogue box, click on File -> Switch Workspace -> Other... and create a new workspace. +3. Launch the workspace. + +### Importing the Lab 1 Project + +1. Click on File -> Import -> Git -> Projects from Git -> Next -> Clone URI -> Next -> +2. Enter the following into URI field: https://gitlab.surrey.ac.uk/com_1028_labs/lab_1.git +3. Click Next +4. Import as general project -> Next -> Finish \ No newline at end of file