Print at Dec 16, 2025, 9:40:31 AM

Posted by buzzz at Jun 17, 2023, 3:03:35 PM
build SW bundle for MacOS
Hi All,

I just see that in the ant build, we can bundle a mac app directly.

I build the jar on windows using ant.
But when I try to build the mac bundle, I obtain this error :



macosx10.4Bundle:
[move] Moving 1 file to C:\Users\toto\Desktop\SweetHome3D-7.1-src\install\macosx\10.4\SweetHome3D-7.1\Sweet Home 3D.app\Contents\Resources\Java
[move] Moving 1 file to C:\Users\toto\Desktop\SweetHome3D-7.1-src\install\macosx\10.4\SweetHome3D-7.1\Sweet Home 3D.app\Contents\Resources\Java
[move] Moving 1 file to C:\Users\toto\Desktop\SweetHome3D-7.1-src\install\macosx\10.4\SweetHome3D-7.1\Sweet Home 3D.app\Contents\Resources\Java
[move] Moving 1 file to C:\Users\toto\Desktop\SweetHome3D-7.1-src\install\macosx\10.4\SweetHome3D-7.1\Sweet Home 3D.app\Contents\Resources\Java
[move] Moving 1 file to C:\Users\toto\Desktop\SweetHome3D-7.1-src\install\macosx\10.4\SweetHome3D-7.1\Sweet Home 3D.app\Contents\Resources\Java
[exec] FINDá: format incorrect de paramΦtre

SweetHome3D-7.1-src\build.xml:865: exec returned: 2

I also have many questions :
- Maybe I need to build from a Mac ?
- For mac, which version of java/ant do I need ?
- I see that bundle uses Azul OpenJDK 15.0.2, I suppose I have to install this version before trying to build ?

Thx for help