Commit Graph
91 Commits
Author SHA1 Message Date
Adam Heath 9a77a067db Remove debian/orig-work, which is used by the make-orig target.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917701 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 20:35:53 +00:00
Adam Heath 7dad24f918 Fix init script stop, to wait for jsvc to actually finish running. This
fixes a race condition that can occur under load, where ofbiz is not
listening on the status port, but jsvc is actually still running.  This
would cause the pid file to exist, but then get removed by jsvc before
the init script could remove it itself.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@917622 13f79535-47bb-0310-9956-ffa450edef68
2010-03-01 18:09:52 +00:00
Adam Heath 27905db1fc Should not have been added.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907568 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 07:22:37 +00:00
Adam Heath 7dd7b4bff6 Add license header to several files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@907566 13f79535-47bb-0310-9956-ffa450edef68
2010-02-08 07:19:38 +00:00
Adam Heath 92cd6219c0 Birt has some directories that end with .css, so protect the css
conffile management with a -f test.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@902017 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 07:37:00 +00:00
Adam Heath 2e11152f1e Bump debian policy Standards-Version to 3.8.3.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901958 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 01:20:22 +00:00
Adam Heath a4c98a3b85 Create runtime/uploads correctly.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@901954 13f79535-47bb-0310-9956-ffa450edef68
2010-01-22 00:59:14 +00:00
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 0837b2ee5a Need to change the database for the default-no-eca delegator as well.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@820807 13f79535-47bb-0310-9956-ffa450edef68
2009-10-01 21:32:10 +00:00
Adam Heath aa9da17cc7 Add support for making the orig.tar.gz when using git locally.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@815852 13f79535-47bb-0310-9956-ffa450edef68
2009-09-16 15:59:44 +00:00
Adam Heath ce4e690d45 Fix cut-n-paste error in last commit.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811564 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:45:53 +00:00
Adam Heath 82fb514daa Add changelog entries for recent debian script tweaks.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811561 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:41:57 +00:00
Adam Heath 2481e17a79 Increase start timeout from 40 seconds to 120.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811560 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:41:14 +00:00
Adam Heath 1e926c0e21 Let ucf use debconf.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811558 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:36:02 +00:00
Adam Heath f5c298416c When stopping, don't print anything from the ofbiz.jar.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811548 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 21:01:09 +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 3a93e9253f Don't have per-package var folders.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811544 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 20:48:47 +00:00
Adam Heath fd45f0e8e2 Fix bashism.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@811543 13f79535-47bb-0310-9956-ffa450edef68
2009-09-04 20:48:05 +00:00
Adam Heath ec67834e30 Don't install upstream's debian rc file into /usr/share/ofbiz.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790248 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 16:17:18 +00:00
Adam Heath 108d1ffbc6 Ignore .gitignore too.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790247 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 16:16:16 +00:00
Adam Heath 6541b1c6b8 Fix lintian warnings.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790242 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 16:00:18 +00:00
Adam Heath f88c55dd1b Ignore git files when processing.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790223 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 15:43:22 +00:00
Adam Heath 9120ad81cf Add several license headers.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@790032 13f79535-47bb-0310-9956-ffa450edef68
2009-07-01 03:54:01 +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 5c934de399 I was confused about how to configure this file initially; the master
should not have all the fields set to something sensible.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@779662 13f79535-47bb-0310-9956-ffa450edef68
2009-05-28 16:47:02 +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 ce26a49435 The admin-user prompt is now a high priority.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766248 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:37:07 +00:00
Adam Heath 21c5f418e8 Move the setting of cmd to right before the case.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766247 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:36:32 +00:00
Adam Heath 590f63687e There is no longer any funky jumping around with the STATE, so NEXT
is no longer needed.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@766245 13f79535-47bb-0310-9956-ffa450edef68
2009-04-18 06:35:45 +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
Adam Heath b284557d7a Specialpurpose doesn't really need to depend on the ofbiz meta
package.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@765768 13f79535-47bb-0310-9956-ffa450edef68
2009-04-16 21:31:51 +00:00
Adam Heath 329afa002d Add new item, about sequence id prefix prompting.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764954 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 21:08:59 +00:00
Adam Heath b5e62ba8f3 Rotate console log daily, and keep 60 of them.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764953 13f79535-47bb-0310-9956-ffa450edef68
2009-04-14 21:06:28 +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