Gentoo Wiki


This article is part of the Miscellaneous series.
Definitions Listings Licenses Other

Implementing the source useflag

Since IDE's like Eclipse and Netbeans allow it to attach the source code if applications as a zip file, we're going to add support for the source useflag to nearly all java based ebuilds. To make integrating easier for us, we have a little eclass function called dosrc. If you want to integrate support for the source useflag into an ebuild, you have to do the following things:

This is a great improvement and since it's very easy to implement into ebuild this should be added to every ebuild of the java herd.

Retrieved from ""

Last modified: Fri, 08 Apr 2005 10:41:00 +0000 Hits: 7,634