[fedora-java] Java library to query/create RPM packages

Nicolas Mailhot Nicolas.Mailhot at laPoste.net
Sun Mar 6 17:44:41 UTC 2005


Le dimanche 06 mars 2005 à 16:18 +0000, Joe Desbonnet a écrit :
> Is there any Java library that enables querying and creation of RPMs?

You can call rpm & build-classpath from ant.
One of the (many) reasons build-classpath returns a well-formed java
path is to allow result injection in ant (via path elements)

Once you've got system-wide jar resolution you can generate specs
dynamically via xslt. I wouldn't advise it though - it's a great way to
shoot yourself in the foot. The easiest way is always to have a working
ant build and pack the result in an rpm via an external spec file

Regards,

-- 
Nicolas Mailhot
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/java-devel/attachments/20050306/76d7e1f0/attachment-0001.bin 


More information about the java-devel mailing list