Re: plugin dev and JSOnline
by buzzz » Sat Apr 08, 2023 10:49 am
Hi all.
Than you for your answers.
I look at the README.txt file in the JSOnline source archive :
https://sourceforge.net/projects/sweeth ... JS-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?