What's the best practice for packaging java apps on FC
Kevin Kofler
kevin.kofler at chello.at
Tue Jun 6 23:14:55 UTC 2006
Well, the ones I remember:
1. Rebuild everything from source with the tools in Core or Extras at RPM build
time, don't just dump binary .class files in the RPM (no matter how they have
been built, but definitely not if they have been built with some proprietary
Java toolchain).
2. Use aot-compile-rpm to make precompiled .so files for faster operation with
GCJ/GIJ and be aware that the resulting packages are NOT noarch packages, but
plain old arch-specific packages (just like C/C++ programs).
The people working on GCJ on Fedora can certainly tell you more.
Kevin Kofler
More information about the fedora-extras-list
mailing list