|
[
Permlink
| « Hide
]
Patrik Nordwall added a comment - 01/Nov/08 08:30 AM
I fixed a bug in DslTransformation. Now it used the ordinary extension function from the dsl project to load the imports.
I have added possibility to mark an import as external, i.e. existing in another project.
Syntax: external import "platform:/resource/fornax-cartridges-sculptor-generator/src/test/resources/nested3.design" external import "platform:/resource/fornax-cartridges-sculptor-generator/src/test/resources/nested4.design" ApplicationPart NestedPart2 { Module nested2 { ValueObject B { String b - @C c - @D d } } } I have overwritten the model() function in Extensions.ext (dsl project). It loads imports recursively and marks modules from external imports. It will handle the case: model1 import model2 external import model3 import model4 Modules in model3 and model4 will be marked as external (in the context of model1, model2). |
|||||||||||||||||||||||||||||||||||||||||||||