Use of Libraries in different Projectshttps://www.eclipse.org/forums/index.php/mv/msg/453589/1009536/#msg_1009536
i wonder if it is possible to use a Library which is defined in one Eclipse Project in an other Project.
Simply importing it doesn't seem to work.
Does anybody have a solution to this?
Thanks Steffen]]>Steffen Slavetinsky2013-02-15T09:38:35-00:00Re: Use of Libraries in different Projectshttps://www.eclipse.org/forums/index.php/mv/msg/453589/1012796/#msg_1012796
I think what you are trying to achieve is known as "cross-project build". Existing code for that feature has been commented out from class ProjectDependencyHelper in the course of the following bugzilla:https://bugs.eclipse.org/bugs/show_bug.cgi?id=307676

I have no clue about the exact reasons for removing the PDE dependency. Code comments state that cross-project builds were never fully supported. No idea what this exactly means. I must say that the code doesn't look so bad at first glance.

Since I consider this as a crucial feature towards dividing transformations into smaller reusable parts, my plan is to re-enable cross-project builds. However, I'm afraid this won't happen before May since I'm very busy right now.

What you could try at the moment is to deploy your library in a plugin that contributes an extension for

org.eclipse.m2m.qvt.oml.runtime.qvtTransformation

. This might enable some advanced resolving capabilities when executing your transformation from a platform that runs your plugin. Compilation errors could then be successfully ignored at runtime. However, this is just a hope, never tried this before.

Regards
Christopher ]]>Christopher Gerking2013-02-22T08:37:30-00:00Re: Use of Libraries in different Projectshttps://www.eclipse.org/forums/index.php/mv/msg/453589/1325656/#msg_1325656
https://bugs.eclipse.org/bugs/show_bug.cgi?id=307676) is listed as resolved/fixed, but it doesn't seem to work and no patches are attached and the last comments there don't sound promising.

We would also *very* much like to have cross-project build support in QVTo, since we have far too many transformations to keep them all in the same project. Even a new dependency is much preferred to our current solution.

I've also added a comment on the bug itself.

Thank you to anyone who knows about this,
Chris]]>Christine Gerpheide2014-05-01T10:10:08-00:00Re: Use of Libraries in different Projectshttps://www.eclipse.org/forums/index.php/mv/msg/453589/1326172/#msg_1326172
https://bugs.eclipse.org/bugs/show_bug.cgi?id=433937]]>Christine Gerpheide2014-05-01T16:00:53-00:00