Re: java-pkg-simple and java-mvn-src eclasses

Serkan Kaba <[email protected]> Fri, 02 Jan 2009 22:21:10 +0200
Newsgroups gmane.linux.gentoo.java
Organization Gentoo
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin von Gagern yazmış:
First of all I thank you for your suggestions. Integrating maven into
Gentoo Java infrastructure is in our TODO list for a long time and we
welcome any input trying to resolve this.
> Hi!
> 
> I propose two new eclasses. One is for building java packages from their
> *.java source files, without any additional build instructions. The
> second builds on it and is intended for source bundles exported by the
> source:jar goal of Maven2. Two parts of istack-commons can be bumped
> using these, in order to address https://bugs.gentoo.org/188015 .
Some projects such as mina and slf4j distribute these versioned
- -source.jar files. I use the -source.jar files and I explicitly use
those to build the binaries.
> 
> I would like to commit all of these to java-experimental if there are no
> objectsion. If you leave the Subject in place, I will catch replies to
> this list. Otherwise please Cc me personally, as I don't read every mail
> to the list.
> 
> On IRC selckin1 said: "simple eclass to build simple java packages has
> been proposed many times. my main question would be why doesn't it exist
> allready, this been suggested many times going back years, must be a
> reason." Any input on this would be useful as well.
The in tree ebuilds follow two methods here. One like yours where ejavac
is called for a set of java files. See media-sound/jtagger ebuild as an
example. The other is having a simple build.xml file as in
dev-java/slf4j-* or dev-java/mina-core. There are numerous examples in
tree for both methods.
> 
> Greetings,
>  Martin von Gagern (aka MvG)
> 

- --
Sincerely,
Serkan KABA
Gentoo/Java
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkledzYACgkQRh6X64ivZaKrOQCcCVWoTubNV/XKIx+TIAtHJ9YB
MuAAn1i7A3kM+JNYA6N/ObWddpagZoGd
=dXf5
-----END PGP SIGNATURE-----