Print at Dec 15, 2025, 2:57:34 PM

Posted by buzzz at Apr 8, 2023, 12:49:19 PM
Re: plugin dev and JSOnline
Hi all.
Than you for your answers.

I look at the README.txt file in the JSOnline source archive : https://sourceforge.net/projects/sweethome3d/files/SweetHome3DJS-source/

I find this : Part of the JavaScript code required to run examples is generated from Sweet Home 3D Java code


After that, the author explains the process :
To generate the missing JavaScript code and run tests, install JDK 11 or more recent, Node version 14 available at https://nodejs.org/ and Ant available at http://ant.apache.org/ then run ant command in the directory where you uncompressed this archive followed by the "viewerLibraries" or "applicationLibraries" target names. The "applicationLibraries" target will create missing JavaScript code in lib/generated for Sweet Home 3D JS Editor and required to run the test/testHome.html found in this archive with any compatible browser.

I don't see the purpose of this message. Is it a way to explain how to transfer java code from SW java to SW JS ? What are these examples that the author talks about? Are they plugins?