1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
|
<!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=%3C4D40CD1C.1070409%40liness.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="002359.html">
<LINK REL="Next" HREF="002348.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Java-Policy first draft published</H1>
<B>piep</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Java-Policy%20first%20draft%20published&In-Reply-To=%3C4D40CD1C.1070409%40liness.org%3E"
TITLE="[Mageia-dev] Java-Policy first draft published">piep at liness.org
</A><BR>
<I>Thu Jan 27 02:40:44 CET 2011</I>
<P><UL>
<LI>Previous message: <A HREF="002359.html">[Mageia-dev] Dev Team Call To Action...
</A></li>
<LI>Next message: <A HREF="002348.html">[Mageia-dev] Java-Policy first draft published
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2346">[ date ]</a>
<a href="thread.html#2346">[ thread ]</a>
<a href="subject.html#2346">[ subject ]</a>
<a href="author.html#2346">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>Refection about Java_Packaging_Policy : what about a jpackage project
for mageia java based rpm ?
like others I am still a "padawan" packager, but I also plan to work on
java (and music) packages
I follow this thread with interest for few days and I wonder why nobody
thinks to just import java packages from jpackage repositories ?
1) For many years jpackage.org project provides strong rpm packages of
java based applications. These packages are used on the professional
platform : Red Hat Enterprise Linux.
Last project, "jpp6", provides rpm packages built on java6
(JavaRuntimeEnvironment 1.6) and more than 2700 packages are ready to be
installed on any rpm based system.
see : <A HREF="http://www.jpackage.org/browser/browse.php?jppversion=6.0">http://www.jpackage.org/browser/browse.php?jppversion=6.0</A>
This is not the 400 packages of Mandriva project. Jpackage provides most
of all java applications from the apache foundation (tomcat, maven,
glassfish, hibernate, jakarta etc...) but also the J2EE application
server "jboss" (from Red Hat now).
"jpp6" project is still under "Work In Progress" (WIP) state but I guess
the number of package will reach the number of the actual "stable"
version 5 : 3327 rpms.
see : <A HREF="http://www.jpackage.org/browser/browse.php?jppversion=5.0">http://www.jpackage.org/browser/browse.php?jppversion=5.0</A>
2) JavaRuntimeEnvironment 1.6 aka java6 VM is the version provided in
Mandriva cooker (and now Mageia caultron I guess) and it already
provides the "jpackage-utils" package which is necessary to run packages
from a jpackage repository.
Jpackage now (jpp6) uses java compiler : openjdk
Despite the arguments why Mandriva developers left the jpackage project
to build their own java packages.
<A HREF="http://wiki.mandriva.com/en/Java_Packaging_Policy#Compatibility_with_proprietary_Java_stacks">http://wiki.mandriva.com/en/Java_Packaging_Policy#Compatibility_with_proprietary_Java_stacks</A>
We are at the beginning of a new rpm based distribution. It would be
stupid and suicidal to work on our own java packages and reinvent the
wheel again and again. If we want Mageia becomes a major distribution on
java application servers also, we have to consider jpackage as source of
java packages. Then we can concentrate our java packagers to improve the
"time to market" of jpackage applications and on desktop application
(tuxguitar, sweethome3d, JOSM, homeplayer etc..) and all java
application that lack in jpackage and why not try to provide them to
jpackage.
3) If you want to test the jpackage repository on your actual distro.
3.1) add a jpackage repository in mandriva cooker. (test on mdv cooker
dec 2010)
3.1.1) add the jpackage key
# rpm --import <A HREF="http://www.jpackage.org/jpackage.asc">http://www.jpackage.org/jpackage.asc</A>
(ref : <A HREF="http://jpackage.org/gpgkey.php">http://jpackage.org/gpgkey.php</A>)
3.1.2) replace jpackage-utils-1.7.5 by jpackage-utils-5.0.0
(I guess final version will be jpackage-utils-6.0.0)
# rpm -Uvh
<A HREF="http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/free/RPMS/jpackage-utils-5.0.0-2.jpp6.noarch.rpm">http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/free/RPMS/jpackage-utils-5.0.0-2.jpp6.noarch.rpm</A>
3.1.3) add the jpackage-6.0-generic-free depot
The standard command provides an error :
# urpmi.addmedia jpackage-6.0-generic
<A HREF="http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/free">http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/free</A>
with hdlist.cz
adding medium "jpackage-6.0-generic"
...retrieving failed: curl failed: exited with 22
no metadata found for medium
This is because urpmi runs the following command :
/usr/bin/curl -q -s --location-trusted -R -f --disable-epsv
--connect-timeout 60 --anyauth --stderr - -O
<A HREF="http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/free/reconfig.urpmi">http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/free/reconfig.urpmi</A>
and this reconfig.urpmi does not exist on the jpackage depot (I guess
this is a mismatch between "urpmi" version)
solution :
# urpmi.addmedia --probe-synthesis jpackage-6.0-generic-free
<A HREF="http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/free/RPMS">http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/free/RPMS</A>
3.1.4) add the jpackage-6.0-generic-non-free depot (empty depot on
2010-dec but can be useful)
# urpmi.addmedia --probe-synthesis jpackage-6.0-generic-non-free
<A HREF="http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/non-free/RPMS">http://vesta.informatik.rwth-aachen.de/ftp/pub/comp/Linux/jpackage/6.0/generic/non-free/RPMS</A>
4) some major application already packaged on jpp6 :
ant
glassfish
hibernate
jakarta
jboss
log4j
lucene
maven
saxon
tomcat
xerces
xalan
wsdl4j
etc...
see "Available Groups" for more details
<A HREF="http://mirrors.dotsrc.org/jpackage/6.0/generic/free/repoview/index.html">http://mirrors.dotsrc.org/jpackage/6.0/generic/free/repoview/index.html</A>
5) some old links found about Co-existence_with_JPackage:
<A HREF="http://wiki.mandriva.com/en/Java_Packaging_Policy#Co-existence_with_JPackage">http://wiki.mandriva.com/en/Java_Packaging_Policy#Co-existence_with_JPackage</A>
<A HREF="http://wiki.mandriva.com/en/Policies/Java/JPackage">http://wiki.mandriva.com/en/Policies/Java/JPackage</A>
6) So why don't we consider "jpackage" with the new eye of a new distro
and consider it as an external java application repository like we
already use "plf" ?
Why don't we work closer with the jpackage team to improve the urpmi
connection ?
long life to Mageia,
Pierrick Hervé
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="002359.html">[Mageia-dev] Dev Team Call To Action...
</A></li>
<LI>Next message: <A HREF="002348.html">[Mageia-dev] Java-Policy first draft published
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#2346">[ date ]</a>
<a href="thread.html#2346">[ thread ]</a>
<a href="subject.html#2346">[ subject ]</a>
<a href="author.html#2346">[ 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>
|