Re: Packaging scm-manager
Taahir Ahmed <[email protected]> Mon, 12 Aug 2013 00:22:01 -0500
| Newsgroups | gmane.linux.gentoo.java |
|---|---|
| Organization | TAMU-CS-DAIRL |
| Message-ID | <4905030.eG0q10Nezs@basis> |
On Thursday, August 08, 2013 18:48:24 PM Taahir Ahmed wrote: > Hi all, > > I'm interested in packaging scm-manager [http://www.scm-manager.org/]. It's a > very nice java servlet that handles hosting git, mercurial, bazaar, and > subversion repositories. > > I'm starting by writing an init script for my existing install (attached). > I've got it mostly working, I think, but I am wondering if there's a gentoo- > approved way of setting a proper value for JAVA_HOME in the init script. > > There is a file (/etc/profile.d/java-config-2.sh) that sets a value for > several java-related environment variables. Is it good practice to source > this file from an init script? Right now I'm just using a sub-shell call to > java-config to detect the active system vm. > > Thanks, > > Taahir Ahmed One other thing: scm-manager uses maven. Is there a maven eclass in the works, or do I need to run it manually from src_configure/src_compile? Thanks, Taahir Ahmed