Download

Online

Gallery

Blog

  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: 28
Posts: 28   Pages: 3   [ 1 2 3 | Next Page ]
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4413 times and has 27 replies Next Thread
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jul 9, 2023, 1:27:03 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jul 18, 2023, 3:20:25 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: 9388
Status: Offline
Reply to this Post  Reply with Quote 
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
[Jul 20, 2023, 11:15:41 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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?
[Jul 20, 2023, 12:09:30 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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
[Oct 6, 2023, 12:55:31 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: 9388
Status: Offline
Reply to this Post  Reply with Quote 
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
[Oct 6, 2023, 1:24:22 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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...
[Oct 6, 2023, 5:08:46 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: 9388
Status: Offline
Reply to this Post  Reply with Quote 
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
[Oct 6, 2023, 5:41:49 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
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 ?
[Oct 8, 2023, 12:16:48 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
buzzz
Member



FR
Joined: Jun 25, 2017
Post Count: 54
Status: Offline
Reply to this Post  Reply with Quote 
Re: automatically open .sh3d file on a Mac

Finally I force compilation with source="1.8", lots of warning, but it works
[Oct 11, 2023, 10:08:37 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Posts: 28   Pages: 3   [ 1 2 3 | Next Page ]
[ 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