Commit Graph
87 Commits
Author SHA1 Message Date
Hans Bakker 1ce4f86892 change the component template to use the application decorator
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1163944 13f79535-47bb-0310-9956-ffa450edef68
2011-09-01 08:45:39 +00:00
Jacques Le Roux 1d99d76019 Dummy service to prevent empty files and syntax error - To be removes when the 1st real service will be added there
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1159080 13f79535-47bb-0310-9956-ffa450edef68
2011-08-18 08:25:35 +00:00
Hans Bakker 0a59303a34 remove the rest of the website definitions from seed data, the ones that are left are in the demo data
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1158099 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 03:43:06 +00:00
Jacques Le Roux fc5a14414d Accurate comments
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087877 13f79535-47bb-0310-9956-ffa450edef68
2011-04-01 20:07:44 +00:00
Jacques Le Roux 1c3fa1b852 Deletes all useless *.rej files generated by apply patches
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1087057 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 19:42:00 +00:00
Jacques Le Roux cb9ffa3654 Add a root.patch and allow to work correctly on Windows machines where patch.exe does not handle mixed EOLs (contrary to patch on Linux). This is due to SVN mixing EOLs when creating patches.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1084215 13f79535-47bb-0310-9956-ffa450edef68
2011-03-22 15:24:59 +00:00
Jacques Le Roux fffeffac59 * Remove "ofbiz-" from the component name, not really used anyway
* Allow to apply/reapply patches even when there are more than 3 patches in patches directory (it can be the case when you have other patches than those created with create-ofbiz-patches)

Note: the ant patch task will not work on Windows (diff in svn put Unix EOL into patch files), because there are no way to use the --binary parameter. So to have patches working in Windows you need to change their EOL to CR+LF (Eclipse, Notepad++ or Scite can do the trick)

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1083087 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 21:57:27 +00:00
Jacques Le Roux be618c46fc * Fixes some issues related to anchors syntax in some docbook help files
* Adds TheMarketingApplication anchor for https://cwiki.apache.org/confluence/display/OFBENDUSER/Apache+OFBiz+Business+Setup+Guide

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1073502 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 21:06:54 +00:00
Jacques Le Roux c2ea70f355 A slightly modified patch from Pierre Smits "Enhancement to create new tenants easier" (https://issues.apache.org/jira/browse/OFBIZ-3971) - OFBIZ-3971
This patch enables users to create new tenants via the ANT process.
Users can enter:
    * Tenant ID
    * Tenant Name
    * Data to load on creation of the tenant db (e.g.seed, seed-ext, demo)
    * Database Platform (Derby, MySQL, Oracle, PostgreSQL) remark: You can NOT mix platforms)
    * IP address of the database (you can add a port if needed)
    * User-ID for the database
    * Password for the database

Based on the data provided the process will:
    * Create a new row in the Tenant table
    * Create a new row in the TenantDataSource table
    * Create new tables in the new tenant database and fill with initial data (seed, seed-ext, demo)
    * Create a new admin id for the tenant (based on Tenant ID followed by '-admin')
    * Set the initial password for the tenant admin id (initial 'ofbiz', must be changed on first login)

This patch has been tested against: Derby, MySQL, PostgreSQL. This has not been tested against other db platforms.

Prior to running the ANT task the user
    * has to modify 'general.properties' in framework/common/config to reflect multi tenancy (multitenant=Y)
    * has to have appropriate db driver(s) in place
    * has to create the databases first in function of the entityengine.xml datasource-names (not for Derby, applicable for MySQL and PostgreSQL.)


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1065144 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 23:35:01 +00:00
Bruno Busco 29f5073de7 Better Italian labels
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1052890 13f79535-47bb-0310-9956-ffa450edef68
2010-12-26 14:28:16 +00:00
Jacques Le Roux 5df7d81104 A patch from BJ Freeman "Add help document (docbook) support to the create-component ant target" (https://issues.apache.org/jira/browse/OFBIZ-4070) - OFBIZ-4070
Creates the data/helpdata and document directories. Copy templates for each folder.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1051477 13f79535-47bb-0310-9956-ffa450edef68
2010-12-21 12:49:41 +00:00
Jacques Le Roux 9ef845d0ad A patch from BJ Freeman "complete web.xml for error reporting" (https://issues.apache.org/jira/browse/OFBIZ-3820) - OFBIZ-3820
BJ: when there is an error, the control servlet looks for an error path in <param-name>allowedPaths</param-name>
it does not find one throwing an exception which buries the orginal error.
instead of changing the code it is just easier to add the /error: path.
then the real error gets reported correctly.

JLR: This will maybe help to better understand some errors on demo servers, and can't hurt

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@954135 13f79535-47bb-0310-9956-ffa450edef68
2010-06-12 20:47:08 +00:00
Jacques Le Roux 47b0020afe A patch from Ankit Jain, removes useless redundant <request-map uri="authview">, it's now in the common controller(https://issues.apache.org/jira/browse/OFBIZ-3469) - OFBIZ-3469
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949142 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 10:30:46 +00:00
Jacques Le Roux 6193dd4e53 <author>None</author> is totally useless and we don't need an author OOTB
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949101 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:41:23 +00:00
Jacques Le Roux eccde35aa0 Do we really need to have an <owner> element there? At least OOTB it's always empty
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@949100 13f79535-47bb-0310-9956-ffa450edef68
2010-05-28 05:38:25 +00:00
Vikas Mayur 2d9fd7e6fb Removed unwanted newlines from the templates files.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@937961 13f79535-47bb-0310-9956-ffa450edef68
2010-04-26 08:22:57 +00:00
Scott Gray af7ea98d9c Removed a few extra spaces
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@929281 13f79535-47bb-0310-9956-ffa450edef68
2010-03-30 20:59:21 +00:00
Jacopo Cappellato 1a3a99c892 Improved template code for menu setup; thanks to Chris Snow for the patch (OFBIZ-3539)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@919425 13f79535-47bb-0310-9956-ffa450edef68
2010-03-05 14:09:40 +00:00
Ashish Vijaywargiya 5cbccfe029 Applied patch from jira issue OFBIZ-3509 - create-component ant task creates web.xml with hardcoded values of "example" for webSiteId and localDispatcherName.
Thanks Chris for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@916243 13f79535-47bb-0310-9956-ffa450edef68
2010-02-25 10:55:02 +00:00
Adam Heath 18d0ceeaf9 Remove most docs targets, they are all the same anyways.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894031 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:28:48 +00:00
Adam Heath 56dac0bf9e Add a classes target to common.xml, and switch most build.xml to use it.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894024 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:16:56 +00:00
Adam Heath 47b0a876ed Switch all javac15 to javac16.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@894022 13f79535-47bb-0310-9956-ffa450edef68
2009-12-26 22:12:04 +00:00
Jacques Le Roux 7befd1d25e no tabs but 4 spaces in code files (*.ftl, *.gro*, *.java, *.xml)
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804935 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 11:01:25 +00:00
Scott Gray 14baa87a47 Applied patch from Ashish Vijaywargiya, fixes a couple build issues with components created using ant create-component
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@804070 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 02:54:30 +00:00
Adrian Crum 84cfaf081b More Chinese translations, provided by Shi Yusen - https://issues.apache.org/jira/browse/OFBIZ-2767.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@799372 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 17:13:11 +00:00
Scott Gray e683a64fc5 Fix suite-name as reported by Vikas on the dev list
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772498 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 04:37:31 +00:00
Scott Gray 94618cdef3 Add a template for test definitions to the create-component ant target
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772481 13f79535-47bb-0310-9956-ffa450edef68
2009-05-07 00:54:43 +00:00
Scott Gray 93ed76bce9 Restored the forms template to its previous state and added a readme file describing the purpose of the templates directory
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@772468 13f79535-47bb-0310-9956-ffa450edef68
2009-05-06 23:58:35 +00:00
Hans Bakker 52d2a69415 empty template file put back, and added message and header, thanks Vikas for reporting
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771252 13f79535-47bb-0310-9956-ffa450edef68
2009-05-04 09:16:38 +00:00
Hans Bakker 71c58d0756 portal page generated menu changed other menus when cache was enabled, tabs for spaces and deleted empty forms file
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@771035 13f79535-47bb-0310-9956-ffa450edef68
2009-05-03 07:38:25 +00:00
Jacques Le Roux 999bd7c577 Fix following Chris Howe's message in dev ML
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@764195 13f79535-47bb-0310-9956-ffa450edef68
2009-04-11 13:00:24 +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
Jacopo Cappellato 35fd6a6814 ant targets to create/apply/revert patches for the framework, applications and specialpurpose: they are available in the ant script for auto generated hot-deploy components.
OFBIZ-2271
Thanks to Seema Tiwari & Ritika Somani for the patch.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@762757 13f79535-47bb-0310-9956-ffa450edef68
2009-04-07 13:03:22 +00:00
Bilgin Ismet Ibryam 7e7c1f375a Added an optional "name" attribute to event element in controller.xml This attribute is used only (also required) in events inside
firstvisit, after-login, before-logout, preprocessor and postprocessor elements. Events with same name will be overridden and only the last one will be executed. Overriding works also in cases when a controller.xml includes other controller files.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@761220 13f79535-47bb-0310-9956-ffa450edef68
2009-04-02 09:47:48 +00:00
Jacques Le Roux 66b80767e4 A patch from Bruno Busco "WebSiteId parameter description" (https://issues.apache.org/jira/browse/OFBIZ-2232) - OFBIZ-2232
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@751216 13f79535-47bb-0310-9956-ffa450edef68
2009-03-07 07:59:46 +00:00
Jacopo Cappellato 6f152e26ef Improved create-admin-user-login target.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741855 13f79535-47bb-0310-9956-ffa450edef68
2009-02-07 08:43:39 +00:00
Jacopo Cappellato 83ad2d2294 Ant target for the automatic creation of an ofbiz component in the hot-deploy folder.
ant create-component

You will be prompted for:
1) component name (e.g. "test")
2) component resource name (e.g. "Test")
3) webapp name (e.g. "testapp")
4) base permission (e.g. "TEST")

and the target will create the component in the hot-deploy folder.
Restart ofbiz and the new application will be up and running.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@741605 13f79535-47bb-0310-9956-ffa450edef68
2009-02-06 16:04:05 +00:00