Print at Dec 17, 2025, 1:36:11 AM View all posts in this thread on one page
Posted by AvinashC at May 3, 2024, 5:09:44 PM
Plugin development issue
Hi all, I am new here and I am looking for a little support on how I can use an existing plugin and make changes to it. I have downloaded the source code of the sweethome3d and i am running the code in eclipse.
I have followed the steps given in the developers guide.
I have the jar file of the plugin code and i added it to the directory however on running the code there is no tools menu or the given name to the feature.
I am currently using MacOs 14.4.1

Am i missing something in the steps please let me know

Posted by Puybaret at May 3, 2024, 5:58:43 PM
Re: Plugin development issue
If the plug-in is stored in the right folder and classpath is correct, you must have something in the console which will give you some hints.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by AvinashC at May 3, 2024, 6:58:29 PM
Re: Plugin development issue
The plugin was in a jar file and it got saved automatically in a destination in com.eteks.test and it has the ApplicationPlugin.properties file as well.
Is there any step i am missing here.

Posted by Puybaret at May 3, 2024, 8:04:10 PM
Re: Plugin development issue
Hum… and what about the content of the console?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by AvinashC at May 3, 2024, 8:33:03 PM
Re: Plugin development issue
WARNING: References to Carbon menus are disallowed with AppKit menu system on macOS 14 and newer. Use instances of NSMenu and NSMenuItem directly instead. See https://developer.apple.com/documentation/mac...-notes-for-macos-14#Menus

Apart from this warning there is nothing else on the console.

Posted by Puybaret at May 3, 2024, 9:21:16 PM
Re: Plugin development issue
Therefore it means that you didn’t place the plug-in in the right folder. Where did you store it?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by AvinashC at May 3, 2024, 10:09:56 PM
Re: Plugin development issue
its stored in the SweetHome 3d > ReferencedLibraries > TotalSurface.Jar > com.eteks.tes > TotalSurface.class
and the ApplicationPlugin is stored in TotalSurface.jar > META-INF folder

Posted by AvinashC at May 3, 2024, 10:10:37 PM
Re: Plugin development issue
Not able move them either

Posted by Puybaret at May 3, 2024, 10:31:22 PM
Re: Plugin development issue
It may be not the good folder. See the section Creating the plug-in JAR in Plug-in developer’s guide.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by Puybaret at May 3, 2024, 10:35:18 PM
Re: Plugin development issue
By the way, Referenced libraries section in Eclipse just lists the libraries that you use in your project, not the real folder where is stored a file!
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator