France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Portable version
Ce dossier ne contient que des fichiers temporaires qu'un bug dans la version de Java pour Windows empêche de supprimer à la fin du programme. Contourner ce bug qu'Oracle n'a pas l'air enclin à corriger est faisable sous Java 7 et beaucoup plus compliqué sous Java 6. Donc il faudra patienter encore quelques temps...
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Portable version
In the version 4.1 (119 MB), I found a way to delete the work folder and the temporary files it contains when the program ends normally, under Java 7 as well as in previous Java versions.
supseb, I hope this time you'll agree to qualify the new version as portable, even if the work folder will still be there after a program crash.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Portable version
isn't it possible to move this work folder in the same directory as SweetHome ?
I chose to create by default the work folder in user home folder for performance reasons. Very often, portable versions are run on a USB key with poor performances at writing time.
Nevertheless if you absolutely want to move this work folder in the folder where portable executables are found, you should make the following changes: - under Windows, add to the portable version installation folder the two files SweetHome3D-windows-x86.l4j.ini and SweetHome3D-windows-x64.l4j.ini containing the following text:
If Liberkey or anyone else decides to distribute the portable version of Sweet Home 3D after changing this parameter or after removing the Mac OS X and Linux versions, they should add a README....TXT files describing these changes.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Denmark
Joined: May 16, 2014
Post Count: 7
Status:
Offline
Re: Portable version
I have one more question about adding a plugin to the portable version. Do I just need to put the executable jar file of the plugin into the data/plugins directory?
Denmark
Joined: May 16, 2014
Post Count: 7
Status:
Offline
Re: Portable version
Hi again, I created 2 small plug-ins. If I open them with the executable jar file of SH3D from inside eclipse everything works fine. But if I put the jar files in the data/plugins folder of the portable version, SH3D freezes and doesn't open up. If I take the jar files out of the folder again, the portable version opens up again. What could that be?
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Portable version
What do you mean by "freezes"? Do you see only the splash screen? I tried again on my side and it worked with no problem.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator