Download

Online

Gallery

Blog

  Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 47
Posts: 47   Pages: 5   [ Previous Page | 1 2 3 4 5 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 197130 times and has 46 replies Next Thread
emirhanbskc
Newbie



Türkiye
Joined: Jun 13, 2021
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

Can we use Sweet Home 3D JS Online(not only viewer, I want to use with editor) own site ? Is it open-source. If okay. When I tried to deploy with ant, why only viewer libraries exporting
[Jun 13, 2021, 1:37:23 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

SweetHome3DJS project is distributed under GNU General Public Licence so you can use it on your own site, as long as you respect the terms of that license, i.e. providing the source code of the modifications you may have made to the project for your needs.
Read project build.xml and you’ll see that there are other targets. I guess you look for applicationBuild target.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 13, 2021, 5:52:55 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
emirhanbskc
Newbie



Türkiye
Joined: Jun 13, 2021
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

When I deploy with ant I get SweetHome3DJS-6.5.2-src\tools\JSweet\build\js\bundle.js file error (it doesn't create bundle.js file) and so I can't ant "applicationBuild" files.
[Jun 14, 2021, 3:52:24 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

Did you read (and use) all the instructions in the README.TXT?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 14, 2021, 4:17:03 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
emirhanbskc
Newbie



Türkiye
Joined: Jun 13, 2021
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

Yes, I did everything in the README.TXT in "Sweet Home 3D JS-6.5.2", I'm getting an error while ant.
[Jun 14, 2021, 5:26:04 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

Did you install Node? What error do you exactly get (please do not copy all the log)?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 14, 2021, 5:56:00 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
emirhanbskc
Newbie



Türkiye
Joined: Jun 13, 2021
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

Yes node is installed, when I run ant command in cmd
(BUILD FAILED
C:\Users\Emirhan\Desktop\Art²kAnd\SweetHome3DJS-6.5.2-src\build.xml:79: Warning: Could not find file C:\Users\Emirhan\Desktop\Art²kAnd\SweetHome3DJS-6.5.2-src\ tools\JSweet\build\js\bundle.js to copy.),I get the error.
[Jun 14, 2021, 6:15:59 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
emirhanbskc
Newbie



Türkiye
Joined: Jun 13, 2021
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

I did not get any warning or error on transpiledLibraries section. Also I did not get error for j4ts-batik-svgpathparser-1.10.0-20170726/bundle.js, j4ts-swingundo-1.8.132-20170726/bundle.js and j4ts-awtgeom-1.8.132-20200519/bundle.js. They created but only tools/JSweet/build/js/bundle.js file not created. So ant says I can not move that file(tools/JSweet/build/js/bundle.js).
[Jun 14, 2021, 11:28:48 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

The project was built under Mac OS X and can't be built under Windows and Linux at the moment. We'll hopefully fix that in a coming version.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 18, 2021, 11:15:56 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9141
Status: Offline
Reply to this Post  Reply with Quote 
Re: Sweet Home 3D JS Online

Finally, the error under Windows can be fixed easily: in build.xml Ant file, just replace colons (:) in the two following lines
<arg value="../SweetHome3D/src:tools/JSweet/src" />
<arg value="def:com/eteks/sweethome3d/model:com/eteks/sweethome3d/tools:com/eteks/sweethome3d/viewcontroller:com/eteks/sweethome3d/io" />
by ${path.separator} (see fix here).

By the way, if you want to generate SweetHome3DJS.war file, don't forget to run Ant default target in SweetHome3D project too. SweetHome3D.jar is required to generate the war file.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
[Jun 18, 2021, 11:57:17 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 47   Pages: 5   [ Previous Page | 1 2 3 4 5 | Next Page ]
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

    Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads
   
© Copyright 2006-2024 eTeks - All rights reserved