Building a rpm with ant
Paul Smith
phhs80 at gmail.com
Thu Oct 27 19:59:52 UTC 2005
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
More information about the fedora-list
mailing list