-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDK no longer recognized since LibreOffice 7.5 #98
Comments
I could display the addon menu on also Writer and Impress. Menu > View > User Interface > UI variants > Standard Toolbar. But it still haven't worked. |
So what's the content of RegistrationHandler.classes ? |
Thank you for your reply. I got this code from SDK or sample package, and it was hardly changed. |
There must be another file RegistrationHandler.classes in your project, what's the content of that file? |
Written: example.example.ExtensionMainImpl |
It was back to the state wrote at first comment after being resolved #99. My plugin can work from eclipse, but don't work when install the plugin. |
I received an answer to my question on ask.libreoffice.org https://ask.libreoffice.org/t/sdk-is-missing-idl-folder/89549 and also to the bug I raised here https://bugs.documentfoundation.org/show_bug.cgi?id=154341 The bottom line appears to be that the SDK no longer includes an /idl folder. This breaks LOEclipse. See also #99 |
There appear to have been no updates to the code of LOEclipse in the last three years. Does this plugin have a future, or should we just move on to some other solution? |
Better, fix the code yourself, LOEclipse is no Rocket Science :-) |
Thanks for investigating this! Otherwise I will fix this in the next weeks and do a new release. |
I would absolutely love to get involved, but I don't have the skills yet. I have to learn pull requests, how to debug Eclipse and Eclipse plugins, and probably at least a little Java first. |
Many thanks @michaelmassee for the fix! |
"Why this thread was closed even if I couldn't resolve this issue?" |
path/location of your RegistrationHandler.classes and RegistrationHandler.java files ? |
file location seems okay for me .... `
` this checks IUnoidlProject, not RegistrationHandler.classes ??? i must do some debuging to understand what is going on here ... |
Thank you for dealing my issue. As I said, my extension work from eclipse on Libreoffice, but couldn't export. |
`
` |
` ` |
Sorry, but I don't know where is "implementation directory" |
your RegistrationHandler.classes is probably at the wrong place check your .unoproject file String path = new String(mCompanyPrefix + "." + mOutputExtension).replace('.', '/'); mOutputExtension = project.implementation = comp so the file RegistrationHandler.classes must be in the empty error msg is also shown when the file ist not found |
Where is the path?
======================================= #UNO project configuration file |
de/xxx/yyy/comp -> was an Example so with your settings in .unoproject project.prefix=org.libreoffice.example the file RegistrationHandler.classes must be in the package i did some changes in the error handling to give you some more information |
The path is below. So should I change the parameters like below? project.prefix=source.example |
/project_name/source/ -> is the base project directory ???? if you change then the RegistrationHandler.classes file must be in the package show me your Package structure in Eclipse |
okay :-) change in .unoproject project.prefix=example.example create package example.example.comp |
change in RegistrationHandler.classes example.example.comp.ExtensionMainImpl |
okay, then wait for the project maintainer to merge my pull request to get some more info, and a better error message |
show me your output bin folder, are here the files in the correct place ? |
Hello.
My plugin running from Eclipse with LOEclipse properly.
But it don't work when installed to LibreOffice,
Sorry but I just can say just above now.
Please tell me how to investigate about this.
Is any log output by LibreOffice?
====================================
I could install the plugin "oxt" file to LiblreOffice. (not from eclipse)
It was indicated on menu on only Culc, (couldn't on Document, Writer) and worked only some function.
(due to "Addons.xcu"?)
====================================
I installed ***.oxt in "dist" folder.
When I use "export > LibreOffice package", it occur below error.
error: The RegistrationHandler.class is empty. exported .oxt extension will not properly.
====================================
excuse my poor English
The text was updated successfully, but these errors were encountered: