|
12 | 12 | </div>
|
13 | 13 | <h1>here you can find product versions build by the build machine.</h1>
|
14 | 14 | product versions can be run without having to install eclipse as the product versions contain eclipse.<br>
|
15 |
| -Yust download the correct version for your os unpack and start eclipse. |
16 |
| -You still need to configure (step 4 of the installation instructions) |
| 15 | +Yust download the correct version for your os unpack and start eclipse.<br> |
| 16 | +You still need to configure (step 4 of the installation instructions)<br> |
| 17 | +<br> |
| 18 | +Note1: All versions before 213-11-29 are only tarred even though they are called tar.gz. <br> |
| 19 | +Note2: All this is still pre beta (but working) so there are still some things to do (like spash screen, icons ..). <br> |
| 20 | +<?php |
17 | 21 |
|
18 | 22 |
|
19 |
| -<h2>Linux 64 bit</h2><br> |
20 |
| -<?php |
21 |
| -$dir = "http://eclipse.baeyens.it/download/product"; |
22 |
| -$dh = opendir("download/product"); |
23 |
| -while ($f = readdir($dh)) { |
24 |
| - $fullpath = $dir."/".$f; |
25 |
| - if ($f{0} == "." || is_dir($fullpath)) continue; |
26 |
| - if (substr($f,0,8)=="linux64.") |
27 |
| - { |
28 |
| - echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>"; |
29 |
| - } |
| 23 | +function ListFileNames( $prefix) |
| 24 | +{ |
| 25 | + |
| 26 | + $location="download/product"; |
| 27 | + $dir = opendir($location); |
| 28 | + while(false != ($file = readdir($dir))) |
| 29 | + { |
| 30 | + if(($file != ".") and ($file != "..") and ($file != "index.php")) |
| 31 | + { |
| 32 | + $files[] = $file; // put in array. |
| 33 | + } |
| 34 | + } |
| 35 | + rsort($files); // sort. |
| 36 | + closedir($dir); |
| 37 | + |
| 38 | + foreach($files as $file) |
| 39 | + { |
| 40 | + $fullpath = $location."/".$file; |
| 41 | + if (substr($file,0,strlen($prefix))==$prefix) |
| 42 | + echo "<a href=\"$fullpath\" target=\"_blank\">$file</a>\n<br>"; |
| 43 | + } |
30 | 44 | }
|
31 |
| -closedir($dh); |
| 45 | +?> |
| 46 | +<h2>Linux 64 bit</h2> |
| 47 | +<?php |
| 48 | +ListFileNames("linux64."); |
32 | 49 | ?>
|
33 | 50 |
|
34 |
| -<h2>Linux 32 bit</h2><br> |
| 51 | +<h2>Linux 32 bit</h2> |
35 | 52 | <?php
|
36 |
| -$dir = "http://eclipse.baeyens.it/download/product"; |
37 |
| -$dh = opendir("download/product"); |
38 |
| -while ($f = readdir($dh)) { |
39 |
| - $fullpath = $dir."/".$f; |
40 |
| - if ($f{0} == "." || is_dir($fullpath)) continue; |
41 |
| - if (substr($f,0,8)=="linux32.") |
42 |
| - { |
43 |
| - echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>"; |
44 |
| - } |
45 |
| -} |
46 |
| -closedir($dh); |
| 53 | +ListFileNames("linux32."); |
47 | 54 | ?>
|
| 55 | + |
48 | 56 | <h2>win 64 bit</h2>
|
49 | 57 | <?php
|
50 |
| -$dir = "http://eclipse.baeyens.it/download/product"; |
51 |
| -$dh = opendir("download/product"); |
52 |
| -while ($f = readdir($dh)) { |
53 |
| - $fullpath = $dir."/".$f; |
54 |
| - if ($f{0} == "." || is_dir($fullpath)) continue; |
55 |
| - if (substr($f,0,6)=="win64.") |
56 |
| - { |
57 |
| - echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>"; |
58 |
| - } |
59 |
| -} |
60 |
| -closedir($dh); |
| 58 | +ListFileNames("win64."); |
61 | 59 | ?>
|
62 | 60 | <h2>win 32 bit</h2>
|
63 | 61 | <?php
|
64 |
| -$dir = "http://eclipse.baeyens.it/download/product"; |
65 |
| -$dh = opendir("download/product"); |
66 |
| -while ($f = readdir($dh)) { |
67 |
| - $fullpath = $dir."/".$f; |
68 |
| - if ($f{0} == "." || is_dir($fullpath)) continue; |
69 |
| - if (substr($f,0,6)=="win32.") |
70 |
| - { |
71 |
| - echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>"; |
72 |
| - } |
73 |
| -} |
74 |
| -closedir($dh); |
| 62 | +ListFileNames("win32."); |
75 | 63 | ?>
|
| 64 | + |
76 | 65 | <h2>Mac 64 bit</h2>
|
77 | 66 | <?php
|
78 |
| -$dir = "http://eclipse.baeyens.it/download/product"; |
79 |
| -$dh = opendir("download/product"); |
80 |
| -while ($f = readdir($dh)) { |
81 |
| - $fullpath = $dir."/".$f; |
82 |
| - if ($f{0} == "." || is_dir($fullpath)) continue; |
83 |
| - if (substr($f,0,6)=="mac64.") |
84 |
| - { |
85 |
| - echo "<a href=\"$fullpath\" target=\"_blank\">$f</a>\n<br>"; |
86 |
| - } |
87 |
| -} |
88 |
| -closedir($dh); |
| 67 | +ListFileNames("mac64."); |
89 | 68 | ?>
|
90 | 69 | <br>
|
91 | 70 | </body>
|
|
0 commit comments