You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2013/12/18 02:21:51 UTC

[Bug 55899] New: Distribute Mac OS X .pkg installer of Ant (patch included)

https://issues.apache.org/bugzilla/show_bug.cgi?id=55899

            Bug ID: 55899
           Summary: Distribute Mac OS X .pkg installer of Ant (patch
                    included)
           Product: Ant
           Version: nightly
          Hardware: PC
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Core
          Assignee: notifications@ant.apache.org
          Reporter: bgertzfield@gmail.com

Created attachment 31128
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31128&action=edit
Patch to add Mac OS X .pkg installer of Apache Ant

Since Mac OS X 10.9, ant is no longer shipped as part of the OS.

It'd be great if we could include a Mac OS X .pkg installer with the binary Ant
distributions.

Attached please find a patch against ant core (r1551525) which includes a
script to build a Mac OS X .pkg installer from an Ant .zip binary distribution.

The patch also integrates into the 'distribution' build.xml target a new
'pkg_distribution' target to build the .pkg installer after building the .zip
binary distribution of ant. (The pkg_distribution target is conditional and
only runs if ant is built on a Mac OS X host.)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55899

--- Comment #3 from Ben Gertzfield <bg...@gmail.com> ---
Thanks for merging my contribution!

It'd be great to distribute the binary .pkg alongside the .zip, .tar.gz, and
.tar.bz2 binary distributions.

Many Mac OS X users are uncomfortable with installing a large open-source
package management system like MacPorts, Fink, and Homebrew (mainly because
they take a lot of time and effort to maintain).

The idea behind the .pkg installer is to make up for the removal of Apache Ant
from OS X 10.9 without requiring a large package management system.

Let me know if I can help get the .pkg up on the website alongside the other
binary distributions!

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55899

--- Comment #2 from Antoine Levy-Lambert <an...@apache.org> ---
for now I have added your script to the codebase but I did not include the
MacOS X package in the release.

Nicolas Lalevee wrote this :
> I am using macports to install Ant on my mac, works like a charm, and updated 
> frequently. And I know it is possible to do it via homebrew or fink too.

Can you have a look at these options ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

AW: [Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by "Jan Matèrne (jhm)" <ap...@materne.de>.
Sadly there is no Mac or Debian slave available for Jenkins [1].
With that we could set up some Jobs for building on Windows, Mac (n.a.), Solaris, Ubuntu, Debian (n.a.).


Jan


[1] https://builds.apache.org/

> -----Ursprüngliche Nachricht-----
> Von: Andre-John mas [mailto:andrejohn.mas@gmail.com]
> Gesendet: Montag, 23. Dezember 2013 17:13
> An: Ant Developers List
> Cc: Ant Developers List
> Betreff: Re: [Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of
> Ant (patch included)
> 
> Hi,
> 
> I think this may be the simplest approach, since invariably most people
> using Ant will probably interact with the command line at some point?
> 
> Andre
> 
> Sent from my tablet
> 
> On 2013-12-23, at 11:05, Nicolas Lalevée <ni...@hibnet.org>
> wrote:
> 
> >
> > Le 23 déc. 2013 à 13:47, Antoine Levy Lambert <an...@gmx.de> a
> écrit :
> >
> >> Hello Stefan,
> >>
> >> the python script to create the MacOSX installer relies on a utility
> pkgbuild which I suppose locks it to MacOSX.
> >> True we do not ship Windows Installers, Debian packages, so maybe we
> should hold off on shipping the MacOSX installer.
> >> Especially since there is no guarantee that future builds will be
> done on Macs.
> >
> > BTW, I am using macports to install Ant on my mac, works like a
> charm, and updated frequently. And I know it is possible to do it via
> homebrew or fink too.
> >
> > Nicolas
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional
> > commands, e-mail: dev-help@ant.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional
> commands, e-mail: dev-help@ant.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by Andre-John mas <an...@gmail.com>.
Hi,

I think this may be the simplest approach, since invariably most people using Ant will probably interact with the command line at some point?

Andre

Sent from my tablet

On 2013-12-23, at 11:05, Nicolas Lalevée <ni...@hibnet.org> wrote:

> 
> Le 23 déc. 2013 à 13:47, Antoine Levy Lambert <an...@gmx.de> a écrit :
> 
>> Hello Stefan,
>> 
>> the python script to create the MacOSX installer relies on a utility pkgbuild which I suppose locks it to MacOSX.
>> True we do not ship Windows Installers, Debian packages, so maybe we should hold off on shipping the MacOSX installer.
>> Especially since there is no guarantee that future builds will be done on Macs.
> 
> BTW, I am using macports to install Ant on my mac, works like a charm, and updated frequently. And I know it is possible to do it via homebrew or fink too.
> 
> Nicolas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by Nicolas Lalevée <ni...@hibnet.org>.
Le 23 déc. 2013 à 13:47, Antoine Levy Lambert <an...@gmx.de> a écrit :

> Hello Stefan,
> 
> the python script to create the MacOSX installer relies on a utility pkgbuild which I suppose locks it to MacOSX.
> True we do not ship Windows Installers, Debian packages, so maybe we should hold off on shipping the MacOSX installer.
> Especially since there is no guarantee that future builds will be done on Macs.

BTW, I am using macports to install Ant on my mac, works like a charm, and updated frequently. And I know it is possible to do it via homebrew or fink too.

Nicolas


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by Antoine Levy Lambert <an...@gmx.de>.
Hello Stefan,

the python script to create the MacOSX installer relies on a utility pkgbuild which I suppose locks it to MacOSX.
True we do not ship Windows Installers, Debian packages, so maybe we should hold off on shipping the MacOSX installer.
Especially since there is no guarantee that future builds will be done on Macs.

Regards,

Antoine
On Dec 23, 2013, at 1:01 AM, Stefan Bodewig wrote:

> On 2013-12-23, <bu...@apache.org> wrote:
> 
>> Do we want to distribute the installer systematically with new
>> versions of Ant ?
> 
> I wouldn't mind much if it can be created outside of a Mac.  Then again
> we don't ship Windows installers, Debian packages, RPMs ... either.
> 
> Stefan
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by Ben Gertzfield <bg...@gmail.com>.
On Sun, Dec 22, 2013 at 10:01 PM, Stefan Bodewig <bo...@apache.org> wrote:

> On 2013-12-23, <bu...@apache.org> wrote:
>
> > Do we want to distribute the installer systematically with new
> > versions of Ant ?
>
> I wouldn't mind much if it can be created outside of a Mac.  Then again
> we don't ship Windows installers, Debian packages, RPMs ... either.
>

Currently it does depend on a closed-source tool that ships with OS X, but
if we could replace that, the rest can run anywhere.

The main reason I contributed the .pkg installer logic was that Apple
previously shipped Ant with OS 10.8 and earlier, but they removed it in
10.9.

I think a lot of OS X users have grown to depend on Ant being available,
but I feel requiring them to install Homebrew or other heavyweight package
management systems is a lot to ask. It'd be really nice if we could fill in
the gaps Apple left behind in 10.9.

Ben

Re: [Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by Andre-John mas <an...@gmail.com>.
On 2013-12-23, at 1:01, Stefan Bodewig <bo...@apache.org> wrote:

> On 2013-12-23, <bu...@apache.org> wrote:
> 
>> Do we want to distribute the installer systematically with new
>> versions of Ant ?
> 
> I wouldn't mind much if it can be created outside of a Mac.  Then again
> we don't ship Windows installers, Debian packages, RPMs ... either.

That would be cool, though for that to happen we would need to find some library or tool that can do that. Does anyone know if the FreeBSD pkg_create tool creates compatible files?

Andre
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Re: [Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by Stefan Bodewig <bo...@apache.org>.
On 2013-12-23, <bu...@apache.org> wrote:

> Do we want to distribute the installer systematically with new
> versions of Ant ?

I wouldn't mind much if it can be created outside of a Mac.  Then again
we don't ship Windows installers, Debian packages, RPMs ... either.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


[Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55899

--- Comment #1 from Antoine Levy-Lambert <an...@apache.org> ---
you contribution is added in revision 1553066.
Do we want to distribute the installer systematically with new versions of Ant
? If yes I need to modify the binary download page and make changes to the ant
page on freecode.com to mention the MacOS package. Also check that the target
that we will invoke for the release includes the build of the Mac OS Package.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 55899] [PATCH] Distribute Mac OS X .pkg installer of Ant (patch included)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=55899

Ben Gertzfield <bg...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Distribute Mac OS X .pkg    |[PATCH] Distribute Mac OS X
                   |installer of Ant (patch     |.pkg installer of Ant
                   |included)                   |(patch included)
                 OS|                            |All

-- 
You are receiving this mail because:
You are the assignee for the bug.