|
|
|
|
|
|
Re: Dsl runtime library [message #1850096 is a reply to message #1850088] |
Tue, 15 February 2022 16:41 |
Yannick DAVELUY Messages: 39 Registered: July 2020 |
Member |
|
|
Ok I found the problem.
I had a custom DefaultResourceUIServiceProvider (see https://www.eclipse.org/forums/index.php/t/1109970/) and the IStorage ".org.eclipse.jdt.core.external.folders" was not built.
I patched the canBuild method and now it's working
@Override
public boolean canBuild(URI uri, IStorage storage)
{
if (storage instanceof IFile)
{
final var file = (IFile) storage;
final var project = file.getProject();
final var javaProject = JavaCore.create(project);
if (".org.eclipse.jdt.core.external.folders".equals(project.getName()))
{
return true;
}
return isInSourceFolder(javaProject, file);
}
// everything non local shouldn't be indexed at all, as we are going to link against Java.
return false;
}
Thanks
[Updated on: Tue, 15 February 2022 16:43] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02959 seconds