Thanks for the clarification :D
Cheers,
Santiago
2011/11/24 Tudor Girba <tudor(a)tudorgirba.com>
Hi,
I reproduced the problem. It was due to FAMIXPackage>>weightedMethodCount
:).
I am describing the situation, because it will probably be useful for
others that want to extend Moose with properties.
You added:
FAMIXPackage>>weightedMethodCount
<MSEProperty: #weightedMethodCount type: #Number>
<MSEComment: 'The sum of the complexity in a package'>
...
This means that this property is described. And it also means that the
Fame import/export will deal with it as well. Now, the fuel tests simply
export a model and then import it back. This property gets exported, but
when Fame tries to import it it crashes because there is no setter.
So, one solution is to add FAMIXPackage>>weightedMethodCount:
However, in this case, we deal with a property that is derived from the
information inside the model, so we do not want to save it in the first
place. Thus, the proper solution is to mark it as derived:
FAMIXPackage>>weightedMethodCount
<MSEProperty: #weightedMethodCount type: #Number>
<MSEComment: 'The sum of the complexity in a package'>
<derived>
...
Cheers,
Doru
On 23 Nov 2011, at 22:33, Alexandre Bergel wrote:
Strange, the Fuel tests are green on my image and
I have the last
version of all packages.
Alexandre
On 23 Nov 2011, at 18:27, admin(a)moosetechnology.org wrote:
See
<http://hudson.moosetechnology.org/job/moose-latest-dev/710/>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel
http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
--
www.tudorgirba.com
"We are all great at making mistakes."
_______________________________________________
Moose-dev mailing list
Moose-dev(a)iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev