Building a rpm with ant
Mike McGrath
mmcgrath at iesabroad.org
Thu Oct 27 20:09:38 UTC 2005
> -----Original Message-----
> From: fedora-list-bounces at redhat.com
> [mailto:fedora-list-bounces at redhat.com] On Behalf Of Paul Smith
> Sent: Thursday, October 27, 2005 3:00 PM
> To: For users of Fedora Core releases
> Subject: Re: Building a rpm with ant
>
> On 10/27/05, Mike McGrath <mmcgrath at iesabroad.org> wrote:
> > > I have got a program which is written in Java, and I
> would like to
> > > build a rpm for that. Unfortunately, the option "buildrpm" is not
> > > listed by "ant -projecthelp". Can one even so build a rpm without
> > > much trouble?
> >
> > Ant is typically a replacement for "make". Neither of
> which generate
> > rpms. What you'd want to do is build an rpm with a spec
> file, and in
> > that spec file call on ant.
> >
> > I've found this link to be quite helpful.
> >
> > http://www.fedora.us/wiki/PackagingHints
> >
> > though it doesn't deal specifically with Ant it is still a good
> > resource. I do use ant to build java packages with rpmbuild.
>
> Thanks, Mike. I would never be able of writing a spec
> file!... :-) Is not there a tool similar to checkinstall to
> simplify the building of a rpm for java packages.
>
> Paul
>
Sorry, not that I know of.
-Mike
More information about the fedora-list
mailing list