{"id":17171025,"url":"https://github.com/tipsy/masteroppgave","last_synced_at":"2025-03-24T19:42:43.136Z","repository":{"id":15083983,"uuid":"17810438","full_name":"tipsy/masteroppgave","owner":"tipsy","description":null,"archived":false,"fork":false,"pushed_at":"2014-09-08T17:43:47.000Z","size":1688,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-29T13:35:21.842Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tipsy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-16T22:07:13.000Z","updated_at":"2017-06-23T18:32:03.000Z","dependencies_parsed_at":"2022-08-30T09:51:46.654Z","dependency_job_id":null,"html_url":"https://github.com/tipsy/masteroppgave","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tipsy%2Fmasteroppgave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tipsy%2Fmasteroppgave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tipsy%2Fmasteroppgave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tipsy%2Fmasteroppgave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tipsy","download_url":"https://codeload.github.com/tipsy/masteroppgave/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245342704,"owners_count":20599841,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-14T23:33:22.918Z","updated_at":"2025-03-24T19:42:43.115Z","avatar_url":"https://github.com/tipsy.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Assignment System\n\nMaster's thesis by Christian Rasmussen and David Åse.\n\n## Installation\n\n### Download software\n\n1. Download \"Eclipse Modeling Tools v4.4.0 (64-bit)\" from http://www.eclipse.org/downloads/\n2. Download \"Play 2.3.0 (Activator)\" from https://www.playframework.com/download#older-versions (NOTE: Make sure to download this exact version)\n3. Download \"JExercise\" from https://github.com/hallvard/jexercise/\n4. Clone git repo (```git clone https://github.com/chrrasmussen/NTNU-Master-Project.git```)\n\n### Setting up Eclipse\n\n1. Start Eclipse\n2. Set workspace to the root of project (the folder containing README.md)\n3. Open \"File\" \u003e \"Import...\"\n4. Select \"General\" \u003e \"Existing Projects into Workspace\"\n5. Press \"Next\"\n6. In the \"Select root directory\" field, browse to ```\u003cprojectDir\u003e/no.ntnu.assignmentsystem.model```\n7. Make sure the project is checked\n8. Click \"Finish\"\n9. Repeat for ```\u003cprojectDir\u003e/no.ntnu.assignmentsystem.editor```\n\n### Setting up JRE8 in Eclipse (if problems with Java 8)\n\n1. Go to \"Window\" \u003e \"Preferences\" \u003e \"Java\" \u003e \"Installed JREs\"\n2. If jre8 is not in the list, click \"Add\"\n3. Choose \"Standard VM\"\n4. Set \"JRE Home\" to your jre8 path\n5. Click \"Finish\"\n\n### Installing Maven plugin\n\n1. Go to \"Help\" in the menu bar\n2. Open \"Eclipse Marketplace\"\n3. Search for ```maven 1.5```\n4. Install \"Maven Integration for Eclipse (Luna and newer) 1.5\" (Select the one with the most downloads)\n5. Complete the wizard\n6. Restart Eclipse when prompted\n\n### Installing Akka dependencies into Eclipse\n\nThe Maven command line tool (```mvn```) can be installed using ```brew install maven``` on Mac OS X.\n\n1. Open terminal and navigate to ```\u003cprojectDir\u003e/Setup``` folder\n2. Run ```mvn p2:site``` (https://github.com/reficio/p2-maven-plugin)\n3. Open Eclipse\n4. Go to \"Help\" \u003e \"Install new Software...\" in menu bar\n5. Click \"Add...\"\n6. Click \"Local...\"\n7. Navigate to ```\u003cprojectDir\u003e/setup/target/repository/``` and click \"Open\"\n8. Click \"OK\"\n9. Check \"Maven osgi-bundles\" in table view\n10. Click \"Next \u003e\"\n11. Click \"Finish\"\n12. Restart Eclipse when prompted\n\n### Generating model code\n\n1. Navigate to ```no.ntnu.assignmentsystem.model/model/model.genmodel```\n2. Right-click on \"Model\"\n3. Click on \"Generate Model Code\"\n4. Repeat for ```no.ntnu.assignmentsystem.model/model/services.genmodel```\n\nThese steps must be performed every time the ```.ecore``` model changes.\n\n### Update path to Eclipse install\n\n1. Open the source file ```no.ntnu.assignmentsystem.model/src/no.ntnu.assignmentsystem.services/EditorActor.java```\n2. Go to line 45\n3. Update the path to match the current installation: ```\u003ceclipseInstall\u003e/plugins/org.eclipse.equinox.launcher_1.3.0.\u003cversion\u003e.jar```\n\n### Exporting the editor plugin\n\n1. Right-click the project ```no.ntnu.assignmentsystem.editor``` and select \"Export...\"\n2. Select \"Plug-in Development\" \u003e \"Deployable plug-ins and fragments\"\n3. Click \"Next\"\n4. Set directory to ```\u003ceclipseInstall\u003e/dropins/```\n5. Click \"Finish\"\n\nThese steps must be performed every time the source code in ```no.ntnu.assignmentsystem.editor``` changes.\n\n### Create a Run configuration\n\n1. Open \"Run\" \u003e \"Run Configurations\" in menu bar\n2. Right-click \"Java Application\" and select \"New\"\n3. Set name to ```Main```\n4. Set project to ```no.ntnu.assignmentsystem.model```\n5. Set main class to ```no.ntnu.assignmentsystem.services.Main```\n6. Click \"Run\" and confirm that it compiles\n\n### Exporting to JAR\n\n1. Right-click the project ```no.ntnu.assignmentsystem.model``` and select \"Export...\"\n2. Select \"Java\" \u003e \"Runnable JAR file\"\n3. Click \"Next\"\n4. Set launch configuration to \"Main\"\n5. Set export destination to ```\u003cprojectDir\u003e/AssignmentModel/lib/no.ntnu.assignmentsystem.model.jar``` (Folder must be created)\n6. Set library handling to \"Copy required libraries into a sub-folder next to the generated JAR\"\n7. Click \"Finish\"\n8. Move the JAR-files from ```\u003cprojectDir\u003e/AssignmentModel/lib/no.ntnu.assignmentsystem.model_lib/``` to ```\u003cprojectDir\u003e/AssignmentModel/lib/```\n\nThese steps must be performed every time the code in ```no.ntnu.assignmentsystem.model``` changes.\n\n### Run the project\n\n1. Move the TDT4100 problems from ```\u003cdownloads\u003e/jexercise-master/no.hal.jex.collection/``` to ```\u003cprojectDir\u003e/no.hal.jex.collection/```\n2. Move the files from ```\u003cdownloads\u003e/activator-1.2.10-minimal/``` to ```\u003cprojectDir\u003e/AssignmentModel/```\n3. Open terminal and navigate to ```\u003cprojectDir\u003e/AssignmentModel/```\n4. Run ```./activator run```\n5. Open web browser and navigate to: http://localhost:9000\n\n### Setting up IntelliJ (Optional)\n\n1. Generate IDEA-files (```./activator idea```)\n2. Start IntelliJ\n3. Select \"Open Project\"\n4. Navigate to ```\u003cprojectDir\u003e/AssignmentSystem/```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftipsy%2Fmasteroppgave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftipsy%2Fmasteroppgave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftipsy%2Fmasteroppgave/lists"}