Return-Path: X-Original-To: apmail-ofbiz-user-archive@www.apache.org Delivered-To: apmail-ofbiz-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 42997D33A for ; Tue, 31 Jul 2012 20:49:17 +0000 (UTC) Received: (qmail 14967 invoked by uid 500); 31 Jul 2012 20:49:15 -0000 Delivered-To: apmail-ofbiz-user-archive@ofbiz.apache.org Received: (qmail 14960 invoked by uid 500); 31 Jul 2012 20:49:15 -0000 Mailing-List: contact user-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ofbiz.apache.org Delivered-To: mailing list user@ofbiz.apache.org Received: (qmail 14938 invoked by uid 99); 31 Jul 2012 20:49:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 20:49:15 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FSL_RCVD_USER,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [184.154.208.38] (HELO delivery.mailspamprotection.com) (184.154.208.38) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jul 2012 20:49:08 +0000 Received: from ns1.siteground309.com ([184.154.233.20] helo=serv01.siteground309.com) by se6.mailspamprotection.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SwJKd-0008EU-Hv for user@ofbiz.apache.org; Tue, 31 Jul 2012 15:48:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sandglass-software.com; s=dkim; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:To:MIME-Version:From:Date:Message-ID; bh=zmRrL8o4IWhgT6rK3j2By81FGk8swJ9Z7dZijmIO/xg=; b=GayQWvEbdhl4cAeHHZ8PyBhV3oZnztQ6qdzO3XdpxlP1Bo6GvewA53ObE4Gm+n8CHDLScqOsZ+pvZhQvOOSmOFIpuxCYi/2oJlxltkvKyfFniEtci7b1DspKOZ6iI1owf8tSU2fQ8XP2kAIC34VzAqnh9exlJHEQmRk/V+69cCs=; Received: from [86.135.115.141] (port=4578 helo=[192.168.1.64]) by serv01.siteground309.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1SwJKe-00086Q-6P for user@ofbiz.apache.org; Tue, 31 Jul 2012 15:46:20 -0500 Message-ID: <50184419.2090603@sandglass-software.com> Date: Tue, 31 Jul 2012 21:46:17 +0100 From: Adrian Crum Organization: Sandglass Software User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:14.0) Gecko/20120713 Thunderbird/14.0 MIME-Version: 1.0 To: user@ofbiz.apache.org Subject: Re: Install location of OFBiz: still getting started ... References: <007d01cd6f58$a73647d0$f5a2d770$@gmail.com> In-Reply-To: <007d01cd6f58$a73647d0$f5a2d770$@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - serv01.siteground309.com X-AntiAbuse: Original Domain - ofbiz.apache.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - sandglass-software.com X-Filter-ID: XtLePq6GTMn8G68F0EmQvYAgAWPFUAzp+Jo6fAgZIhdAY1BaLfwb0I4SZzVEHfhbITx1A9a4ShBP XO22k6PcG9vw3bFrfR/R35m/4QCxhOcKJw9os7pOAJy3PJptvNliOaDDQrqTLLg7TJJTh+oGime4 1UXXkZSEr3vx13Xq4mMeXgg+F0PS3XR+z5fJoHHo24Df8NnLqtu7K/xVEnEVQlz1pRXWhjh9fdbl 44I0Df3GO0BFrBSJp++4bhEzJWD1JGDMKA2bdITQkm+LZkRLcjPy6sr7YIHeMaFND4pvr2lhexju k+m52LttQtfiBaljJVlOQkfSTehzeUOqk2GW9CbdWt+i1pM7TE5ZcsyL1XEMV8RZ1f+sC4R9XaFK zNcjx8MhVdnjNrMtDeUnf5rsJeVVprWk6e2FnZWZiddpTob5esMwHZ0UcWKpfUeNL9iSgfYumE0n /i6pveqC/4MYTRY1N6hZU6wYYkULfrq3LAtlkIArsaTcqIyZ6+FRZTWy/htfXRo32BPf2v5iiFqG jtR6u8WvGWcCYOm5mTJ7Vac1nULF6cLTPuGTIWdvJr0YASJFC/49WOPBr5nlEUI4xE3B4h0eZ7un m28gTMb3GifpBxmEo+eLgf7/VBa0J7x27kj6hCX2GnW0JcX+n3i5lDfbCCvyWcmizB4Mo3j2sSU= X-Originating-IP: 184.154.233.20 X-SpamExperts-Domain: siteground309.com X-SpamExperts-Username: 184.154.233.20 Authentication-Results: mailspamprotection.com; auth=pass smtp.auth=184.154.233.20 X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: CRM114 (15.2322) X-Recommended-Action: accept X-Virus-Checked: Checked by ClamAV on apache.org In this type of project, it doesn't work the same as a C++ library or similar. We have no idea what platform you plan to deploy on, and there are too many options to attempt a universal installation script. You can write a shell script to do an SVN checkout and build for the target server (pull the project to the server or push the project to the server). The same script could be used to remove unwanted files. If you want to remove the .svn folders from your deploy copy, you can use the SVN export command. -Adrian On 7/31/2012 9:11 PM, Ted Byers wrote: > When I install anything, I usually use sudo, at least in the final stages, > so that the end product can be installed in the right places (/etc, or /var > or /usr/local as appropriate for whatever I am building). And usually, when > I am building from source, only the binary products get moved to the final > destination (and in fact the build directory tree is in a different location > from the source directory tree), with make install moving the binaries > (libraries and executables) to the appropriate places and then cleaning out > intermediate build products and the source back in the original archive > (actually, I would edit the makefile to ensure the last two steps, but then > I can because I know how and because it is open source). > > > > On the machines on which I installed OFBiz, I had already installed the full > LAMP stack, including the Perl, Java and C++ connectors, and I did so using > YaST. > > > > But, at the end of the installation and setup/startup of OFBiz, I find that > nothing has gone into the usual places, but it is all in root. Obviously we > don't want it there, and we want a user specific to OFBiz that has only the > rights of a mere mortal rather than those of root. I saw the page about > running OFBiz as a server, and that talked about creating it's own user, but > there was nothing about where the source and build products ought to be > placed. > > > > Now, which I can do marvelous things using makefiles (including unit and > integration testing), I do not know ant at all, other than that it exists. > Thus, I do not know how to fix this. And, an ancillary question: Is there > in the OFBiz distro that one gets as trunk using svn, the equivalent of my > favourite and nearly ubiquitous makefile target: vis. 'check'. I always run > 'make check' when the developers of a product (usually C++ libraries I use > in my own development work) have been wise enough and considerate enough to > provide that target. If they haven't, then my number one task after > building the library is to begin building a proper test suite (but it is > rare that I have to resort to that). > > > > One last question about where things ought to go: As I had mentioned, I > already had he full LAMP stack, along with the Perl, C++ and Java > connectors, installed in their default places using YaST. It isn't clear > how to proceed, then, in setting up OFBiz to use MySQL. Yes, I saw the > instructions to copy the java connector into the OFBiz directory tree, but > the question is why, and why can it not build using the instance of the > connector in the default location for it in a system that already has it > installed? > > > > Thanks for your time. > > > > Cheers > > > > Ted > > > >