Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » M2M (model-to-model transformation) » [QVTo] Import from different project: is it possible?
[QVTo] Import from different project: is it possible? [message #528128] Mon, 19 April 2010 13:09
Eclipse UserFriend
Originally posted by: dhendriksREMOVE.THIS.REMOVE...THIStueDOTnlREMOVE..THIS

Hello,

in a somefile.qvto file, one can co import bla, as long as bla.qvto and
somefile.qvto are in the same directory. I noticed, in the .project file
for Operational QVT projects, the following:

<buildCommand>
<name>org.eclipse.m2m.qvt.oml.project.QVTOBuilder</name>
<arguments>
<dictionary>
<key>src_container</key>
<value>transforms</value>
</dictionary>
</arguments>
</buildCommand>

I assume that the src_container is where QVTo looks for the imports. For
instance, the following import:

import a.b.NewLibrary;

gets correctly resolved to NewLibrary.qvto in the b subdirectory of the
a subdirectory of the transforms directory.

Now I have another .qvto file I'd like to import, but this one is in a
different project (I like to reuse it in multiple projects). How can I
import something from a different project? Is it possible at all? If so,
what do I need to change in the .project and/or .qvto files?

Thanks in advance,
Dennis
Previous Topic:[QVTo] how to do copying of contained objects?
Next Topic:[ATL] Launch Error
Goto Forum:
  


Current Time: Tue Apr 16 07:25:55 GMT 2024

Powered by FUDForum. Page generated in 0.03879 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top