France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Port SweetHome3DJS on docker
Gosh, this becomes complicated. As some users had problems to generate Sweet Home 3D JS with build instructions given in the project, I added 2 builds in SourceForge.net repository at last release. But don’t hope I’ll add support for less common platforms in a close future.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Port SweetHome3DJS on docker
So for now do not compile on linux?
Just install subversion, ant and nodejs packages, set JAVA_HOME environment var and follow instructions in README.TXT (if you get a "tsc command not found" error, follow also this tip). I just tried again and it worked.
It is possible to contibute to developments?
What do you have in mind?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Italy
Joined: Sep 12, 2021
Post Count: 7
Status:
Offline
Re: Port SweetHome3DJS on docker
Scuseme, I speak about Tomcat (to refer to .war), because the php version seems to have more features. Both versions will be maintained? I will study that parts of codes and I will ask more questions. Thank you!
France
Joined: Nov 7, 2005
Post Count: 9426
Status:
Offline
Re: Port SweetHome3DJS on docker
To run the .war version, download and run Tomcat, then copy .war file to its webapps folder and it will be automatically deployed and made available in the web server. Both versions have the same features, it’s just the way files are saved which differs. About whether both will be maintained, only future can tell…
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
US
Joined: Jan 23, 2024
Post Count: 1
Status:
Offline
Re: Port SweetHome3DJS on docker
It seems there's an issue with the SweetHome3D JS build using Docker. The error suggests a problem with the file path for bundle.js. Check the paths in build.xml, ensure proper task order, and verify JSweet configuration. Use ant -v viewerLibraries for more details. Confirm Docker permissions, check dependency resolution, and consult project documentation or community for assistance.