From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-October/019227.html | 139 ++++++++++++++++++++++++++++ 1 file changed, 139 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-October/019227.html (limited to 'zarb-ml/mageia-dev/2012-October/019227.html') diff --git a/zarb-ml/mageia-dev/2012-October/019227.html b/zarb-ml/mageia-dev/2012-October/019227.html new file mode 100644 index 000000000..e740bee93 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-October/019227.html @@ -0,0 +1,139 @@ + + + + [Mageia-dev] ant using Sun Java? + + + + + + + + + +

[Mageia-dev] ant using Sun Java?

+ David Sjölin + david.sjolin at gmail.com +
+ Mon Oct 8 10:44:41 CEST 2012 +

+
+ +
On Sun, Oct 7, 2012 at 1:04 PM, Guillaume Rousse <guillomovitch at gmail.com>wrote:
+
+> Le 07/10/2012 12:04, David Sjölin a écrit :
+>
+>  But when I try to install ant it has a dependency on openjdk 1.5, 1.6 or
+>> 1.7. Would it be possible to setup the dependencies so it checks PATH
+>> for existing java-versions instead? I can override the paths so it uses
+>> Sun Java, but it would be simpler if it was possible to install Sun Java
+>> before installing ant and then not install OpenJDK?
+>>
+> While technically possible, using file dependencies seems a bad idea here,
+> because they have their own limitations. And more generally, the whole idea
+> of altering our packages to allow better interaction with non-packaged or
+> foreign-controlled stuff defeat the whole purpose of a self-contained
+> distribution.
+>
+> Just remove openjdk using rpm --nodeps option. Or better, build your own
+> empty package, providing the missing dependencies (java, jre) as virtual
+> packages. I wonder if we could add some kind of --ignore-dependency option
+> to urpmi to achieve the same result.
+>
+>
+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>
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1