| Summary: | GenerateJsp.emtl is missing in org.eclipse.modisco.jee.jsp.generation. | ||
|---|---|---|---|
| Product: | [Modeling] MoDisco | Reporter: | Gregoire Dupe <gdupe> |
| Component: | Technologies | Assignee: | Nicolas Bros <nicolas.bros> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | blocker | ||
| Priority: | P2 | CC: | hugo.bruneliere, modisco.web-inbox, nicolas.bros |
| Version: | 0.9.1 | Flags: | gdupe:
indigo+
gdupe: juno+ |
| Target Milestone: | 0.9.2 RC1 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Gregoire Dupe
Fixed on trunk in revision 4786 and on branch 0_1 in revision 4787. I'm leaving this bug open until both Hudson jobs have passed and contain the emtl files. The emtl file was not copied to the right directory (it was copied to a gmt folder which did not exist anymore). Fixed on trunk in 4788 and on branch 0_9 in 4789. Now the emtl file is not copied *from* the right directory. Fixed in 4790 & 4791 on branch and 4792 & 4793 on trunk. The last modisco-nightly build contains the file: org/eclipse/modisco/jee/jsp/generation/files/GenerateJsp.emtl in org.eclipse.modisco.jee.jsp.generation_0.10.0.v201201171052.jar The branch build remains to be tested. The latest modisco-nightly-maintenance build also contains the emtl file. Now we need to make sure that this regression is caught by unit tests. This unit test was supposed to test the JSP generator, but it succeeded even though the emtl file was not present. So it must be fixed: org.eclipse.modisco.jee.jsp.generation.tests.DiffGeneratedJspTest When I delete the emtl file and I run the test locally, the JUnit test fails as expected: java.io.IOException: '/org/eclipse/modisco/jee/jsp/generation/files/GenerateJsp.emtl' not found I don't understand why it did not fail in the same way on Hudson. Maybe it is due to a different version of Acceleo. So, I added a new test that tests specifically for the presence of the emtl file in revision 4794 on trunk and in revision 4795 on branch 0_9. Issue solved and tested. |