I think there used to be a «hand-coded» stereotype for domain subpackages which would show the designer's intention not to attempt code generation on the subpackage. Would it be possible to reinstate this?
--- old+++ new@@ -1 +1 @@-I think there used to be a <<hand-coded>> stereotype for domain subpackages which would show the designer's intention not to attempt code generation on the subpackage. Would it be possible to reinstate this?+I think there used to be a «hand-coded» stereotype for domain subpackages which would show the designer's intention not to attempt code generation on the subpackage. Would it be possible to reinstate this?
assigned_to: Simon Wright
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
which is naturally recursive and would need to not descend through packages with «hand-coded» stereotypes; or, I suppose the DOM tree could be weeded for them? Will think more on this.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
No, I downloaded the following files tagged as changed in rev 90bbed8d5ab0.
models/ColdFrameProfile.uml
models/ColdFrame_Development.uml
doc/domains.html
doc/releases.html
test/Regressions.test/regressions_suite.adb
test/Makefile
test/Regressions.gpr
tools/normalize_xmi-main.adb
I can confirm that a complete copy of the latest state of the repository allows the tests to build.
I'll try this first from now on. :)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Oops. That <> should read << hand-coded >>.
Fixed that for you!
Diff:
I think it was the other way round; you used the «generate» stereotype on the child packages you wanted to be translated.
normalize_xmi
runs through all child packages in a domain, using XPath expressions as inwhich is naturally recursive and would need to not descend through packages with «hand-coded» stereotypes; or, I suppose the DOM tree could be weeded for them? Will think more on this.
Fixed in rev 90bbed8d5ab0.
Use «ignore» on packages you want to be ignored.
Last edit: Simon Wright 2013-04-27
I can't get the fix to work. After including the altered files and rebuilding the translator tools, the tests no longer build.
Last edit: Alex Proudfoot 2013-05-01
Have used Mercurial to get a (read-only) checkout?
In case not, I'm attaching a current archive which just ran
make test
OK; same at Dropbox in case the attachment is too big.No, I downloaded the following files tagged as changed in rev 90bbed8d5ab0.
models/ColdFrameProfile.uml
models/ColdFrame_Development.uml
doc/domains.html
doc/releases.html
test/Regressions.test/regressions_suite.adb
test/Makefile
test/Regressions.gpr
tools/normalize_xmi-main.adb
I can confirm that a complete copy of the latest state of the repository allows the tests to build.
I'll try this first from now on. :)
Works for me.
Last edit: Alex Proudfoot 2013-05-02
Thanks for the help Simon.
Fixed in release 20130621.