diff options
author | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2013-04-14 13:46:12 +0000 |
commit | 1be510f9529cb082f802408b472a77d074b394c0 (patch) | |
tree | b175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/attachments/20121008 | |
parent | fa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff) | |
download | archives-master.tar archives-master.tar.gz archives-master.tar.bz2 archives-master.tar.xz archives-master.zip |
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20121008')
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20121008/11b477dd/attachment-0001.html | 16 | ||||
-rw-r--r-- | zarb-ml/mageia-dev/attachments/20121008/11b477dd/attachment.html | 16 |
2 files changed, 32 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20121008/11b477dd/attachment-0001.html b/zarb-ml/mageia-dev/attachments/20121008/11b477dd/attachment-0001.html new file mode 100644 index 000000000..5cf7faf9e --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20121008/11b477dd/attachment-0001.html @@ -0,0 +1,16 @@ +<br><br><div class="gmail_quote">On Sun, Oct 7, 2012 at 1:04 PM, Guillaume Rousse <span dir="ltr"><<a href="mailto:guillomovitch@gmail.com" target="_blank">guillomovitch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> +Le 07/10/2012 12:04, David Sjölin a écrit :<div class="im"><br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> +But when I try to install ant it has a dependency on openjdk 1.5, 1.6 or<br> +1.7. Would it be possible to setup the dependencies so it checks PATH<br> +for existing java-versions instead? I can override the paths so it uses<br> +Sun Java, but it would be simpler if it was possible to install Sun Java<br> +before installing ant and then not install OpenJDK?<br> +</blockquote></div> +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.<br> + +<br> +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.<span class="HOEnZb"><font color="#888888"><br> + +</font></span><br></blockquote><div><br>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".<br> +<br>Regards,<br><br>David<br><br></div></div> diff --git a/zarb-ml/mageia-dev/attachments/20121008/11b477dd/attachment.html b/zarb-ml/mageia-dev/attachments/20121008/11b477dd/attachment.html new file mode 100644 index 000000000..5cf7faf9e --- /dev/null +++ b/zarb-ml/mageia-dev/attachments/20121008/11b477dd/attachment.html @@ -0,0 +1,16 @@ +<br><br><div class="gmail_quote">On Sun, Oct 7, 2012 at 1:04 PM, Guillaume Rousse <span dir="ltr"><<a href="mailto:guillomovitch@gmail.com" target="_blank">guillomovitch@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> +Le 07/10/2012 12:04, David Sjölin a écrit :<div class="im"><br> +<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> +But when I try to install ant it has a dependency on openjdk 1.5, 1.6 or<br> +1.7. Would it be possible to setup the dependencies so it checks PATH<br> +for existing java-versions instead? I can override the paths so it uses<br> +Sun Java, but it would be simpler if it was possible to install Sun Java<br> +before installing ant and then not install OpenJDK?<br> +</blockquote></div> +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.<br> + +<br> +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.<span class="HOEnZb"><font color="#888888"><br> + +</font></span><br></blockquote><div><br>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".<br> +<br>Regards,<br><br>David<br><br></div></div> |