Skip to main content

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

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.




Back to the top