diff options
Diffstat (limited to 'zarb-ml/mageia-dev/20110111/002068.html')
-rw-r--r-- | zarb-ml/mageia-dev/20110111/002068.html | 113 |
1 files changed, 113 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/20110111/002068.html b/zarb-ml/mageia-dev/20110111/002068.html new file mode 100644 index 000000000..79b1122be --- /dev/null +++ b/zarb-ml/mageia-dev/20110111/002068.html @@ -0,0 +1,113 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Java-Policy first draft published + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Java-Policy%20first%20draft%20published&In-Reply-To=%3C4D2C768F.60506%40iki.fi%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="002065.html"> + <LINK REL="Next" HREF="002069.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Java-Policy first draft published</H1> + <B>Anssi Hannula</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Java-Policy%20first%20draft%20published&In-Reply-To=%3C4D2C768F.60506%40iki.fi%3E" + TITLE="[Mageia-dev] Java-Policy first draft published">anssi.hannula at iki.fi + </A><BR> + <I>Tue Jan 11 16:26:07 CET 2011</I> + <P><UL> + <LI>Previous message: <A HREF="002065.html">[Mageia-dev] Java-Policy first draft published +</A></li> + <LI>Next message: <A HREF="002069.html">[Mageia-dev] Proposal for Mageia: implement bitorrent protocol to allow updates download +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2068">[ date ]</a> + <a href="thread.html#2068">[ thread ]</a> + <a href="subject.html#2068">[ subject ]</a> + <a href="author.html#2068">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>On 10.01.2011 22:02, Farfouille wrote: +><i> Hi +</I>><i> +</I>><i> I have published a first draft of Java application package policy. <A HREF="http://mageia.org/wiki/doku.php?id=java_applications_policy">http://mageia.org/wiki/doku.php?id=java_applications_policy</A> +</I>><i> +</I>><i> Corrections and comments are welcome. +</I> +BuildRequires: java-devel [>= specific_version] +BuildRequires: jpackage-utils + +These are satisfied by *any* java compiler, however we want packages to +be always built by a specific compiler. + +On Mandriva we solved this by replacing "BuildRequires: java-devel" with +"BuildRequires: java-rpmbuild" which is used to pull the "main" java +compiler (openjdk on all archs where it is supported, gcj/ecj on others). + +BuildRequires: ant +... +%build +... +ant + + +Replace "ant" with "%ant". This ensures ant is called with the specific +java compiler as mentioned above. + + +Also, the policy should mention %jar, %java, %javac, %javadoc, +%java_home that should be used when those tools/paths are needed. + +><i> Questions/Points : +</I>><i> +</I>><i> Section Specfile Template for ant and maven, I am not sure that the definition of Release is correct. +</I>><i> +</I>><i> Shouldn't it be useful to have a general policy about package name and versioning (like Fedora : <A HREF="http://fedoraproject.org/wiki/Packaging/NamingGuidelines">http://fedoraproject.org/wiki/Packaging/NamingGuidelines</A>) ? +</I> +Yes. + +MDV wiki has something on those, but not much indeed: +<A HREF="http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Naming_a_package">http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Naming_a_package</A> +<A HREF="http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Releasing_pre-versions">http://wiki.mandriva.com/en/Development/Howto/RPM_Advanced#Releasing_pre-versions</A> + + +><i> As I have never used maven, a deep reread is required +</I>><i> +</I>><i> Licence discrepency : dokuwiki template says licence is 'CC Attribution-Share Alike 3.0 Unported' but web application policy (<A HREF="http://mageia.org/wiki/doku.php?id=web_applications_policy">http://mageia.org/wiki/doku.php?id=web_applications_policy</A>) claims 'Creative Commons Attribution-ShareAlike 2.5 License' (end of the page) +</I>><i> +</I>><i> Cheers +</I>><i> +</I>><i> -- +</I>><i> Farfouille +</I>><i> +</I> + +-- +Anssi Hannula +</PRE> + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="002065.html">[Mageia-dev] Java-Policy first draft published +</A></li> + <LI>Next message: <A HREF="002069.html">[Mageia-dev] Proposal for Mageia: implement bitorrent protocol to allow updates download +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#2068">[ date ]</a> + <a href="thread.html#2068">[ thread ]</a> + <a href="subject.html#2068">[ subject ]</a> + <a href="author.html#2068">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |