What is the right way to import a module?
I have a main modul called DatabaseGenerator
. It's located under eu.the4thfloor.dme.generator.main.DatabaseGenerator.mtl
I have another modul called DatabaseGeneratorHelper
. This is located under eu.the4thfloor.dme.generator.common.DatabaseGeneratorHelper.mtl
Now I want to import the helper module with this command:
[import eu::the4thfloor::dme::generator::common::DatabaseGeneratorHelper /]
I get no error in the modul files but I get a error from Eclipse:
Errors occurred during the build.
Errors running builder 'Acceleo Builder' on project 'eu.the4thfloor.dme.generator'.
org.eclipse.core.internal.resources.ResourceException: Resource '/dme.generator/bin/eu/the4thfloor/dme/generator/common/DatabaseGeneratorHelper.emtl' does not exist.
But the files exist. Whats going wrong?
And is it right that the helper modul does not have xml files in the task folder?
Ralph
Have you tried running "Project clean" in Eclipse?
Make sure you have your .mtl in the package: eu.the4thfloor.dme.generator.common
If so, I would try...
Sometimes, Acceleo makes strange things because of errors in compiled files... but after this sequence everything usually works perfect.
PS: I would like to post a comment but I haven't got enought points