Commit Graph
6 Commits
Author SHA1 Message Date
Jacopo Cappellato 3552f65800 Merged json-integration-refactoring into trunk:
* moved the json-lib jar (json-lib-2.2.3-jdk15.jar) from the framework/webapp to the framework/base component
* removed the SQL select Parser.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code
* removed the JSON.jj (parser definition) and its unit tests: it was not used (and never used) by any OFBiz code apart from the JSON Converters (now migrated to json-lib, see next items in this list) some utility methods in UtilIO.java (that have been removed too because they have never been used in OFBiz) 
* removed the JavaCC jar and related ant scripts because no more needed after the removal of Parser.jj and JSON.jj
* converted the JSONConverter code that was based on JSON.jj to Jackson
* added a new class org.ofbiz.base.lang.JSON that have been contributed by Adrian Crum that is a facade for simplifying the client code and for hiding the specific JSON library being used
* removed an unused method: ImageManagementServices.toJsonObject(...)
* added TestBooleanConverters to the list of tests
* new unit tests for the new JSON converters
* refactored Ajax code in applications to use the common request json response rather than a custom method
* OFBIZ-5790 Implemented ability to call a service event by passing its input parameters in the request body as JSON data. These classes provide a simple mechanism, based on the request's content type, that can be extended to support other formats (e.g. XML).

This commit resolves OFBIZ-4572, OFBIZ-3365, OFBIZ-5751, OFBIZ-5790



git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@1635901 13f79535-47bb-0310-9956-ffa450edef68
2014-11-01 09:06:42 +00:00
Adam Heath 08197bc0d6 Whoops; this didn't work when it was used from a parent build.xml,
and recursed into a sub build.xml.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708775 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 04:49:39 +00:00
Adam Heath b32378737b Finish feature integration; the ofbiz-jjtree task now works.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708760 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 03:22:05 +00:00
Adam Heath e8ba1f34d8 Add javacc, with support script.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708734 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 00:05:36 +00:00
Adam Heath 658136e0e4 Add the standard license header.
git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708730 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 23:52:44 +00:00
Adam Heath a60909100b Add a new ant task, <if><condition/><commands/><else/></if>, since
ant itself doesn't support such a construct.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@708699 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 22:08:24 +00:00