Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [qvtd-dev] QVT Standard Libraries

Hi Ed,

Branches pushed:
  - QVTd: asanchez/libraryIssue
  - QVTo: asanchez/397429

To reproduce execute: GenerateQVTOperationalEditor.mwe2[1]

Not sure if you want a new bugzilla or just reopen the one related to the libraries.

Regards,
Adolfo.

[1] org.eclipse.qvto.examples.build\src\org\eclipse\qvto\examples\build\GenerateQVTOperationalEditor.mwe2

On 06/05/2015 14:20, Adolfo Sanchez-Barbudo Herrera wrote:
Hi Ed,

I've found another side effect, when generating the CGed CS2AS
transformation for QVTo. The non-detected faulty behavior comes from
importing the Pivot.ecore in the Complete OCL descriptions which
eventually provokes that the QVTiEnvironmentFactory has the default
stdlib URI changed back to the OCL one. The changes occurs in
PivotMetamodelManager line 1782 when installing the root Model.

I'll prepare some branch you can reproduce, after having lunch.

Regards,
Adolfo.
--
On 05/05/2015 17:42, Ed Willink wrote:
Hi

Perhaps QVTiFacade is analoguous to
org.eclipse.qvtd.xtext.qvtimperative.tests.QVTiInterpreterTests.MyQVT
which extends QVTimperative.

There are two levels of behavior

QVTimperative / QVTbase provide enhanced analysis using the QVT
libraries.

Something else further extends to provide enhanced evaluation.

     Regards

         Ed



On 05/05/2015 17:11, Adolfo Sanchez-Barbudo Herrera wrote:
On 04/05/2015 23:10, Ed Willink wrote:
Use of the QVTbase/imperative Standard Library just requires
EnvironmentFactory.getStandardLibrary().setDefaultStandardLibraryURI()
to be invoked with e.g. QVTimperativeLibrary.STDLIB_URI. This should
happen automatically if the QVTbase/QVTimperative facades are used in
place of OCLInternal. These new facades probably render the QVTiFacade
obsolete that has crept in elsewhere for similar purposes.

Unfortunately is not the case. QVTimperative.newInstance method is
incorrect since it instantiates a PivotEnvironmentFactory instead of
the richer QVTiEnvironmentFactory. Note that the library installment
is done by construction of the own QVTiEnvironmentFactory.

Regards,
Adolfo.


_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or
unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/qvtd-dev


-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2015.0.5941 / Virus Database: 4339/9700 - Release Date:
05/05/15



_______________________________________________
qvtd-dev mailing list
qvtd-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe
from this list, visit
https://dev.eclipse.org/mailman/listinfo/qvtd-dev


Back to the top