You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this error is related to the #26 issue related to the internal and synctactic description of FMs.
If I have a really complex FM created in merging many ones (around 80 FMs merged) I had some problems trying to serialize them to keep their textual representation. Mathieu explains me why because the internal representation cannot be easily serialized.
Then I compute the merge each time I need to use my complex FM which is very time consuming (cf issue #31). To avoid waiting too much, I decided to make copies of this complex FM and work on these, using the syntax "newFM = copy complexFM".
But apparently I have the same problems I had with the serialization of FMs : the copy seems not to be a clone of the previous FM.
Then is it possible either to change the way "copy" works to make proper clones ? Or to add another keyword maybe "clone" to make real clones instead of copy based on an incomplete serialization?
I'll try to formalize the scenario with a unit test as soon as I'll be able to build the project.
The text was updated successfully, but these errors were encountered:
…ted to #33
I overrided the method copy inside
FeatureModelVariableWithSynchronizedFormula.java to really create a new
FeatureModelVariableWithSynchronizedFormula object instead of other
kind of FMV.
I created a really small unit test to check if the counting works well
for configuration variable instead of FM
I think this error is related to the #26 issue related to the internal and synctactic description of FMs.
If I have a really complex FM created in merging many ones (around 80 FMs merged) I had some problems trying to serialize them to keep their textual representation. Mathieu explains me why because the internal representation cannot be easily serialized.
Then I compute the merge each time I need to use my complex FM which is very time consuming (cf issue #31). To avoid waiting too much, I decided to make copies of this complex FM and work on these, using the syntax "newFM = copy complexFM".
But apparently I have the same problems I had with the serialization of FMs : the copy seems not to be a clone of the previous FM.
Then is it possible either to change the way "copy" works to make proper clones ? Or to add another keyword maybe "clone" to make real clones instead of copy based on an incomplete serialization?
I'll try to formalize the scenario with a unit test as soon as I'll be able to build the project.
The text was updated successfully, but these errors were encountered: