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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] ant using Sun Java?
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ant%20using%20Sun%20Java%3F&In-Reply-To=%3CCAOHCieAXKD95nBYJim67KBH-6%2B4dirYY9Ay_CoX7N7-unnLumQ%40mail.gmail.com%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="019220.html">
<LINK REL="Next" HREF="019222.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] ant using Sun Java?</H1>
<B>David Sjölin</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20ant%20using%20Sun%20Java%3F&In-Reply-To=%3CCAOHCieAXKD95nBYJim67KBH-6%2B4dirYY9Ay_CoX7N7-unnLumQ%40mail.gmail.com%3E"
TITLE="[Mageia-dev] ant using Sun Java?">david.sjolin at gmail.com
</A><BR>
<I>Mon Oct 8 10:44:41 CEST 2012</I>
<P><UL>
<LI>Previous message: <A HREF="019220.html">[Mageia-dev] ant using Sun Java?
</A></li>
<LI>Next message: <A HREF="019222.html">[Mageia-dev] [soft-commits] [6180] make sure shared-mimoe-info is installed so . desktop files work in atleast GNOME
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19227">[ date ]</a>
<a href="thread.html#19227">[ thread ]</a>
<a href="subject.html#19227">[ subject ]</a>
<a href="author.html#19227">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On Sun, Oct 7, 2012 at 1:04 PM, Guillaume Rousse <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">guillomovitch at gmail.com</A>>wrote:
><i> Le 07/10/2012 12:04, David Sjölin a écrit :
</I>><i>
</I>><i> But when I try to install ant it has a dependency on openjdk 1.5, 1.6 or
</I>>><i> 1.7. Would it be possible to setup the dependencies so it checks PATH
</I>>><i> for existing java-versions instead? I can override the paths so it uses
</I>>><i> Sun Java, but it would be simpler if it was possible to install Sun Java
</I>>><i> before installing ant and then not install OpenJDK?
</I>>><i>
</I>><i> While technically possible, using file dependencies seems a bad idea here,
</I>><i> because they have their own limitations. And more generally, the whole idea
</I>><i> of altering our packages to allow better interaction with non-packaged or
</I>><i> foreign-controlled stuff defeat the whole purpose of a self-contained
</I>><i> distribution.
</I>><i>
</I>><i> Just remove openjdk using rpm --nodeps option. Or better, build your own
</I>><i> empty package, providing the missing dependencies (java, jre) as virtual
</I>><i> packages. I wonder if we could add some kind of --ignore-dependency option
</I>><i> to urpmi to achieve the same result.
</I>><i>
</I>><i>
</I>Thanks, I'll try that (rpm --nodeps). Yes, being able to skip the
java-dependency in the installer (I used Install/Remove Software), would
probably be good, with OpenJDK selected by default still. Now I got the
option to choose java-version, so I guess a solution would be to be able to
choose "1.5, 1.6, 1.7 or none".
Regards,
David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-dev/attachments/20121008/11b477dd/attachment-0001.html>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="019220.html">[Mageia-dev] ant using Sun Java?
</A></li>
<LI>Next message: <A HREF="019222.html">[Mageia-dev] [soft-commits] [6180] make sure shared-mimoe-info is installed so . desktop files work in atleast GNOME
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#19227">[ date ]</a>
<a href="thread.html#19227">[ thread ]</a>
<a href="subject.html#19227">[ subject ]</a>
<a href="author.html#19227">[ 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>
|