Russel, Russel Winder-4 wrote: > > There are tools for checking presence of libraries, files etc. > (basically à la Autoconf) but there is no automated download and > install. This is not actually unreasonable as every platform requires > different builds of libraries, whereas there is an element of > commonality for jars which make them a littel more platform independent. >
This is what the maven nar plugin (java.freehep.org/freehep-nar-plugin/intro.html) does. It creates artifacts with a classifier that is based on the platform where the artifact was built (something like xercesc-2.5.0-i386-Linux.nar), this means that you can then use these artifacts when compiling your own modules (it uses the right artifact classifiers for the current platform) and also it is easy creating distributions containing multi-platform support because you can simply deploy all artifacts to an internal repository and then later gather them into an assembly tree. Ittay -- View this message in context: http://www.nabble.com/Can-gradle-build-C-libraries-and-RPM-distributions--tp17071528p17497537.html Sent from the gradle-user mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email
