telosys-templates-v3 / angular4-rest-frontend

REST frontend with Angular 4 and TypeScript
2 stars 2 forks source link

TypeScript files are not getting generated for entity models correctly #1

Closed manojadams closed 4 years ago

manojadams commented 6 years ago

Hi author,

I am currently using this templates for generation of angular files (from eclipse oxygen ) from entity models (generated though telosys tools) but I found an issue while trying to generate the typescript files (Entity.service.ts and Entity.form.component.ts) of the entities.

It gives the following exception:

Exception: 'GeneratorEngineException'; Generator engine error: ResourceNotFoundException

ResourceNotFoundException: Unable to find resource '../../../../include/entitiesNamesRef.vm'

Solution: I am also pleased to inform that I have been able to resolve the issue by just editing the template files and change #parse("../../../../include/entitiesNamesRef.vm") to #parse("include/entitiesNamesRef.vm")

Would request you to make the changes to the repository.

Thank you, Manoj Baruah

l-gu commented 4 years ago

Thank you for this information. Problem fixed.