1 |
Kasun Gajasinghe wrote: |
2 |
|
3 |
> Hi Jörg, and Robert, |
4 |
> |
5 |
>>> FWIW one unresolved challenge for linux distributions with the rise of |
6 |
>>> bytecode languages (such as Java) is that compressed bytecodes are not |
7 |
>>> binaries in the usual sense (platform dependent machine executable |
8 |
>>> machine code). i know that it's a hard thing for the linux community |
9 |
>>> to hear but it's about time that the community acknowledged that these |
10 |
>>> languages are now mainstream and stop trying to force them into a |
11 |
>>> inappropriate provisioning model. |
12 |
> |
13 |
> So... what exactly are you suggesting? Switch in to using binaries |
14 |
> instead of building from source paradigm? |
15 |
|
16 |
For Java: Yes. Use flags are still useful for dropping optional deps. I |
17 |
recommended that already years ago. |
18 |
|
19 |
>> To build Maven from source in Gentoo I wonder about the hen-and-egg |
20 |
>> problem. |
21 |
> |
22 |
> Yes. To Bootstrap maven, the work around for this is by: first |
23 |
> generate ANT build.xml via `mvn ant:ant`. maven-bin will provide the |
24 |
> mvn command in this case. Then patch that build.xml to the source. |
25 |
> After that, ANT will take care of the building from source. |
26 |
> |
27 |
> If any of you is interested, you are welcome to have a look at the |
28 |
> proposal for Maven from source for Gentoo [1]. Feedback is much |
29 |
> appreciated. |
30 |
> |
31 |
> [1] |
32 |
> |
33 |
[http://socghop.appspot.com/gsoc/proposal/review/google/gsoc2011/kasun_gajasinghe/1 |
34 |
|
35 |
One hint only: You might take a closer look at Tycho. That one replaces the |
36 |
default dependency mechanism with a DependencyResolver that reads the |
37 |
dependencies from the OSGi entries in the manifest and uses a complete |
38 |
different repo layout (more or less what you see, when you look into |
39 |
Eclipse's plugins directory). It might be possible to develop a solution |
40 |
that uses similar hooks into the Maven core - to resolve deps and to support |
41 |
a different repo layout. However, that requires a Gentoo-version of Maven |
42 |
... |
43 |
|
44 |
- Jörg |