Print at Jan 21, 2026, 9:41:35 AM
Posts: 28   Pages: 3   [ 1 2 3 | Next Page ]
View all posts in this thread on one page
Posted by buzzz at Jul 9, 2023, 3:27:03 AM
automatically open .sh3d file on a Mac
Hi all,

When I double click on the .sh3D file on my mac, I would like that the file is automatically loaded into SW.

What is the correct approach ?

I see that in build.xml, there is a build option for:
ponderis3D-version-macosx-10.4-10.9.dmg

If I use this dmg installation, does it automatically configure the app and the association between .sh3D files and the app ?

Thx for help

Posted by buzzz at Jul 18, 2023, 5:20:25 PM
Re: automatically open .sh3d file on a Mac
Lol... I just notice that the file name was incorrect :)

We can call that a "lapsus revelateur" :D

Posted by Puybaret at Jul 20, 2023, 1:15:41 PM
Re: automatically open .sh3d file on a Mac
The associations between an application bundle and the files extensions is indicated in the UTExportedTypeDeclarations section of its Info.plist file.
Look at the one of Sweet Home 3D,, it's self-explanatory.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by buzzz at Jul 20, 2023, 2:09:30 PM
Re: automatically open .sh3d file on a Mac
I have to test this on my Mac.

can you tell me what version of java (I assume openjdk) needs to be installed for everything to work properly?

Posted by buzzz at Oct 6, 2023, 2:55:31 PM
Re: automatically open .sh3d file on a Mac
Hi all,

I have to test the .app build these next days. Currently I have a mac with Ventura 13.6. Which version of java do you use for that ?

Thx for help

Posted by Puybaret at Oct 6, 2023, 3:24:22 PM
Re: automatically open .sh3d file on a Mac
On macOS, Sweet Home 3D is bundled with Zulu 15.0.10 as indicated in its Ant project file.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by buzzz at Oct 6, 2023, 7:08:46 PM
Re: automatically open .sh3d file on a Mac
Thks Emmmanuel

Do I need to make an app build for each MacOS version ? 12 13 14 ?

I already notice that I have to build an intel plus arm version...

Posted by Puybaret at Oct 6, 2023, 7:41:49 PM
Re: automatically open .sh3d file on a Mac
Bundling Zulu 15.0.10 with Sweet Home 3D makes it able to run on macOS from 10.9 to 14.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator

Posted by buzzz at Oct 8, 2023, 2:16:48 AM
Re: automatically open .sh3d file on a Mac
Hi

On my PC with Oracle Java 15.0.2, when I build the officiel SW7.1 source, I obtain the following messages:

[echo] compiling Sweet Home 3D for Java 1.7 minimum version
[mkdir] Created dir: Desktop\SweetHome3D-7.1-src\build\classes
[javac] Desktop\SweetHome3D-7.1-src\build.xml:68: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Compiling 2 source files to Desktop\SweetHome3D-7.1-src\build\classes
[javac] warning: [options] bootstrap class path not set in conjunction with -source 7
[javac] warning: [options] source value 7 is obsolete and will be removed in a future release
[javac] warning: [options] target value 7 is obsolete and will be removed in a future release

But, on my mac (13.6), using Zulu 15.0.10 (Zulu 15.46), I obtain two errors:
[javac] error: source option 7 is no longer supported, Use 8 or later
[javac] error: Target option 7 is no longer supported, Use 8 or later

Any idea ?

Posted by buzzz at Oct 11, 2023, 12:08:37 PM
Re: automatically open .sh3d file on a Mac
Finally I force compilation with source="1.8", lots of warning, but it works

Posts: 28   Pages: 3   [ 1 2 3 | Next Page ]