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 12:12 PM
> To: For users of Fedora Core releases
> Subject: Building a rpm with ant
> 
> Dear All
> 
> 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?
> 
> Thanks in advance,
> 
> Paul
> 

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.

	-Mike


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

  Powered by Linux