| Summary: | Impossible to evaluate Java services from workspace in an Acceleo3 expression | ||
|---|---|---|---|
| Product: | [Modeling] Sirius | Reporter: | Maxime Porhel <maxime.porhel> |
| Component: | Core | Assignee: | Pierre-Charles David <pierre-charles.david> |
| Status: | CLOSED FIXED | QA Contact: | Maxime Porhel <maxime.porhel> |
| Severity: | normal | ||
| Priority: | P3 | CC: | florian.barbin, jerome.pequery, pierre-charles.david |
| Version: | 1.0.1 | Keywords: | triaged |
| Target Milestone: | 3.0.0M7 | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://git.eclipse.org/r/46531 https://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2ec5c18199303f9625aa53eb52e1a691f65dde82 |
||
| Whiteboard: | |||
|
Description
Maxime Porhel
I believe we can not do anything about this, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=419205. Basically, since Luna the underlying Equinox framework changes have removed the possibility for Acceleo to do the "magic" live deployment of OSGi bundles which are needed to invoke Java code defined in the workspace without starting a separate runtime. Note that like all "magic" behaviors, it was very brittle anyway. I'm really tempted to close this as WONTFIX: *if* Equinox supported such a mechanism and *if* Acceleo 3 made use of it, Sirius would probably support this scenario with no change needed (as it did pre-Luna). As it is, there is nothing wrong in Sirius, simply a limitation (regression) in the possibilities of one of the query languages we have an adapter for, and I don't think it is our responsibility to fix this. The only issue I see here which concerns Sirius itself is to make sure that this restriction is correctly documented. Moving to M5, but only to properly document the limitation, not to try to workaround it. Note that with bug #460947, this limitation may be lifted for AQL itself (but unless that work is also intergrated in the main Acceleo engine, the limitation will still hold for Acceleo itself). Moving to M7; we'll see how the work on AQL impacts the way we want to word this. New Gerrit change created: https://git.eclipse.org/r/46531 Gerrit change https://git.eclipse.org/r/46531 was merged to [master]. Commit: http://git.eclipse.org/c/sirius/org.eclipse.sirius.git/commit/?id=2ec5c18199303f9625aa53eb52e1a691f65dde82 Fixed by documentation the limitation. Validated on Sirius 3.0.0 RC1 Available in Sirius 3.0.0. See https://wiki.eclipse.org/Sirius/3.0.0. |