Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 346251

Summary: Java service class 'not exported' from plugin
Product: [Modeling] Acceleo Reporter: Ed Willink <ed>
Component: CoreAssignee: Project Inbox <acceleo-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: laurent.goubet
Version: 3.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ed Willink CLA 2011-05-18 09:58:53 EDT
RC1

The following query generates the following warning message.

[query public prettyPrint(element : Element, scope : Namespace) : String =
invoke('org.eclipse.ocl.examples.pivot.prettyprint.PrettyPrintNameVisitor$Printer', 'prettyPrint(org.eclipse.ocl.examples.pivot.util.Visitable, org.eclipse.ocl.examples.pivot.Namespace)', Sequence{element, scope})/]

The Java service class 'org.eclipse.ocl.examples.pivot.prettyprint.PrettyPrintExprVisitor$Printer' from 
 the project 'org.omg.ocl.markup' does not seem to have been exported.

This is perhaps because org.eclipse.ocl.examples.pivot is an installed rather than workspace project, so does not for instance appear as a build.acceleo compiler dependency..
Comment 1 Laurent Goubet CLA 2016-04-01 11:00:01 EDT
This message only appears on non-exported services that can be found in the workspace. The case described here won't show the message, nor would calling an actually not exported service from a java class that we can't find in the workspace.