[Mageia-dev] Java-Policy first draft published
Renaud MICHEL
r.h.michel+mageia at gmail.com
Mon Jan 10 23:45:32 CET 2011
On lundi 10 janvier 2011 at 21:02, Farfouille wrote :
> I have published a first draft of Java application package policy.
> http://mageia.org/wiki/doku.php?id=java_applications_policy
Thank you for your work.
I suppose this page is meant to replace
http://mageia.org/wiki/doku.php?id=java_policy
> Corrections and comments are welcome.
About the GCJ section, how about replacing it with:
"Building GCJ AOT bits is discouraged. If you have a good reason to build
them they must be placed in a sub-package named %{name}-gcj to avoid a
require on java-1.5.0-gcj on the main package, because this will force every
single user to install it even if one wants to use another JVM."
In the section "Pre-built JAR files" it says "This is unacceptable in
Fedora", shouldn't it be changed to mageia? Or perhaps rephrased
differently?
Also about section "Pre-built JAR files", maven has his own repository to
resolve dependencies, but ant based build scripts are generally bundled with
their required jars. So to be built against the system installed jars, the
spec file should either:
- add some parameters to ant (if the build.xml supports it) constructed with
build-classpath
- patch the build.xml to use the jars in the standard location
- create symlinks where the build.xml expect them (using build-jar-
repository?)
Cheers
--
Renaud Michel
More information about the Mageia-dev
mailing list