RE: Building a rpm with ant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

> -----Original Message-----
> From: fedora-list-bounces@xxxxxxxxxx 
> [mailto:fedora-list-bounces@xxxxxxxxxx] 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@xxxxxxxxxxxxx> 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux