No functional change, fixes a typo while at it

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1578013 13f79535-47bb-0310-9956-ffa450edef68
Adds new ant targets to handled patching in projects which use different staging areas.

In create-component ant target at r1150560+1571994+r1571996 I added staging, qa and production sub-folders under patches folder.

The reason is to allow to put there patches for different staging areas where URLs and other parameters vary.
Then I did not add related ant targets to allow patching the corresponding OFBiz instances in the different staging areas servers.
Also I wrongly named the "test" area "staging".

Let me explain quickly how it supposed to work. You have:
1) A "dev" environment/area (most of the time on developers own machines) where the development is done, maybe using Derby DB for instance. Anyway an area where all production constraints are not yet taken into account.
2) A "test" area, something like the "dev" area but with a different environment (clustered, not the same DB, etc.) something not yet similar to production but near. Because most of the time you don't have yet a production area ready when you begin to test. This area remains in the hand of developpers. Load tests for instance can be done there.
3) A "QA" area, this comes later and is a duplicate of the production area where all tests are finally done. It's in the hand of QA engineers who qualify/guarantee the development to be production ready.
4) A "production" area, this is the latest stage available when the development is production ready (though it might appears before QA sometimes when the shareholders are in a hurry...). It's in the hand of sysops (or devops if you prefer).

So this patch adds the "build-test", "build-qa" and "build-production" targets in the main build.xml file. For the purpose of adapting the areas when building they calls the main build targets, but the build target does not depend on them, so can still be used w/o them. They complete the "create|apply|reapply|revert-ofbiz-patches" targets which target only the "dev" area or can be used in an early stage of the development, notably on dev machines.

Those targets depends on the "prepare-to-build-dev", "prepare-to-build-test", "prepare-to-build-qa" and "prepare-to-build-production" targets in common.xml. Themselves relying on the macro "apply-patches". 

The "prepare-to-build-qa|production" have something specific. When you maintain URLs and misc. parameters variation inside properties files, it's often easier to directly maintain those files and copy them over in those areas than maintaining/updating patches for them which can be a repetitive and tedious task...

Moreover, sometimes you don't even create any hot-deploy components (eg. some projects might use OFBiz as a web services API). Then currently you don't have an easy way to keep your OFBiz working copy free from modifications (which could else been put in one of your hot-deploy components patches directory, which is anyway not very logical). So I created another ant target "build-dev", it's purposely independent of any other target but relies on the content of a new runtime/patches folder where "core" patches (those which change OFBiz as it's OOTB)are supposed to be.

These changes add new possibilities but don't change the way things were done so far. So you can use them or not depending on your needs. The idea for the new "build-dev" ant target is to keep patches with features separated (ie grouping different files changed in a patch), but you can, or may have to, do it on a file level, notably when 2 or more features impact the same file...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1578621 13f79535-47bb-0310-9956-ffa450edef68
This should fix (and hopefully make it more readable) the code that was supposed to handle payment to invoice applications with different currencies but it was broken: see the bug report by Adrian Stern OFBIZ-5576.
The fix is in the spirit of the original code that is handling the fields Payment.actualCurrencyUomId and Payment.actualCurrencyAmount: however in my opinion this is a wrong design; unfortunately I don't have time now to refactor this code.
 


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579155 13f79535-47bb-0310-9956-ffa450edef68
Updated Copyright year.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579161 13f79535-47bb-0310-9956-ffa450edef68
Minor change to avoid adding to the logs the empty error/failure lists (in case of no errors/failures).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579240 13f79535-47bb-0310-9956-ffa450edef68
A patch from Antoine Vittecoq for "Form widget/ FTL pagination, Last does not take to last page" https://issues.apache.org/jira/browse/OFBIZ-5575

This issue in pagination can be tested in https://localhost:8443/partymgr/control/findparty (FTL) & https://localhost:8443/webtools/control/FindUtilCache?VIEW_SIZE_1=2&VIEW_INDEX_1=0 (XML Form).


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579277 13f79535-47bb-0310-9956-ffa450edef68
A patch from Pierre Smits for "israeli currency apear twice" https://issues.apache.org/jira/browse/OFBIZ-5586 (reported by Amit Cahanovich)

In the file ./framework/common/data/CurrencyData.xml there are two records for israeli currency ILS (israeli sheckel) and NIS (new israeli Shekel).
ILS record need to be removed, its was replaced by NIS 30 years a go.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579309 13f79535-47bb-0310-9956-ffa450edef68
A patch from Chatree Srichart for "BIRT Web Viewer Integration" https://issues.apache.org/jira/browse/OFBIZ-4952

Chatree Srichart:
I have created a patch to solve a viewer servlet problem and uncomment the viewer servlet in the birt webapp. To do this will allow a user to use BIRT Web Viewer to render a report by coping a webcontent directory from birt-runtime-x_x_x/WebViewerExample directory and paste into the birt webapp directory ($OFBIZ_HOME/specialpurpose/example/webapp/birt).

These are URLs to render example reports using BIRT Web Viewer.
http://localhost:8080/birt/frameset?__report=component://example/webapp/birt/report/example.rptdesign
http://localhost:8080/birt/frameset?__report=component://example/webapp/birt/report/chart.rptdesign

jleroux: a more detailled documentation is available at https://cwiki.apache.org/confluence/display/OFBIZ/Using+BIRT+with+OFBiz

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579356 13f79535-47bb-0310-9956-ffa450edef68
A patch from Chatree Srichart for "BIRT Web Viewer Integration" https://issues.apache.org/jira/browse/OFBIZ-4952

jleroux: Oops forgot to commit the unversioned files

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579359 13f79535-47bb-0310-9956-ffa450edef68
LICENSE update for r1579359 and the new "BIRT Web Viewer"

While at it I also added specialpurpose/birt/lib/org.eclipse.*.jar 

It seems more is needed like for org.w3c.*.jar. But since I'm unsure of the license for these files, if others are also missing and which files are really concerned I let Hans, who initially committed Birt, take care of it.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579602 13f79535-47bb-0310-9956-ffa450edef68
Reverts r1579602, completly forgot we have now also a LICENSE file for specialpurpose

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579607 13f79535-47bb-0310-9956-ffa450edef68
LICENSE update for r1579359 and the new "BIRT Web Viewer"


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579609 13f79535-47bb-0310-9956-ffa450edef68
I noticed that ant-clean all was not cleaning the crowd build dir. While at it I alphabetically sorted the list and spotted a missing comma after webpos/build.xml

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579750 13f79535-47bb-0310-9956-ffa450edef68
Just spotted that for a reason crowd/build.xml can't be used there. I will check later...

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1579808 13f79535-47bb-0310-9956-ffa450edef68
Merges trunk HEAD in SEO branch

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/OFBIZ-5312-ofbiz-ecommerce-seo-2013-10-23@1580328 13f79535-47bb-0310-9956-ffa450edef68