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: 2
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 3069 times and has 1 reply Next Thread
krneki
Newbie




Joined: Jan 26, 2012
Post Count: 5
Status: Offline
Reply to this Post  Reply with Quote 
creating jar file

Hi!
I would like to create jar file for online version. I use eclipse and I export it in jar file. Which packages and resources must I use that the applet will work properly? If I use only ones that I found in online jar from sweethome page I get only blue-grey scrren. That file is around 2.7MB. But if I add all resources in io package I get 6.8MB and than works fine. How can I create jar file that is not biger than 3MB and io package would work properly?
Thanks for answering
[Jan 26, 2012, 12:25:50 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: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: creating jar file

There's no miracle, it works with the larger jar file because it must include the catalog items needed in the applet, while the catalog of Sweet Home 3D Online applet references only models and textures stored on sweethome3d.com. This doesn't change that much the total amount of downloaded info, but a smaller initial download will help to start the applet faster.
As I don't know how you built your file, it's difficult to help you.
In case you didn't notice, the following threads may help you:
- Deploying SweetHome3D, to be embeded in webpage
- How to import furniture in Applet.
Studying the applet target in Ant build.xml might help you too.

By the way, it would be nice to explain why you're trying to create an online version. smile
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
[Jan 27, 2012, 7:52: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 
[ 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 2024 Space Mushrooms - All rights reserved