-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
When trying to add the LibreOffice SDK (Window > Preferences > LibreOffice Plugin > SDK Configuration > Add LibreOffice SDK configuration) nothing happens (or for a moment it shows the error "SDK version has to be at least 2.0.4").
The program is actually trying to find the file "uno_skeletonmaker.exe " while he "uno-skeletonmaker.exe"
A code snippet from the SDK.java, which is located in the package org.libreoffice.ide.eclipse.core.internal.model:
String binName = getCommand("uno-skeletonmaker"); //$NON-NLS-1$
if (!path.append(binName).toFile().exists()) {
throw new InvalidConfigException(Messages.getString("SDK.MinSdkVersionError"), //$NON-NLS-1$
InvalidConfigException.INVALID_SDK_HOME);
}
...
public String getCommand(String command) {
if (Platform.getOS().equals(Platform.OS_WIN32)) {
command = command.replace('-', '_');
command += ".exe"; //$NON-NLS-1$
}
return command;
}
Temporary solution:
When adding the SDK to the "pathToLibreOfficeSDK\sdk\bin" directory, rename "uno-skeletonmaker.exe" to "uno_skeletonmaker.exe".
After adding the SDK configuration, return it to its original state.
Metadata
Metadata
Assignees
Labels
No labels