Commit Graph
32 Commits
Author SHA1 Message Date
Adam Heath f949f92e57 Create runtime/uploads correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835108 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 22:40:51 +00:00
Adam Heath 7e450f6235 Create runtime/uploads correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@835092 13f79535-47bb-0310-9956-ffa450edef68
2009-11-11 21:58:58 +00:00
Adam Heath 5cfcbba9d3 Chown debconf.cfg after the ofbiz group is created.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811545 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 20:50:21 +00:00
Adam Heath c9e47fe629 Major reworking; applications and specialpurpose now trigger
framework.  Start working on supporting the new postgres field type
mapping.  A few other minor improvements.

At this point, the 3 packages can be installed separately, or
together, and you'll get just what you want.  Yes, this means that
ofbiz-framework is stand-alone now.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790024 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 02:27:18 +00:00
Adam Heath 46a201affd The admin port, and admin key, are now saved in a config file, and
no longer passed on the ofbiz command line.  Additionally, the port
can be changed during install.  Plus, the admin key is randomized to
something different, if it isn't already set during an install or an
upgrade.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766249 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:39:34 +00:00
Adam Heath fd74a3f5c3 Remove commented out $tempfile removal line.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766244 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:34:29 +00:00
Adam Heath b26ab3696a Forgot to remove the ofbiz_readers conditional in configure_ofbiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766243 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:33:39 +00:00
Adam Heath 74f6289935 No longer prompt whether to reimport data, nor which reader to
import.  seed is always imported when ofbiz packages get installed/
upgraded.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766242 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:32:43 +00:00
Adam Heath 07cdc79267 ofbiz_admin_port is never used(at least not yet), so remove it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766240 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:25:48 +00:00
Adam Heath 77dd3fbf49 No longer find and change the default ofbiz test email and admin
login password.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766239 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:22:23 +00:00
Adam Heath b204aae7ca Prompt for the initial admin login account's name.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766235 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:15:52 +00:00
Adam Heath 695e25bf15 Create the initial admin login account. The userLoginId is
hard-coded for now, but that will change soon.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766232 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:12:32 +00:00
Adam Heath 550dd252d6 Add support for sub-packages to install/update extra data, by dropping
an ofbiz data xml file in /var/lib/ofbiz/import.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766230 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:10:15 +00:00
Adam Heath 7f7255ecf0 Remove ofbiz-upgrade trigger support; all packages now activate
ofbiz-install trigger, and each package must stop ofbiz itself.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766227 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:05:15 +00:00
Adam Heath f69c88988c Rename the auto-managed dbconfig-common config file from debconf.cfg
to dbc-debconf.cfg.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766224 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 05:57:07 +00:00
Adam Heath acb0bd37e6 Put /usr/share/ofbiz into OFBIZ_HOME.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766223 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 05:53:31 +00:00
Adam Heath 13498fe96c Protect dpkg-statoverride call on /var/lib/ofbiz, incase it's already
been done.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766222 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 05:51:48 +00:00
Adam Heath 374f5a9ea8 Redirect dd output to /dev/null.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766218 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 05:36:06 +00:00
Adam Heath 5fa0bf5bcb Combine start_ofbiz and stop_ofbiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766216 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 05:31:45 +00:00
Adam Heath e3738bbe85 Trigger support is working much better now.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765771 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 21:33:58 +00:00
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00
Adam Heath ebab10ece3 Start making use of dpkg triggers, so that ofbiz only gets stopped/
started once per dpkg run, and so that installation is delayed to
the end of the dpkg run as well.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@753322 13f79535-47bb-0310-9956-ffa450edef68
2009-03-13 17:27:18 +00:00
Adam Heath dce3024f10 Remove disabled block that deal with debconf.cfg.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750209 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 22:46:51 +00:00
Adam Heath 81143700d4 Explicitly stop/start the ofbiz daemon, instead of letting debhelper
do it.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750207 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 22:44:36 +00:00
Adam Heath 827f2005b5 Vim's syntax highlighting is a little stupid, add some quotes so it
is no longer confused.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@750196 13f79535-47bb-0310-9956-ffa450edef68
2009-03-04 22:33:36 +00:00
Adam Heath 03793c4953 $extra has " in it, so we need to use eval to run it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749835 13f79535-47bb-0310-9956-ffa450edef68
2009-03-03 23:19:33 +00:00
Adam Heath 1b3221b275 Set the shell for the ofbiz user to /bin/sh.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749159 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:16:33 +00:00
Adam Heath 3f96d79f82 Remove upgrade support, these still aren't really official.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749158 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 03:15:50 +00:00
Adam Heath ca4eb13966 Set the permissions on the ofbiz home dir so that it is writable by
the correct user.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@749153 13f79535-47bb-0310-9956-ffa450edef68
2009-03-02 02:54:24 +00:00
Adam Heath 5281c06325 Depend on openjdk-6-jdk, instead of the sun variant; these packages
could now go into main.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718657 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 17:18:56 +00:00
Adam Heath 9a7763dae4 The ofbiz-framework.deb is now installable; upgrades are *not*
handled.  Instaling -applications or -specialpurpose, or any other
package that drops into hot-deploy is not yet supported; namely, the
extra seed/demo data won't get installed, and the daemon won't be
restarted.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718535 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 09:45:52 +00:00
Adam Heath 6c4f9b1c94 Preparing the helper scripts and files for framework.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@718511 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 06:58:40 +00:00