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