[QVTo] Import from different project: is it possible? [message #528128] |
Mon, 19 April 2010 13:09 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.02580 seconds