creating jar file

This topic has been viewed 3235 times and has 1 replies
Thread status: Active
Questions about Sweet Home 3D installation [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
krneki
Posts: 5
Joined: Thu Jan 26, 2012 9:42 am

creating jar file

Post by krneki »

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
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: creating jar file

Post by Puybaret »

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. [:)]
Emmanuel Puybaret, Sweet Home 3D creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests