netbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Gradwell (Jira)" <j...@apache.org>
Subject [jira] [Commented] (NETBEANS-4272) Package as DMG Image (using ANT) fails with Error: Bundler "DMG Installer" (dmg) failed to produce a bundle.
Date Wed, 20 May 2020 10:51:00 GMT

    [ https://issues.apache.org/jira/browse/NETBEANS-4272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17112048#comment-17112048
] 

David Gradwell commented on NETBEANS-4272:
------------------------------------------

NetBeans 12.0 beta 4 works provided that netbeans.conf is changed to point to a JDK 1.8 installation
home. 

> Package as DMG Image (using ANT) fails with Error: Bundler "DMG Installer" (dmg) failed
to produce a bundle.
> ------------------------------------------------------------------------------------------------------------
>
>                 Key: NETBEANS-4272
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4272
>             Project: NetBeans
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 12.0
>         Environment: Mac OS X Catalina 10.15.4 with NetBeans running with jdk1.8.0_221
>            Reporter: David Gradwell
>            Priority: Major
>
> *Issue*
> Package as DMG Image (using ANT) fails with Error: Bundler "DMG Installer" (dmg) failed
to produce a bundle.
> No way to produce a native installer using NetBeans 12.0.
> *NetBeans Version*
> 12.0 beta 3
> *Steps to reproduce:*
>  # Install fresh copy of 12.0 beta 3.
>  # Change netbeans.conf to point to a JDK 1.8 installation home. E.g.
> netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_221.jdk/Contents/Home"
> 3 Create new Project "Java with Ant", "Java Application".
>  # Create a single Java file such as:
> package testmacdmgwithant;
> public class TestMacDMGwithAnt
> { /** * @param args the command line arguments */ public static void main(String[] args)
\\{ int a=1; }
> }
>  
>  # Go clean and build and debug to prove it works OK.
>  # Run the .jar in the dist folder to prove it works OK.
>  # Go right click on the project and select "Package as DMG Image"
>  
> End of output is:
> Launching <fx:deploy> in native packager mode...
> No base JDK. Package will use system JRE.
> No base JDK. Package will use system JRE.
> Building DMG package for TestMacOSXPackagingWithAnt
> Found more than one key matching 'Developer ID Application: '
> /Users/davidjlgradwell/NetBeansDev/TestMacOSXPackagingWithAnt/nbproject/build-native.xml:715:
Error: Bundler "DMG Installer" (dmg) failed to produce a bundle.
> BUILD FAILED (total time: 10 seconds)
>  No useful information in the log file.
> Notes: 
>  
>  # Packaging works fine with NetBeans 11.3 with the same netbeans_jdkhome as above.
>  # Maven projects do not support Properties/Build/Deployment/Enable Native Packaging
Actions in Project Menu.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Mime
View raw message