Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [mdt-papyrus.dev] Compilation error in org.eclipse.papyrus.infra.gmfdiag.css.configuration plug-in?

Hi

You might want to consider whether you really need org.eclipse.xtext.common.types at all. It provides a lot of power which was much more than Eclipse OCL needed.

Unfortunately most of its functionality is internal and so it is difficult to customize without suppressing restriction warnings. One of the internal constructors changed for M2 breaking Eclipse OCL. Since all I needed was class name checking / searching, the power to look inside types was completely over the top. I am therefore just rewriting to have a simple JavaClassScope and so avoid all dependencies of Eclipse OCL on org.eclipse.xtext.common.types.

A similar simplification might be appropriate for Papyrus.

    Regards

        Ed Willink


On 01/10/2014 21:12, Christian W. Damus wrote:
Hi, team,

For some while, now, I have had a compilation error in my workspace in code that I don't work on:

Plug-in: org.eclipse.papyrus.infra.gmfdiag.css.configuration
Class: org.eclipse.papyrus.infra.gmfdiag.css.configuration.providers.StylesheetLabelProvider
Error:  The type org.eclipse.xtext.common.types.access.IJvmTypeProvider$Factory cannot be resolved. It is indirectly referenced from required .class files

As indicated, the compile-time classpath for this source file is incomplete.  The usual reason for this is that the bundle manifest is missing a package-import or require-bundle for an API dependency that a declared dependency does not re-export.

Am I the only one with this error?  Why does it not break the build?  And how can I fix it in my local environment without changing this plug-in's bundle manifest, if indeed it is a problem in my development environment, as is suggested by the fact that the nightly builds succeed?

Thanks,

Christian



_______________________________________________
mdt-papyrus.dev mailing list
mdt-papyrus.dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/mdt-papyrus.dev


No virus found in this message.
Checked by AVG - www.avg.com
Version: 2014.0.4765 / Virus Database: 4025/8307 - Release Date: 10/01/14



Back to the top