Gentoo Archives: gentoo-java

From: Serkan Kaba <serkan@g.o>
To: Martin von Gagern <Martin.vGagern@×××.net>
Cc: gentoo-java@l.g.o
Subject: Re: [gentoo-java] java-pkg-simple and java-mvn-src eclasses
Date: Fri, 02 Jan 2009 20:21:20
Message-Id: 495E7736.6050904@gentoo.org
In Reply to: [gentoo-java] java-pkg-simple and java-mvn-src eclasses by Martin von Gagern
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Martin von Gagern yazmış:
5 First of all I thank you for your suggestions. Integrating maven into
6 Gentoo Java infrastructure is in our TODO list for a long time and we
7 welcome any input trying to resolve this.
8 > Hi!
9 >
10 > I propose two new eclasses. One is for building java packages from their
11 > *.java source files, without any additional build instructions. The
12 > second builds on it and is intended for source bundles exported by the
13 > source:jar goal of Maven2. Two parts of istack-commons can be bumped
14 > using these, in order to address https://bugs.gentoo.org/188015 .
15 Some projects such as mina and slf4j distribute these versioned
16 - -source.jar files. I use the -source.jar files and I explicitly use
17 those to build the binaries.
18 >
19 > I would like to commit all of these to java-experimental if there are no
20 > objectsion. If you leave the Subject in place, I will catch replies to
21 > this list. Otherwise please Cc me personally, as I don't read every mail
22 > to the list.
23 >
24 > On IRC selckin1 said: "simple eclass to build simple java packages has
25 > been proposed many times. my main question would be why doesn't it exist
26 > allready, this been suggested many times going back years, must be a
27 > reason." Any input on this would be useful as well.
28 The in tree ebuilds follow two methods here. One like yours where ejavac
29 is called for a set of java files. See media-sound/jtagger ebuild as an
30 example. The other is having a simple build.xml file as in
31 dev-java/slf4j-* or dev-java/mina-core. There are numerous examples in
32 tree for both methods.
33 >
34 > Greetings,
35 > Martin von Gagern (aka MvG)
36 >
37
38 - --
39 Sincerely,
40 Serkan KABA
41 Gentoo/Java
42 -----BEGIN PGP SIGNATURE-----
43 Version: GnuPG v2.0.9 (GNU/Linux)
44 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
45
46 iEYEARECAAYFAkledzYACgkQRh6X64ivZaKrOQCcCVWoTubNV/XKIx+TIAtHJ9YB
47 MuAAn1i7A3kM+JNYA6N/ObWddpagZoGd
48 =dXf5
49 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-java] java-pkg-simple and java-mvn-src eclasses Martin von Gagern <Martin.vGagern@×××.net>