For this assignment I have co-operated with Peder Hanch-Hansen Espen: phespen@stud.ntnu.no
Decisions
We decided to not include any semesters in the assignment, because in the first assignment we included years which contains two semesters. We did not change the model from the first assignment either, because it worked and it did show the information we wanted to present. However, we now see that it would be better to include semesters for the model so that the information about subjects and semesters is more presentable and clear.
HOW-TO:
- Clone the repo
- Open Eclipse and go to File -> open project from file system
- Press Archive and then first open Assignment12-TDT4250 folder
- Same as step 3. but now open org.eclipse.acceleo.module.sample
- Navigate to the src folder in org.eclipse.acceleo.module.sample
- Navigate to "Transformation.mtl" file inside the org.eclipse.acceleo.module.main folder
- Right click on "Transformation.mtl" file and select Run as "launch acceleo application"
- Choose a model, which should be either one of the following programmes: BachelorInformatics.xmi, MasterInformatics.xmi or IntegratedMasterDataSience.xmi
- Choose a target, which should be the src folder in the org.eclipse.acceleo.module folder
- Hit apply and run.
Note: Remember to delete the HTML files so that you see that it actually works.
We had much trouble with a file that for some reason just dissapears. If you get a error message that says that you do not have the transformation.emtl file:
-
Open up terminal and type in "git restore org.eclipse.acceleo.module.sample/bin/org/eclipse/acceleo/module/sample/main/Transformation.emtl"
-
Start from point 7. in the HOW-TO list
-
Manually download the file from this repo. Should be found inside org.eclipse.acceleo.module.sample/bin/org/eclipse/acceleo/module/sample/main folder
-
Put the missing file in org.eclipse.acceleo.module.sample/bin/org/eclipse/acceleo/module/sample/main folder
-
Start from point 7. in the HOW-TO list