From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 070361381F3 for ; Mon, 12 Aug 2013 05:22:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BD1CE0AD9; Mon, 12 Aug 2013 05:22:04 +0000 (UTC) Received: from os-mail-4.tamu.edu (os-mail-4.tamu.edu [165.91.23.218]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1CDC7E0AD2 for ; Mon, 12 Aug 2013 05:22:02 +0000 (UTC) X-TAMU-Auth-ID: t551 X-TAMU-SenderIP: 74.192.12.3 X-HAT: SG None, P $RELAY, L outlook_auth X-SRBS: None X-EXTLoop1: 74.192.12.3 X-IronPort-AV: E=Sophos;i="4.89,859,1367989200"; d="scan'208";a="383029315" From: Taahir Ahmed To: gentoo-java@lists.gentoo.org Subject: Re: [gentoo-java] Packaging scm-manager Date: Mon, 12 Aug 2013 00:22:01 -0500 Message-ID: <4905030.eG0q10Nezs@basis> Organization: TAMU-CS-DAIRL User-Agent: KMail/4.10.5 (Linux/3.10.4-gentoo; KDE/4.10.5; x86_64; ; ) In-Reply-To: <15148336.2obGtzaLKW@basis> References: <15148336.2obGtzaLKW@basis> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@lists.gentoo.org Reply-To: gentoo-java@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" X-Archives-Salt: e9b6a42a-3bff-456e-be5c-5861da185e13 X-Archives-Hash: 451d83a4be2fbf46a16dfd348e73bd2b 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