France
Joined: Nov 7, 2005
Post Count: 9388
Status:
Offline
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 developer
France
Joined: Nov 7, 2005
Post Count: 9388
Status:
Offline
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 developer
France
Joined: Nov 7, 2005
Post Count: 9388
Status:
Offline
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 developer
FR
Joined: Jun 25, 2017
Post Count: 54
Status:
Offline
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