Actually, with the component loader the components can be anywhere.
They don't have to be under the ofbiz directory. The home directory
will always be "ofbiz.home", that is the name of the Java env var
that is populated with it.
-David
On Aug 13, 2006, at 1:59 PM, BJ Freeman wrote:
Ok so you meant in any folder under the Ofbiz_home folder. or is
that now going to be ApacheOfizFrameWork_Home.
David E. Jones sent the following on 8/13/2006 12:46 PM:
I think I see what you mean... When I wrote "drop their apps into
the framework" I was not referring to the framework directory, but
rather to the Apache OFBiz Framework, which is everything in SVN
except the "applications" directory.
So no, this doesn't mean any change in patterns of where to put
your add-in components. They can go in the hot-deploy directory,
or anywhere you want to put them and then refer to them from the
component-load.xml.
-David
On Aug 13, 2006, at 1:34 PM, BJ Freeman wrote:
You statement about dropping applications in the Framework.
Does that mean we will put the applications in the framework,
like use to be when the applications and framework were all in
the components folder, way back?
David E. Jones sent the following on 8/13/2006 12:17 PM:
You lost me... could you re-phrase the question?
-David
On Aug 13, 2006, at 9:33 AM, BJ Freeman wrote:
clarification:
[For those who want to just drop their app into the framework,
you can now run just about everything even if the applications
directory is not there,]
So are you saying that the application, as such will be now be
put into the framework folder, like they use to be in the
components folder.
David E. Jones sent the following on 8/13/2006 12:23 AM:
Hello all,
In preparation for doing a release candidate, and later a real
release (soon after incubator graduation), I did a bit of work
to make it possible to run the framework without the
applications directory.
This included a new little feature in the entity engine to be
able to extend entities defined elsewhere using the "extend-
entity" tag. There were also a few things moved from
applications to framework, and from framework to applications.
This included some important things to note that have changed:
- control servlet request events (mainly checkLogin, login,
logout, checkExternalLoginKey, etc) are now in:
org.ofbiz.webapp.control.LoginWorker
- the LoginEventListener (referred to in web.xml files) is now
here: org.ofbiz.webapp.control.LoginEventListener
These have been updated in all of the files in OFBiz so
everything should be working fine... If you run into anything
please let me know and I'll look into it right away!
For convenience (and since doing search and replace it's not
really any extra work... ;) ) attached are some patches for
the financials and crmsfa modules.
This gets us pretty close to ready to do a complete release
and a separate framework-only release. For those who want to
just drop their app into the framework, you can now run just
about everything even if the applications directory is not
there, with exception of a few pages like the entity
performance tests in WebTools that refer to the Party and
Product entities and need to be changed, probably to point to
the Example and such entities.
-David