eclipse-qvto / org.eclipse.qvto

Eclipse Public License 2.0
0 stars 1 forks source link

Importing JDT blackboxes by access or extends #1106

Open eclipse-qvt-oml-bot opened 1 week ago

eclipse-qvt-oml-bot commented 1 week ago

| --- | --- | | Bugzilla Link | 578955 | | Status | NEW | | Importance | P3 minor | | Reported | Feb 24, 2022 12:42 EDT | | Modified | Feb 28, 2022 15:53 EDT | | See also | Gerrit change 191198, Gerrit change 191199, Git commit 2e8d197a, Git commit 3fed96dc | | Reporter | Christopher Gerking |

Description

A Java blackbox resolved in the workspace through JDT cannot be imported by access or extends, like it is possible with ordinary modules.

import org.eclipse.m2m.tests.qvt.oml.BBoxLibrary;

transformation t() access BBoxLibrary;

In the above snippet, there will be a parser error on the 'BBoxLibrary' token after the access.

The reason is rather trivial: the JDT blackbox provider fails to properly extract the simple name for the blackbox module from the (fully qualified) name of the compilation unit.

eclipse-qvt-oml-bot commented 1 week ago

Feb 24, 2022 13:01

New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/191198

eclipse-qvt-oml-bot commented 1 week ago

Feb 24, 2022 13:01

New Gerrit change created: https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/191199

eclipse-qvt-oml-bot commented 1 week ago

Feb 28, 2022 15:53

Gerrit change https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/191199 was merged to [master].\ Commit: http://git.eclipse.org/c/mmt/org.eclipse.qvto.git/commit/?id=2e8d197a143cb906ae86e0d0bce9b71e2a75b604

eclipse-qvt-oml-bot commented 1 week ago

Feb 28, 2022 15:53

Gerrit change https://git.eclipse.org/r/c/mmt/org.eclipse.qvto/+/191198 was merged to [master].\ Commit: http://git.eclipse.org/c/mmt/org.eclipse.qvto.git/commit/?id=3fed96dc710014a4b5e4f3a655af2cccc696e0a6