You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/05/21 22:37:22 UTC

[GitHub] SirIntellegence commented on issue #440: [NETBEANS-438] Cannot Sign Platform app due to symlink

SirIntellegence commented on issue #440: [NETBEANS-438] Cannot Sign Platform app due to symlink
URL: https://github.com/apache/incubator-netbeans/pull/440#issuecomment-390803779
 
 
   @dbalek The first `cd` is to `cd` to the location of the script under `Contents/MasOS` since we are not likely to be in that directory. The second is to cd to the dir with the actual script. The third one cd's to the result of `pwd -P`, which makes the current path absolute and resolves all symlinks. That last one is done in the main script, but I felt it might be better to do that using `pwd` than to use the logic in the main executable since that is mostly what `pwd` is for.
   
   Also, to test this, you will need to make a Netbeans Platform app, build it with "build-mac", and then sign the result with `codesign`. See https://developer.apple.com/library/content/documentation/Security/Conceptual/CodeSigningGuide/Procedures/Procedures.html to learn how to use `codesign`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

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

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