Clone Tools
  • last updated 18 mins ago
Constraints: committers
Constraints: files
Constraints: dates
Reverted: "Improved: Use ‘depends-on’ attribute instead of “component-load.xml”" (OFBIZ-11296)

This reverts commit eeabe69813a1d9f42911dec70a912574046ef49b.

  1. … 24 more files in changeset.
Improved: Use ‘depends-on’ attribute instead of “component-load.xml” (OFBIZ-11296)

We currently have two ways to define component loading order. Either

by using ‘depends-on’ attribute in “component-config.xml” or by adding

a “component-load.xml” file at the root of a component directory.

“depends-on” is more flexible because it handles partial ordering when

“component-load.xml” defines a total order which is not necessarily

meaningful, so it is better to rely only “depends-on”.

This removes the usage of “component-load.xml” to use ‘depends-on’

instead. The dependency declarations correspond to the total ordering

previously defined but will need to be refined in the future to relax

unnecessary dependency declarations.

Only “framework/base/config/component-load.xml” which defines the

top-level directories order (framework, applications, themes and

plugins) is kept.

  1. … 24 more files in changeset.
Removed images from framework component-load.xml as we moved images into common-theme.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

Improved: Removed the "geronimo" component and moved GeronimoTransactionFactory into the "entity" component. (OFBIZ-8179)

Without functional changes, this design removes a cyclic dependency between the "entity" and "geronimo" components.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 4 more files in changeset.
Moved to the Attic the framework/sql component. The framework/sql was an attempt to create a specialized SQL parser for the OFBiz entity engine. The idea was to use a standardized SQL string that the parser would convert to entity conditions and Delegator calls. So, you could use the same SQL string on any database. The component was never finished.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 67 more files in changeset.
Moved the "bi" component from the framework to the specialpurpose folder; moved all the dependencies (client code) on the "bi" component from applications components to the "bi" component itself. Now the "bi" component contains all the dimensions/facts/star schemas and all the logic to populate them and can be easily enabled/disabled.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 78 more files in changeset.
Moved Jetty component from framework to specialpurpose

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 45 more files in changeset.
Moved the appserver component from framework to specialpurpose.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 92 more files in changeset.
A rather important refactoring of service related code: * new factory interface for LocalDispatcher objects * new factory implementation of GenericDispatcher * new ServiceContainer container that initializes the factory (based on a configuration parameter) * moved the getLocalDispatcher method out of GenericDispatcher and refactored (in a thread safe way) into ServiceContainer/GenericDispatcherFactory * ServiceContainer also maintains the cache of LocalDispatchers that was managed by GenericDispatcher * added code to ServiceContainer to deregister LocalDispatchers at shutdown: this finally fix the current code that was broken because the thread pool maintained by the JobPoller was never closed because of an issue with LocalDispatchers not being deregistered when not started by the ContextFilter * change all code to call the ServiceContainer rather than GenericContainer to get a LocalDispatcher: now the implementation is no more directly referenced by calling code

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 24 more files in changeset.
Moved the "birt" component out of framework to specialpurpose; moved all the birt reports from the applications to the birt component itself, where the application webapps are overriden to inject the reports; the end result is the same but since all these birt reports are simply a proof of concepts that cannot be used in production (for example they use hardcoded userlogin for authentication) the birt component should be probably disabled by default (but this will be discussed in the dev list). Now it will be very easy to extract the birt component (for OFBiz Extras) or to disable it when deploying to production or when interested in sparing some hardware resources. I did some cursory tests but since the work has been challenging and rather complex I would appreciate testing help and also reviews to finds chunks of code that I could have missed and that could be moved out as well.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 223 more files in changeset.
As discussed in the dev list, removed the experimental jcr component; its development will continue in the proper branch.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 81 more files in changeset.
Moves guiapp component inside POS component


git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 24 more files in changeset.
Moving example* applications to specialpurpose OFBIZ-4790

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 165 more files in changeset.
CVE-2012-1621: Removed the Webslinger component and all the framework dependencies on it; the reasons for this * no active committer was maintaining the webslinger component * the component was experimental and not really used by OFBiz * the component was really big (lot of jars etc...) and we are trying to slim down the OFBiz framework and keep only the essential/useful features * this fixes a security issue reported to the OFBiz PMC

The only Webslinger feature used by the OFBiz framework was the "service debug mode" (enabled by default with the property servicedispatcher.servicedebugmode): I have considered to keep it but it was impossible because it relied on Webslinger legacy code (in the org.webslinger.invoker.* package) that was never contributed as a source file to the OFBiz project; I have tried to review the source file from an external Webslinger repo but I couldn't find them; the only site about Webslinger I could find is this:

but the svn resources mentioned there are broken. The fact that the OFBiz frameework was dependent (for a feature useful only in development mode) on an external project that doesn't publish its source code (at least in an easy to find location) convinced me that it was better to clean up the dependency completely; on the bright side OFBiz should now use less memory.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 100 more files in changeset.
Reintegrating the Jackrabbit Development branch into the turnk. The Merge contains the basic integration of jackrabbit into ofbiz and provides a simple API for further development.


API for easy CRUD operations


Multi Language Support

Object Content Mapping

Sample Implementation in Example Area

See this merge as first step. The development is still in progress but this is the stable starting point for all feature developments.

Detailed description can be found in the Wiki:

For any questions, requests, issues use the jira post:

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 82 more files in changeset.
Fix framework/base tests that were not running. Patch from Bob Morley with a few changes by me -

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 2 more files in changeset.
Merge birt branch 831204:886087 and 831209:885099. A contribution by Antwebsystems employee Chattree

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 566 more files in changeset.
Very large update. SQL parser is fairly generic now. Can parse sql that is compatible with features used by ofbiz. Has support for DELETE, INSERT, INSERT SELECT, SELECT, UPDATE, and VIEW.

Modified the delegator side of the above to handle the new

interfaces. Now supports complex alias. Only SELECT is supported,

and the parseCondition code is disabled for the time being.

The plan(sic) here is to obviously support the other sql statements.

Then, to have a jdbc wrapper around all this, so external tools, that

only know how to talk jdbc, can actually talk directly to the


Plus, many more people can understand sql syntax. This allows them

to do things with ofbiz, that they would find much more difficult if

they had to write <view-entity> definitions.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 58 more files in changeset.
Reverted changes to the trunk from r833294 that appear to have been intended for the birt branch

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
1. fix framework for using jsp tag in freemarker. 2. change order building birt component to after common component in framework/build.xml file 3. specific birt container before beanshell container in framework/base/config/ofbiz-containers.xml file 4. specific loading birt component after bi component in framework/component-load.xml 5. list all birt's jar files that have Eclipse Public License - v 1.0 in LICENSE file 6. change example report's path in mail form's tooltip. 7. delete four duplicated jar files. - framework/birt/lib/axis.jar - framework/birt/lib/commons-discovery-0.2.jar - framework/birt/lib/axis-ant.jar - framework/birt/lib/commons-cli-1.0.jar

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
reverted some unwanted changes

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 2 more files in changeset.
start forward and reply with status pending

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
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

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: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 2212 more files in changeset.
Add the webslinger component to the build script and startup.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 1 more file in changeset.
Moved the bi component from specialpurpose to the framework folder; moved artifacts from the bi component to the proper components. Everything should be in place now, except for a convenience service (in the bi component) that quickly initializes the datawarehouse for demo purposes: this service calls two services from the applications (wrong dependency); I will fix this soon by moving it in some other places... however it is not a big deal for now because the service is really only useful to quickly test the prototype.

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 72 more files in changeset.
Finally deprecating the old workflow engine which hasnt been used in years; moving it to the specialpurpose directory and have pulled out the order task list stuff in the order manager that used to use it and though that stuff still exists the controller entries and such are in comments in the screen def file; also moved shark to the specialpurpose directory as it is also rarely used and is not used in any OFBiz applications as it requires LGPL libraries, among other issues that leave it short of complete

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 325 more files in changeset.
Make all paths in these files relative; they no longer include ${ofbiz.home}. Closes:

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 3 more files in changeset.
Some improvements to the example component, and added an exampleext component which extends the example webapp to demonstrate extension and overide mechanisms; note that this works except for menu extension which doesn't appear to be working on the framework level

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 15 more files in changeset.
Did a big search/replace to change all xsd file refs from to

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 633 more files in changeset.
Revert shark enabling changes commited by error with update of ASL2 headers

git-svn-id: 13f79535-47bb-0310-9956-ffa450edef68

  1. … 4 more files in changeset.