|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: Port SweetHome3DJS on docker |
|
| Print at Dec 15, 2025, 7:19:38 PM | View all posts in this thread on one page |
| Posted by zuo at Nov 29, 2023, 11:15:59 PM |
Port SweetHome3DJS on dockerI'm trying to build SweetHome3D JS with docker: I use jdk 11 and node 14, i try to install with ant but viewerLibraries give the following errors: BUILD FAILED /code/build.xml:87: Warning: Could not find file /code/tools/JSweet/build/js/bundle.js to copy. Also if transpiledLibraries compile correctly. In this repo the code https://gitlab.com/nicolalandro/study-sweethome3djs to simply replicate after the clone: * docker compose build * docker compose run sweethome3djs bash * $ and viewerLibraries |
| Posted by Puybaret at Nov 30, 2023, 2:41:18 PM |
|
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 |
| Posted by zuo at Nov 30, 2023, 5:25:24 PM |
|
Re: Port SweetHome3DJS on docker So for now do not compile on linux? So If i want to run it in my local environmet what can I do? It is possible to contibute to developments? |
| Posted by Puybaret at Nov 30, 2023, 6:50:14 PM |
|
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 |
| Posted by zuo at Nov 30, 2023, 7:09:15 PM |
|
Re: Port SweetHome3DJS on docker Thanks now I can use a working version https://gitlab.com/nicolalandro/study-sweethome3djs (I put the build test into de build folder). The php seams work correctly but the tommac what can do? |
| Posted by Puybaret at Nov 30, 2023, 7:53:03 PM |
|
Re: Port SweetHome3DJS on docker What do you mean by "tommac"? ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by zuo at Nov 30, 2023, 8:49:30 PM |
|
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! |
| Posted by Puybaret at Nov 30, 2023, 9:23:16 PM |
|
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 |
| Posted by boblewis at Jan 23, 2024, 11:18:59 AM |
|
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. |
|
|
Current timezone is GMT Dec 15, 2025, 7:19:38 PM |