hello.

Packer is an automation tool that build VM using some Virtualization
software or cloud.

Packer can run scripts.

Short answer is no, packer can't do that natively.

Option 1.

If you had a host that was OSX, packer local-shell could run an script and
do what you want. packer will just run the script.

Option 2.
If you have a OSX VM, using remote-shell the same, could run an script and
do what you want. packer will just run the script.

For the first, you need an OSX box,
For the second, I can't help you much, since OSX is not freely available,
Apple have some commercial restrictions.

You could end with a VM using OSX and run an script to do what you are
after, but can do that without packer, so is not a packer question we can
help.


Option 3.
Check for tome tool that can generate DMG files on linux/windows, outside
packer scope I am afraid.

Sorry for not being helpful, but is not a task that packer does.

Alvaro.


On Thu, Jan 12, 2017 at 11:49 AM, Joseph Mwema <[email protected]>
wrote:

> Please forgive this noon question.
>
> Is it possible to package a *.jar executable into a Mac executable like
> *.app or *.dmg?
>
> I have coded an application in java and I am able to create a windows
> installable package as either *.exe or *.msi from my *.jar in Netbeans IDE
> in Windows. I do not have a Mac but I wonder if it is possible to create an
> installable or an executable for a Mac from a *.jar using Packer from
> Windows.
>
> I will gladly appreciate your help.
>
> --
> This mailing list is governed under the HashiCorp Community Guidelines -
> https://www.hashicorp.com/community-guidelines.html. Behavior in
> violation of those guidelines may result in your removal from this mailing
> list.
>
> GitHub Issues: https://github.com/mitchellh/packer/issues
> IRC: #packer-tool on Freenode
> ---
> You received this message because you are subscribed to the Google Groups
> "Packer" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/packer-tool/0d83b970-0d2b-4ea0-a25d-00496cf12ad1%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Alvaro

-- 
This mailing list is governed under the HashiCorp Community Guidelines - 
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of 
those guidelines may result in your removal from this mailing list.

GitHub Issues: https://github.com/mitchellh/packer/issues
IRC: #packer-tool on Freenode
--- 
You received this message because you are subscribed to the Google Groups 
"Packer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/packer-tool/CAHqq0ey7nZJRGLKgBUNps32nhSfxQT69Htvp-Ra8ViXrTJREeg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to