India
Joined: Apr 3, 2024
Post Count: 6
Status:
Offline
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
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
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 developer
India
Joined: Apr 3, 2024
Post Count: 6
Status:
Offline
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.
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
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 developer
India
Joined: Apr 3, 2024
Post Count: 6
Status:
Offline
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
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
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 developer
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
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 developer